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

Safe staging for this asset

This asset is staged first. The copied prompt tells the agent to inspect the staged files and ask before activating scripts, MCP config, or global config.

Stage only · 17/100Policy: stage
Agent surface
Any MCP/CLI agent
Kind
Mcp Config
Install
Stage only
Trust
Trust: Established
Entrypoint
Asset
Safe staging command
npx -y tokrepo@latest install a838f642-0c9f-4cc6-9037-7298e73201fe --target codex

Stages files first; activation requires review of the staged README and plan.

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