{"repo":"roddutra/agent-mcp-gateway","free":true,"listed":false,"github":"https://github.com/roddutra/agent-mcp-gateway","clone":"git clone https://github.com/roddutra/agent-mcp-gateway.git","description":"Provides per-subagent MCP access controls to Claude Code (or any MCP client) across all your MCPs and prevents context window bloat. Loads only 3 tools instead of all your MCP Server's tool definitions. Agents discover tools on-demand, only when needed. Control which servers and individual tools each agent/subagent can access.","language":"Python","stars":41,"topics":[],"license":"MIT","category":"mcp-servers","readme_excerpt":"Agent MCP Gateway A Model Context Protocol (MCP) gateway that aggregates multiple MCP servers and provides policy-based access control for agents and subagents. Solves Claude Code's MCP context window waste by enabling on-demand tool discovery instead of loading all tool definitions upfront. Status - ✅ M0: Foundation - Configuration, policy engine, audit logging, list servers tool - ✅ M1: Core - Proxy infrastructure, get server tools , execute tool , middleware, metrics, hot reload, OAuth support - 🚧 M2: Production - HTTP transport, health checks (planned) - 🚧 M3: DX - Single-agent mode, config validation CLI, Docker (planned) Current Version: M1-Core Complete (with OAuth) Table of Contents - Overview - Installation - Quick Start - Command-Line Options - Configuration File Discovery - Configuration - Usage - Gateway Tools - Security Considerations - Troubleshooting - Testing - Development - Architecture - Future Features - Documentation - Contributing - License - Support - Acknowledgments Overview The Problem When multiple MCP servers are configured in development environments (Claude Code, Cursor, VS Code), all tool definitions from all servers load into every agent's and subagent's context window at startup: - 5,000-50,000+ tokens consumed upfront - 80-95% of loaded tools never used by individual agents - Context needed for actual work gets wasted on unused tool definitions The Solution The Agent MCP Gateway acts as a single MCP server that proxies to multiple downstream ","default_branch":null,"files":null,"tree":[],"storefront":"/r/roddutra","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/roddutra/agent-mcp-gateway/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}