A community-driven registry for the Claude Code ecosystem. Not affiliated with Anthropic.
Are you the author? Sign in to claim
MCP server gateway for Claude Code, Claude Desktop, and Cline. Loads only specific tools from your MCPs as you need them
A Python MCP server gateway for Claude Desktop, Claude Code, Cline and Roo. Instead of loading all MCP tools at startup, it loads them on demand.
Works with: Claude Desktop (app), Claude Code (terminal), Cline and Roo (VSCode extensions)
| Platform | Config File | Supported |
|---|---|---|
| Claude Desktop | claude_desktop_config.json | Yes |
| Claude Code | .claude.json or .mcp.json | Yes |
| Cline (VSCode) | cline_mcp_settings.json | Yes |
When you connect multiple MCP servers to Claude:
That's 100+ MCP tool definitions loaded before you even start. Each tool's JSON schema eats up tokens.
The gateway acts as a single MCP server with 3 tools:
list_available_mcps - shows configured MCP serversload_mcp_tools - loads tools from a specific MCP servercall_mcp_tool - executes the toolModel Context Protocol servers only start when Claude actually needs them.
git clone https://github.com/bzsasson/claude-mcp-server-gateway.git
cd claude-mcp-server-gateway
python3.11 -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\activate
pip install mcp python-dotenv
cp .env.example .env
# Edit .env with your tokens
Add to your Claude Desktop config:
Mac: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json
{
"mcpServers": {
"gateway": {
"command": "/path/to/.venv/bin/python",
"args": ["/path/to/claude-mcp-server-gateway/dcl_wrapper.py"]
}
}
}
Restart Claude Desktop.
Claude Code MCP server setup uses a similar config with one additional field.
Edit ~/.claude.json:
{
"mcpServers": {
"gateway": {
"type": "stdio",
"command": "/path/to/.venv/bin/python",
"args": ["/path/to/claude-mcp-server-gateway/dcl_wrapper.py"]
}
}
}
For project-specific MCP servers, create .mcp.json in your project root:
{
"mcpServers": {
"gateway": {
"type": "stdio",
"command": "/path/to/.venv/bin/python",
"args": ["/path/to/claude-mcp-server-gateway/dcl_wrapper.py"]
}
}
}
Claude Code will prompt for approval when using project-scoped servers.
# Add the gateway using CLI
claude mcp add gateway --scope user \
--command /path/to/.venv/bin/python \
-- /path/to/claude-mcp-server-gateway/dcl_wrapper.py
# Verify it's added
claude mcp list
For Cline and Roo (VSCode extensions), the MCP server gateway configuration goes in:
Mac: ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
Windows: %APPDATA%/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
Linux: ~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
{
"mcpServers": {
"gateway": {
"command": "/path/to/.venv/bin/python",
"args": ["/path/to/claude-mcp-server-gateway/dcl_wrapper.py"],
"disabled": false
}
}
}
Restart VSCode after updating.
list_available_mcpsload_mcp_tools("github")call_mcp_tool("github", "search_repositories", {...})Edit dcl_wrapper.py and add to the MCP_SERVERS dict:
MCP_SERVERS = {
"your-server": {
"command": "npx",
"args": ["-y", "your-mcp-package"],
"env": {
"API_KEY": os.getenv("YOUR_API_KEY", "")
},
"description": "What it does"
}
}
(Check dcl_wrapper.py for the full list)
dcl_wrapper.py path is correct.env file"type": "stdio" in configclaude mcp list to verify installationdcl_wrapper.py - The gateway server.env - Your API keysrequirements.txt - Python dependenciesMIT
Run Claude Code as an MCP server so any agent can delegate coding tasks to it
Browser automation using accessibility snapshots instead of screenshots
English-first Korean equity intelligence MCP — DART filings, foreign-holder 5%-rule flows, activist filings, KRX news. F
Unity MCP acts as a bridge between AI assistants and your Unity Editor. Give your LLM tools to manage assets, control sc