MCP Gateway

Model Context Protocol Server — Connect AI agents to tools

Checking…
Base URL
https://mcp.tayyabcheema.com
SSE endpoint: /sse

Available MCP Tools

Browse tools available through this MCP gateway. Each tool can be connected via the SSE endpoint.

Loading tools…

API Key Management

Generate and manage API keys for accessing MCP tools. You need a Master Key to create keys.

Existing Keys

Enter your master key above and click "List Keys" to view existing keys.

Connect Your AI Agent

Select your AI coding assistant to get the configuration snippet. Add your API key where indicated.

Qwen Code

CLI agent by Alibaba

Claude Code

Anthropic's CLI agent

Codex CLI

OpenAI's CLI agent

Gemini CLI

Google's CLI agent

API Documentation

Authentication

All MCP endpoints require an API key passed via the Authorization header:

Authorization: Bearer mcp_your_api_key_here

Or as a query parameter: ?api_key=mcp_your_api_key_here

Endpoints

MethodPathAuthDescription
GET/sseRequiredSSE transport endpoint for MCP clients
POST/sse/messagesRequiredSend MCP messages via SSE
GET/api/toolsRequiredList all available tools with metadata
GET/api/tools/smart?q=...RequiredSmart tool selection based on task description
GET/api/pingPublicHealth check
POST/api/keysMasterGenerate a new API key
GET/api/keysMasterList existing API keys
DELETE/api/keys/:prefixMasterDelete API keys by prefix

Smart Selection

Send a task description to /api/tools/smart?q=your+task+here and get back a ranked list of relevant tools with scores. This helps AI agents minimize context window usage by connecting only the tools they need.

GET /api/tools/smart?q=read+the+package.json+and+update+dependencies
Authorization: Bearer YOUR_KEY

Response:
[
  { "name": "filesystem", "category": "filesystem", "description": "...", "score": 8 },
  { "name": "shell", "category": "shell", "description": "...", "score": 4 }
]

MCP Protocol

This server implements the Model Context Protocol via SSE transport. Any MCP-compatible client can connect to https://mcp.tayyabcheema.com/sse with an API key.

For local development, you can also run the server in stdio mode: node server.js