An MCP server that provides a smart proxy to other mcp servers
Token-efficient MCP server gateway with semantic tool search
mcp-name: io.github.daedalus/mcp-smart-proxy
pip install mcp-smart-proxy
from mcp_smart_proxy import ProxyConfig
config = ProxyConfig.from_file("proxy.yaml")
mcp-smart-proxy --help
mcp-smart-proxy serve --config proxy.yaml
mcp-smart-proxy serve --config proxy.yaml --watch ./servers/
mcp-smart-proxy serve --config proxy.yaml --transport streamable-http --host 0.0.0.0 --port 8000
mcp-smart-proxy index --config proxy.yaml
mcp-smart-proxy status --config proxy.yaml
mcp-smart-proxy validate --config proxy.yaml
The --watch option monitors a directory for .yaml, .yml, or .json files containing
upstream server configurations. Add, modify, or remove files to dynamically update the
available servers at runtime.
The --transport option supports:
stdio (default) - Standard input/output transport for local MCP clientsProxyConfig - Main configuration modelUpstreamConfig - Upstream server configurationEmbeddingConfig - Embedding backend configurationVectorStoreConfig - Vector store backend configurationListResult - Result from the list toolSearchResult - Result from the search toolToolResult - Result from tool callsgit clone https://github.com/daedalus/mcp-smart-proxy.git
cd mcp-smart-proxy
pip install -e ".[test]"
# run tests
pytest
# format
ruff format src/ tests/
# lint
ruff check src/ tests/
# type check
mypy src/
Source-derived launch command. Check the maintainer’s required arguments and credentials before running:
uvx mcp-smart-proxyMerge this template into ~/Library/Application Support/Claude/claude_desktop_config.json. Keep existing servers. Add any arguments, credentials, and permissions required by the maintainer; this template has not been install-tested.
{
"mcpServers": {
"io-github-daedalus-mcp-smart-proxy": {
"command": "uvx",
"args": [
"mcp-smart-proxy"
]
}
}
}Restart Claude Desktop completely for changes to take effect. Confirm the server appears connected in the client’s tool list, then try a read-only example from its documentation.
Claude Desktop setup referencemcp-smart-proxypypiio.github.daedalus/mcp-smart-proxy works with any MCP-compatible client. Copy the config snippet from the Configuration section above and add it to the file shown for your client, then restart the application.
~/Library/Application Support/Claude/claude_desktop_config.jsonRestart Claude Desktop completely for changes to take effect.~/.cursor/mcp.jsonRestart Cursor for changes to take effect..vscode/mcp.jsonReload VS Code window for changes to take effect.~/.codeium/windsurf/mcp_config.jsonRestart Windsurf for changes to take effect..mcp.jsonSave at the project root, then start Claude Code in that project and review the MCP server approval prompt. Keep real credentials out of shared files.