# agentgateway — Agent Proxy for MCP Servers > Run a Rust agent proxy that connects agents to tools and MCP servers with security controls and observability. Releases ship cross-platform binaries. ## Install Merge the JSON below into your `.mcp.json`: ## Quick Use 1. Install / run: ```bash gh release download -R agentgateway/agentgateway -p agentgateway-darwin-arm64 ``` 2. Start / smoke test: ```bash chmod +x agentgateway-darwin-arm64 && ./agentgateway-darwin-arm64 --help ``` 3. Verify: - Start it in a dev environment and confirm you can route one agent to one MCP server end-to-end with logs/metrics enabled. ## Intro Run a Rust agent proxy that connects agents to tools and MCP servers with security controls and observability. Releases ship cross-platform binaries. - **Best for:** Teams who need a centralized policy point (auth, rate limits, TLS, telemetry) between agents and tool backends - **Works with:** Standalone binary or Kubernetes deployments (see agentgateway docs) - **Setup time:** 15 minutes ## How to Use It Well - Setup time ~15 minutes (download a release binary + follow standalone quickstart) - GitHub stars + forks (verified): see Source & Thanks - One gateway can front multiple tool backends and MCP servers (policy + telemetry in one place) As agents proliferate, every direct tool integration becomes a governance problem (credentials, auth, logging, rate limits). A gateway pattern gives you one place to enforce policy and observe traffic across multiple agents and tool backends. ### FAQ **Q: Is it an agent framework?** A: It’s closer to infrastructure: a proxy/gateway layer between agents and tools/MCP servers. **Q: Can I run it on Kubernetes?** A: The README links to standalone and Kubernetes quickstarts; pick the deployment style that matches your environment. **Q: What should I configure first?** A: Start with auth + rate limits + an allowlist of upstream servers, then add telemetry and routing rules. ## Source & Thanks > Source: https://github.com/agentgateway/agentgateway > License: Apache-2.0 > GitHub stars: 2,666 · forks: 447 --- ## 快速使用 1. 安装 / 运行: ```bash gh release download -R agentgateway/agentgateway -p agentgateway-darwin-arm64 ``` 2. 启动 / 冒烟测试: ```bash chmod +x agentgateway-darwin-arm64 && ./agentgateway-darwin-arm64 --help ``` 3. 验证: - Start it in a dev environment and confirm you can route one agent to one MCP server end-to-end with logs/metrics enabled. ## 简介 用 Rust 实现的 agent 代理网关,把 agent 到工具后端/MCP server 的连接集中治理,提供鉴权、限流、TLS 与遥测;release 提供多平台二进制,统一入口管理流量。 - **适合谁:** 需要在 agent 与工具后端之间建立统一策略点(鉴权、限流、TLS、遥测)的团队 - **可搭配:** 可独立部署或上 Kubernetes(见 agentgateway 文档) - **准备时间:** 15 分钟 ## 实战建议 - 跑通约 15 分钟(下载 release 二进制 + 跟随 quickstart) - GitHub stars + forks(已核验):见「来源与感谢」 - 一个网关可统一前置多个工具后端与 MCP server(策略 + 遥测集中化) 当 agent 数量变多后,每个直连工具的集成都变成治理问题(凭据、鉴权、日志、限流)。网关模式能把策略与可观测性集中到一个入口,统一管理多个 agent 与多个工具后端之间的流量。 ### FAQ **它是 agent 框架吗?** A: 更偏基础设施:在 agent 与工具/MCP server 之间提供代理/网关层。 **能跑在 Kubernetes 上吗?** A: README 提供了 standalone 与 Kubernetes quickstart;按环境选择即可。 **第一步该配什么?** A: 优先配鉴权 + 限流 + 上游白名单,再逐步加遥测与路由规则。 ## 来源与感谢 > Source: https://github.com/agentgateway/agentgateway > License: Apache-2.0 > GitHub stars: 2,666 · forks: 447 --- Source: https://tokrepo.com/en/workflows/agentgateway-agent-proxy-for-mcp-servers Author: MCP Hub