Agent MCP Gateway MCP
An MCP gateway that aggregates multiple MCP servers and provides policy-based access control for agents and subagents. It solves context window waste by enabling on-demand tool discovery instead of loading all tool definitions upfront, reducing context usage by over 90%.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
Checks and signals
Each line is separate evidence, not a trust score.
- Popularity 41 GitHub stars
What you can do with it
- Aggregate multiple MCP servers into a single gateway
- Provide per-agent access control policies
- Enable on-demand tool discovery to save context
- Prevent context window bloat in Claude Code
Source and maintenance
- Last repository push
- Latest release
- v0.2.5
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
agent-mcp-gateway 0.2.5
{
"version": "0.2.5",
"transport": "stdio",
"identifier": "agent-mcp-gateway",
"registryType": "pypi",
"environmentVariables": [
{
"name": "GATEWAY_MCP_CONFIG",
"description": "Path to MCP servers configuration file (default: .mcp.json)"
},
{
"name": "GATEWAY_RULES",
"description": "Path to gateway access control rules file (default: .mcp-gateway-rules.json)"
},
{
"name": "GATEWAY_DEFAULT_AGENT",
"description": "Default agent ID when not provided in tool calls"
},
{
"name": "GATEWAY_DEBUG",
"description": "Enable debug mode and expose diagnostic tools (default: false)"
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Maintenance history
Public check and source-refresh events. Editorial and ownership records remain private.
- · repository · passed · metadata changed · updated
- · backfill · recorded · Pre-expansion baseline; unobserved rich metadata remains unknown
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"agent-mcp-gateway-mcp": {
"command": "uvx",
"args": [
"agent-mcp-gateway==0.2.5"
],
"env": {
"GATEWAY_MCP_CONFIG": "<YOUR_GATEWAY_MCP_CONFIG>",
"GATEWAY_RULES": "<YOUR_GATEWAY_RULES>",
"GATEWAY_DEFAULT_AGENT": "<YOUR_GATEWAY_DEFAULT_AGENT>",
"GATEWAY_DEBUG": "<YOUR_GATEWAY_DEBUG>"
}
}
}
}Cline
{
"mcpServers": {
"agent-mcp-gateway-mcp": {
"command": "uvx",
"args": [
"agent-mcp-gateway==0.2.5"
],
"env": {
"GATEWAY_MCP_CONFIG": "<YOUR_GATEWAY_MCP_CONFIG>",
"GATEWAY_RULES": "<YOUR_GATEWAY_RULES>",
"GATEWAY_DEFAULT_AGENT": "<YOUR_GATEWAY_DEFAULT_AGENT>",
"GATEWAY_DEBUG": "<YOUR_GATEWAY_DEBUG>"
}
}
}
}VS Code
{
"servers": {
"agent-mcp-gateway-mcp": {
"type": "stdio",
"command": "uvx",
"args": [
"agent-mcp-gateway==0.2.5"
],
"env": {
"GATEWAY_MCP_CONFIG": "<YOUR_GATEWAY_MCP_CONFIG>",
"GATEWAY_RULES": "<YOUR_GATEWAY_RULES>",
"GATEWAY_DEFAULT_AGENT": "<YOUR_GATEWAY_DEFAULT_AGENT>",
"GATEWAY_DEBUG": "<YOUR_GATEWAY_DEBUG>"
}
}
}
}Claude Desktop
{
"mcpServers": {
"agent-mcp-gateway-mcp": {
"command": "uvx",
"args": [
"agent-mcp-gateway==0.2.5"
],
"env": {
"GATEWAY_MCP_CONFIG": "<YOUR_GATEWAY_MCP_CONFIG>",
"GATEWAY_RULES": "<YOUR_GATEWAY_RULES>",
"GATEWAY_DEFAULT_AGENT": "<YOUR_GATEWAY_DEFAULT_AGENT>",
"GATEWAY_DEBUG": "<YOUR_GATEWAY_DEBUG>"
}
}
}
}Let your agent find its tools
Find servers like Agent MCP Gateway MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.