MCPHub LabRegistryagentgateway
agentgateway

agentgateway

Built by agentgateway 2,192 stars

What is agentgateway?

Next Generation Agentic Proxy for AI Agents and MCP servers

How to use agentgateway?

1. Install a compatible MCP client (like Claude Desktop). 2. Open your configuration settings. 3. Add agentgateway using the following command: npx @modelcontextprotocol/agentgateway 4. Restart the client and verify the new tools are active.
🛡️ Scoped (Restricted)
npx @modelcontextprotocol/agentgateway --scope restricted
🔓 Unrestricted Access
npx @modelcontextprotocol/agentgateway

Key Features

Native MCP Protocol Support
Real-time Tool Activation & Execution
Verified High-performance Implementation
Secure Resource & Context Handling

Optimized Use Cases

Extending AI models with custom local capabilities
Automating system workflows via natural language
Connecting external data sources to LLM context windows

agentgateway FAQ

Q

Is agentgateway safe?

Yes, agentgateway follows the standardized Model Context Protocol security patterns and only executes tools with explicit user-granted permissions.

Q

Is agentgateway up to date?

agentgateway is currently active in the registry with 2,192 stars on GitHub, indicating its reliability and community support.

Q

Are there any limits for agentgateway?

Usage limits depend on the specific implementation of the MCP server and your system resources. Refer to the official documentation below for technical details.

Official Documentation

View on GitHub
<div align="center"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/agentgateway/agentgateway/refs/heads/main/img/banner-light.svg" alt="agentgateway" width="400"> <source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/agentgateway/agentgateway/refs/heads/main/img/banner-dark.svg" alt="agentgateway" width="400"> <img alt="agentgateway" src="https://raw.githubusercontent.com/agentgateway/agentgateway/refs/heads/main/img/banner-light.svg"> </picture> <div> <a href="https://opensource.org/licenses/Apache-2.0"> <img src="https://img.shields.io/badge/License-Apache2.0-brightgreen.svg?style=flat" alt="License: Apache 2.0"> </a> <a href="https://github.com/agentgateway/agentgateway"> <img src="https://img.shields.io/github/stars/agentgateway/agentgateway.svg?style=flat&logo=github&label=Stars" alt="Stars"> </a> <a href="https://discord.gg/BdJpzaPjHv"> <img src="https://img.shields.io/discord/1346225185166065826?style=flat&label=Join%20Discord&color=6D28D9" alt="Discord"> </a> <a href="https://github.com/agentgateway/agentgateway/releases"> <img src="https://img.shields.io/github/v/release/agentgateway/agentgateway?style=flat&label=Latest%20Release&color=6D28D9" alt="Latest Release"> </a> <a href="https://deepwiki.com/agentgateway/agentgateway"><img src="https://deepwiki.com/badge.svg" alt="Ask DeepWiki"></a> <a href='https://codespaces.new/agentgateway/agentgateway'> <img src='https://github.com/codespaces/badge.svg' alt='Open in Github Codespaces' style='max-width: 100%;' height="20"> </a> </div> <div> The <strong>first complete</strong> connectivity solution for Agentic AI. </div> </div>

Agentgateway is an open source proxy built on AI-native protocols (MCP & A2A) that provides drop-in security, observability, and governance for agent-to-LLM, agent-to-tool, and agent-to-agent communication across any framework and environment.

<br> <div align="center"> <img alt="agentgateway UI" src="img/architecture.svg" width="600"> </div> <br>

Intro to Agentgateway Video

Agentgateway Intro Video

Key Features

  • LLM Gateway<br> Route traffic to major LLM providers (OpenAI, Anthropic, Gemini, Bedrock, and more) through a unified OpenAI-compatible API with budget and spend controls, prompt enrichment, load balancing, and failover.

  • MCP Gateway<br> Connect LLMs to tools and external data sources via MCP with tool federation, stdio/HTTP/SSE/Streamable HTTP transports, OpenAPI integration, and OAuth authentication.

  • A2A Gateway<br> Enable secure agent-to-agent communication using A2A, with capability discovery, modality negotiation, and task collaboration.

  • Inference Routing<br> Intelligent routing to self-hosted models using Kubernetes Inference Gateway extensions, with decisions based on GPU utilization, KV cache, LoRA adapters, and queue depth.

  • Guardrails<br> Multi-layered content filtering with regex, OpenAI moderation, AWS Bedrock Guardrails, Google Model Armor, and custom webhooks.

  • Security & Observability<br> Auth (JWT, API keys, OAuth), fine-grained RBAC with CEL policy engine, rate limiting, TLS, and OpenTelemetry metrics/logs/tracing.

    <br>

Getting Started

Documentation

Depending on your deployment environment, check out the following docs:

Agentgateway has a built-in UI for you to explore agentgateway connecting agent-to-agent or agent-to-tool:

<div align="center"> <img alt="agentgateway UI" src="img/UI-homepage.png"> </div>

Contributing

For instructions on how to contribute to the agentgateway project, see the CONTRIBUTION.md file.

Community Meetings

To join a community meeting, add the agentgateway calendar to your Google account. Then, you can find event details on the calendar.

Recordings of the community meetings will be published on our google drive.

Roadmap

agentgateway is currently in active development. If you'd like a feature that's missing, open an issue in our GitHub repo.

Contributors

Thanks to all contributors who are helping to make agentgateway better.

<a href="https://github.com/agentgateway/agentgateway/graphs/contributors"> <img src="https://contrib.rocks/image?repo=agentgateway/agentgateway" /> </a>

Star History

<a href="https://www.star-history.com/#agentgateway/agentgateway&Date"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=agentgateway/agentgateway&type=Date&theme=dark" /> <source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=agentgateway/agentgateway&type=Date" /> <img alt="Star history of agentgateway/agentgateway over time" src="https://api.star-history.com/svg?repos=agentgateway/agentgateway&type=Date" /> </picture> </a>
<div align="center"> <img src="img/lf-stacked-color.png" width="300" alt="Linux Foundation logo"/> <p>Agentgateway is a <a href="https://www.linuxfoundation.org/">Linux Foundation</a> project.</p> </div>

Global Ranking

-
Trust ScoreMCPHub Index

Based on codebase health & activity.

Manual Config

{ "mcpServers": { "agentgateway": { "command": "npx", "args": ["agentgateway"] } } }