Documentation

Connect any MCP client to your MCPHub endpoint in a few minutes.

Quickstart

Create a workspace, generate an API key from the dashboard and copy the secret — it is shown once. Your endpoint is available at https://api.mcphub.dev/mcp with a bearer token.

curl https://api.mcphub.dev/mcp \
  -H "Authorization: Bearer mcph_live_..." \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'

Claude Desktop

Open Settings → Developer → Edit Config and add MCPHub as an HTTP server. Restart Claude Desktop; your tools appear in the composer.

{
  "mcpServers": {
    "mcphub": {
      "type": "http",
      "url": "https://api.mcphub.dev/mcp",
      "headers": { "Authorization": "Bearer mcph_live_..." }
    }
  }
}

Calling a tool

Tool calls follow the MCP tools/call shape. Every call is authenticated, rate limited against your plan, metered in credits and written to your request log.

{
  "jsonrpc": "2.0",
  "id": 2,
  "method": "tools/call",
  "params": {
    "name": "web_search",
    "arguments": { "query": "model context protocol" }
  }
}

Errors and limits

401 means the key is missing, revoked or expired. 429 means the plan's rate limit or monthly call quota is exhausted — top up credits or upgrade. 403 means the tool is not enabled for your plan.

{
  "jsonrpc": "2.0",
  "id": 2,
  "error": { "code": -32003, "message": "Rate limit exceeded" }
}