MCP ConfigsMay 12, 2026·2 min read

MCP Gateway — Route and Manage MCP Servers

MCP Gateway is a .NET-based gateway that helps you deploy, route, and manage MCP servers behind a unified API surface, with local and Azure paths.

Agent ready

This asset can be read and installed directly by agents

TokRepo exposes a universal CLI command, install contract, metadata JSON, adapter-aware plan, and raw content links so agents can judge fit, risk, and next actions.

Native · 94/100Policy: allow
Agent surface
Any MCP/CLI agent
Kind
Mcp
Install
Single
Trust
Trust: Established
Entrypoint
openapi/mcp-gateway.openapi.json
Universal CLI install command
npx tokrepo install a838f642-0c9f-4cc6-9037-7298e73201fe
Intro

MCP Gateway is a .NET-based gateway that helps you deploy, route, and manage MCP servers behind a unified API surface, with local and Azure paths.

  • Best for: platform teams who need a managed gateway for multiple MCP servers
  • Works with: Docker, Kubernetes, .NET 8; MCP server images; clients consuming a unified API
  • Setup time: 45–120 minutes

Practical Notes

  • Quant: start with 1 sample MCP server image and measure rollout time end-to-end.
  • Quant: define SLOs (p95 latency, error rate) for gateway vs direct stdio usage.

Pattern: separate tool hosting from tool use

A gateway becomes useful when you have multiple MCP servers and multiple clients.

Operational guidance:

  • Treat MCP servers as deployable artifacts (images) with versioning.
  • Use the gateway as the control plane for discovery and routing.
  • Keep auth/network policies at the gateway boundary.

Migration tip

Start by routing a single non-critical tool through the gateway, then expand coverage once observability and failure handling are solid.

FAQ

Q: Is this only for Kubernetes? A: The README focuses on Docker + Kubernetes deployments, plus an Azure deployment path.

Q: What should I gateway first? A: A low-risk tool with clear success criteria and measurable latency.

Q: How do I keep versions sane? A: Version images, pin gateway releases, and roll out with canaries + metrics.

🙏

Source & Thanks

Source: https://github.com/microsoft/mcp-gateway > License: MIT > GitHub stars: 630 · forks: 66

Discussion

Sign in to join the discussion.
No comments yet. Be the first to share your thoughts.

Related Assets