MCP Gateway is available on Portkey Cloud. For the complete setup guide, see portkey.ai/docs/product/mcp-gateway/quickstart.
Overview
The MCP Gateway lets you connect any MCP-compatible client to your MCP servers through a single, authenticated endpoint hosted by Portkey. You configure which servers are accessible, define access policies, and every tool call is logged automatically.Prerequisites
- A Portkey Cloud account (free tier available)
- At least one running MCP server
- An MCP-compatible client: Claude Desktop, Cursor, or VS Code
Steps
Create a Portkey account
Sign up at app.portkey.ai. The free developer tier includes MCP Gateway access.
Register your MCP servers
In the Portkey dashboard, navigate to MCP Gateway and add your MCP server endpoints. Each server gets a unique name that clients use to identify it.You can register any publicly reachable MCP server, or use a tunneling tool like
ngrok to expose a local server during development.Generate a gateway URL and credentials
Portkey generates a unique MCP Gateway URL and API key for your workspace. Clients connect to this URL instead of connecting directly to your MCP servers.
Configure your MCP client
Update your MCP client to point at the Portkey MCP Gateway URL instead of each individual server.
Test with a tool call
Ask your AI assistant to use a tool from one of your registered MCP servers. The request flows through the Portkey MCP Gateway:
- Client sends the tool call to the Portkey MCP endpoint
- Gateway authenticates the request using your API key
- Gateway checks the access policy
- Gateway forwards the call to the appropriate MCP server
- Response is returned to the client
- The tool call is logged in your Portkey dashboard
Next steps
Authentication
Configure authentication methods for the gateway.
Access control
Restrict which users and teams can access which servers and tools.
Observability
Explore logs, filtering, and integration with external tools.
Full documentation
Complete MCP Gateway reference on portkey.ai.