Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
제작자가 쓴 설명(영어 원문)
On-demand tool discovery for all your MCPs and per-subagent MCP controls to preserve context window.
이 세 가지는 절대 하나의 점수로 합치지 않아요. 의견, 측정, 인기는 서로 다른 것이니까요.
이 서버는 아직 쉬운 말로 된 요약을 쓰지 못했어요. 아래는 레지스트리에서 읽어 온 사실이에요.
쓰고 있는 AI 앱을 고른 다음 설정을 복사하세요.
GATEWAY_MCP_CONFIG, GATEWAY_RULES, GATEWAY_DEFAULT_AGENT, GATEWAY_DEBUG필요한 것
어떤 앱을 쓰세요?
위에서 앱을 고르세요. 기억해 두었다가 다음부터는 버튼에 “…에 설치”라고 표시해요.
Claude Desktop → Settings → Developer → Edit Config를 열고 claude_desktop_config.json에 이 내용을 붙여 넣으세요
{
"mcpServers": {
"agent-gateway": {
"command": "uvx",
"args": [
"agent-mcp-gateway"
],
"env": {
"GATEWAY_MCP_CONFIG": "your-value",
"GATEWAY_RULES": "your-value",
"GATEWAY_DEFAULT_AGENT": "your-value",
"GATEWAY_DEBUG": "your-value"
}
}
}
}터미널에서 이 명령어를 실행하세요
claude mcp add agent-gateway --env GATEWAY_MCP_CONFIG=your-value --env GATEWAY_RULES=your-value --env GATEWAY_DEFAULT_AGENT=your-value --env GATEWAY_DEBUG=your-value -- uvx agent-mcp-gateway실행하기 전에 빈 값을 채워 주세요.
프로젝트의 .cursor/mcp.json 또는 ~/.cursor/mcp.json에 붙여 넣으세요
{
"mcpServers": {
"agent-gateway": {
"command": "uvx",
"args": [
"agent-mcp-gateway"
],
"env": {
"GATEWAY_MCP_CONFIG": "your-value",
"GATEWAY_RULES": "your-value",
"GATEWAY_DEFAULT_AGENT": "your-value",
"GATEWAY_DEBUG": "your-value"
}
}
}
}브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.
프로젝트의 .vscode/mcp.json에 붙여 넣으세요
{
"servers": {
"agent-gateway": {
"type": "stdio",
"command": "uvx",
"args": [
"agent-mcp-gateway"
],
"env": {
"GATEWAY_MCP_CONFIG": "your-value",
"GATEWAY_RULES": "your-value",
"GATEWAY_DEFAULT_AGENT": "your-value",
"GATEWAY_DEBUG": "your-value"
}
}
}
}브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.
이 서버는 내 컴퓨터에서 실행되는데, ChatGPT는 인터넷에 있는 서버에만 연결할 수 있어요. 다른 앱을 고르세요.
선택한 앱은 이 기기의 쿠키에만 저장돼요. 계정은 필요 없어요.
GATEWAY_MCP_CONFIG envGATEWAY_RULES envGATEWAY_DEFAULT_AGENT envGATEWAY_DEBUG env이 설정은 제작자의 레지스트리 정보로 만들었어요. README와 다르면 README를 따르세요.
내 컴퓨터에서 실행돼요. 설치하면 AI 앱에 도구 목록이 나타나요.
누구나 볼 수 있는 정보를 점검했고, 코드는 읽지 않았어요. 해당하지 않는 항목은 개수에서 뺐어요. · 2026년 11월 7일 점검
레지스트리 이름이 GitHub 계정 roddutra 기준으로 확인되었고, 이 계정이 저장소를 소유하고 있어요
아직 GitHub에서 이 저장소를 읽어 오지 않았어요
아직 GitHub에서 이 저장소를 읽어 오지 않았어요
내 컴퓨터에서 실행되는 서버라 인터넷 엔드포인트가 없어요
내 컴퓨터에서 실행되며, 대신 로컬 설정을 사용해요
내 컴퓨터에서 실행돼요. 도구 목록은 인터넷 엔드포인트가 있는 서버에서만 읽을 수 있어요
레지스트리에서 이 카테고리의 활성 서버 전체와 비교했어요. 스타는 게시자가 저장소를 소유한 경우에만 세요.
해당하는 기본 점검 1개 중 1개를 통과했어요. 코드는 읽지 않았어요. 키나 토큰을 넣기 전에 서버가 어떤 권한을 요구하는지 확인하고, 꼭 필요한 권한만 있는 키를 쓰세요.
레지스트리에 필수 키가 나와 있지 않아요. 다만 처음 쓸 때 로그인을 요구하는 서버도 있어요.
내 컴퓨터에서 실행돼요. AI 앱이 필요할 때 실행하고, 데이터는 제작자의 서버를 거치지 않아요(서버 자체가 온라인 서비스를 호출하는 경우는 제외).
GitHub 저장소는 마지막으로 – 변경됐고, 최신 버전(0.2.5)은 11개월 전 레지스트리에 올라왔어요.
Claude Desktop, Claude Code, Cursor, VS Code처럼 MCP를 지원하는 앱에서 쓸 수 있어요. 내 컴퓨터에 Python (uv)도 있어야 해요.
같은 카테고리에는: Spec Driven Development, Remote Desktop Commander, EmbeddedCI BenchPod
같은 카테고리에서 다른 제작자가 만든 서버예요. 스타 순으로 정렬했어요.
카드 보는 법:★ GitHub 스타i세 기둥: 리뷰 · 점검 · 사용 정도i업데이트 = 최신 버전을 레지스트리에 공개한 날i
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Drive a BenchPod hardware-in-the-loop bench: power, flash, UART, I2C, CAN, analog and logic.
제작자의 저장소에서 쓰인 그대로 가져왔어요. PopNx MCP가 검토하거나 보증한 내용이 아니에요. HTML, 이미지, 스크립트는 제거했어요. 링크를 누르면 이 사이트를 벗어나요.
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.
list_servers toolget_server_tools, execute_tool, middleware, metrics, hot reload, OAuth supportCurrent Version: M1-Core Complete (with OAuth)
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:
The Agent MCP Gateway acts as a single MCP server that proxies to multiple downstream MCP servers based on configurable per-agent rules:
The gateway sits between agents and downstream MCP servers, exposing only 3 lightweight tools. When an agent needs specific functionality, it discovers available servers and tools through the gateway, which filters visibility based on policy rules - agents only see servers and tools they have access to. This reduces each agent's context window to only relevant tools, while the gateway handles proxying authorized requests to downstream servers.
[View detailed diagram with examples →](docs/diagram-full.png) (includes downstream servers, tools, and gateway rules examples)
get_*, *_user)get_gateway_status (debug mode only)# Creates ~/.config/agent-mcp-gateway/ with template configuration files
uvx agent-mcp-gateway --init
This generates two template files ready to customize:
mcp.json - Your downstream MCP servers (Brave, Postgres, etc.)mcp-gateway-rules.json - Per-agent access policies (who can use which servers/tools)For local development: See Development section.
After running uvx agent-mcp-gateway --init (see Installation), edit the generated template files:
# Define your downstream MCP servers
nano ~/.config/agent-mcp-gateway/.mcp.json
nano ~/.config/agent-mcp-gateway/.mcp-gateway-rules.json
See Configuration section for detailed examples and Configuration File Discovery for alternative file locations.
Claude Code CLI:
claude mcp add agent-mcp-gateway uvx agent-mcp-gateway
Manual configuration:
{
"mcpServers": { "agent-mcp-gateway": { "command": "uvx", "args": ["agent-mcp-gateway"], "env": { "GATEWAY_MCP_CONFIG": "~/.config/agent-mcp-gateway/.mcp.json", "GATEWAY_RULES": "~/.config/agent-mcp-gateway/.mcp-gateway-rules.json", "GATEWAY_DEFAULT_AGENT": "developer" } } } }
Note: The env variables are optional if using default config locations. See Environment Variables Reference for all options.
The gateway's tool descriptions are self-documenting, but for proper access control you should configure how your agents identify themselves. Choose the approach that fits your use case:
For different agents with different permissions, configure each agent to pass its identity.
Add this to your agent's system prompt (e.g., CLAUDE.md, .claude/agents/agent-name.md):
## MCP Gateway Access
Available Tools (via agent-mcp-gateway):
You have access to MCP servers through the agent-mcp-gateway. The specific servers and tools available to you are determined by the gateway's access control rules.
Tool Discovery Process:
When you need to use tools from downstream MCP servers:
agent_id: "YOUR_AGENT_NAME" in ALL gateway tool calls for proper access controllist_servers to discover which servers you have access toget_server_tools with the specific server name to discover available toolsexecute_tool to invoke tools with appropriate parametersImportant: Always include agent_id: "YOUR_AGENT_NAME" in your gateway tool calls. This ensures proper access control and audit logging.
Replace YOUR_AGENT_NAME with your agent's identifier (e.g., "researcher", "backend", "admin").
Examples: See .claude/agents/researcher.md and .claude/agents/mcp-developer.md for complete configuration examples.
For simpler setups where all agents should have the same permissions, or when using MCP clients without system prompt configuration (e.g., Claude Desktop), configure a default agent using either method:
Option A: Environment Variable
# Set in your MCP client configuration
export GATEWAY_DEFAULT_AGENT=developer
**Note:** The agent specified (e.g., "developer") must exist in your `.mcp-gateway-rules.json` file with appropriate permissions.
Option B: "default" Agent in Rules
{
"agents": { "default": { "allow": { "servers": ["*"] } } }, "defaults": { "deny_on_missing_agent": false } }
**Note:** Allowing all servers (`"servers": ["*"]`) without specifying tool restrictions grants access to all tools on all servers.
With either approach, agents can omit agent_id in tool calls - the gateway uses your configured default agent automatically.
# Show version
agent-mcp-gateway --version
agent-mcp-gateway --init
agent-mcp-gateway --debug
agent-mcp-gateway --help
The gateway searches for configuration files in this order:
GATEWAY_MCP_CONFIG environment variable (if set).mcp.json in current directory~/.config/agent-mcp-gateway/.mcp.json (home directory)./config/.mcp.json (fallback)GATEWAY_RULES environment variable (if set).mcp-gateway-rules.json in current directory~/.config/agent-mcp-gateway/.mcp-gateway-rules.json (home directory)./config/.mcp-gateway-rules.json (fallback)Tip: Use agent-mcp-gateway --init to create the home directory configs on first run.
The gateway requires two configuration files:
File: mcp.json (searched in multiple locations)
Defines the downstream MCP servers the gateway will proxy to. Uses the standard MCP config format compatible with Claude Code and other coding agents:
{
"mcpServers": { "brave-search": { "description": "Web search via Brave Search API", "command": "npx", "args": ["-y", "@modelcontextprotocol/server-brave-search"], "env": { "BRAVE_API_KEY": "${BRAVE_API_KEY}" } }, "postgres": { "description": "PostgreSQL database access and query execution", "command": "uvx", "args": ["mcp-server-postgres"], "env": { "DATABASE_URL": "${DATABASE_URL}" } }, "remote-server": { "description": "Custom remote API integration", "url": "https://example.com/mcp", "transport": "http", "headers": { "Authorization": "Bearer ${API_TOKEN}" } } } }
Server Descriptions (Recommended): Adding a description field to each server helps AI agents understand what each server provides and when to use it. Descriptions are always returned by list_servers, enabling agents to make informed decisions about which servers to query for tools. While optional, descriptions significantly improve agent tool discovery and decision-making.
Supported Transports:
stdio - Local servers via npx/uvx (specified with command + args)http - Remote HTTP servers (specified with url)Environment Variables:
${VAR_NAME} syntax for environment variable substitutionexport BRAVE_API_KEY=your-keyImportant - GUI Applications (Claude Desktop, etc.): If you use ${VAR_NAME} syntax in .mcp.json, note that macOS GUI applications run in isolated environments without access to your shell's environment variables. For Claude Desktop and similar apps, add API keys to the gateway's env object in your MCP client configuration:
{
"mcpServers": { "agent-mcp-gateway": { "command": "uvx", "args": ["agent-mcp-gateway"], "env": { "BRAVE_API_KEY": "your-actual-key-here", "DATABASE_URL": "postgresql://...", "GATEWAY_DEFAULT_AGENT": "claude-desktop" } } } }
(If you hardcode values directly in .mcp.json without ${VAR_NAME} syntax, this is not necessary.)
File: mcp-gateway-rules.json (searched in multiple locations)
Defines per-agent access policies using deny-before-allow precedence:
{
"agents": { "researcher": { "allow": { "servers": ["brave-search", "context7"], "tools": {
앞부분만 보여 드려요. 나머지는 저장소에서 읽어 보세요