Easy MCP Proxy
Enables aggregation, filtering, transformation, and composition of tools from multiple MCP servers through a single proxy with tool views.
README
Easy MCP Proxy
An MCP proxy server that aggregates tools from multiple upstream MCP servers and exposes them through tool views — filtered, transformed, and composed subsets of tools.
Status: Experimental
📖 Full Documentation | 🚀 Tutorial | 📚 Reference
Quick Start
1. Install
uv pip install -e .
2. Create a config file
# config.yaml
mcp_servers:
filesystem:
command: npx
args: [-y, "@modelcontextprotocol/server-filesystem", /home/user/documents]
tool_views:
default:
tools:
filesystem:
read_file: {}
list_directory: {}
3. Run the proxy
# For Claude Desktop (stdio)
mcp-proxy serve --config config.yaml
# For HTTP clients
mcp-proxy serve --config config.yaml --transport http --port 8000
4. Use with Claude Desktop
Local (stdio) — runs the proxy as a subprocess:
{
"mcpServers": {
"proxy": {
"command": "uv",
"args": ["run", "mcp-proxy", "serve", "--config", "/path/to/config.yaml"]
}
}
}
Remote (HTTP) — connect to a proxy running on a server:
{
"mcpServers": {
"proxy": {
"type": "http",
"url": "https://your-proxy-server.example.com/mcp",
"headers": {
"Authorization": "Bearer your-auth-token"
}
}
}
}
This requires authentication to be configured on the proxy. See mcp-proxy serve --help for auth options.
Example Use Cases
Reduce Tool Count with Search Mode
Too many tools overwhelming your LLM? Expose hundreds of tools through three meta-tools:
tool_views:
everything:
exposure_mode: search
include_all: true
This creates everything_search_tools (find tools), everything_describe_tool
(inspect one exact schema), and everything_call_tool (validate and call by
name). The LLM searches, describes, then calls—no need to list every tool.
Create Domain-Specific Interfaces
Wrap generic filesystem tools into a purpose-built "skills library" interface:
mcp_servers:
skills:
command: npx
args: [-y, "@modelcontextprotocol/server-filesystem", /home/user/skills]
tools:
read_file:
name: get_skill # Rename for clarity
parameters:
path:
rename: skill_name # Domain-specific parameter name
description: "Skill file path (e.g., 'python/debugging.md')"
directory_tree:
name: browse_skills
parameters:
path:
hidden: true # Hide implementation detail
default: "." # Always start at root
Search Multiple Sources Concurrently
Create a unified search that queries all your knowledge sources at once:
tool_views:
unified:
composite_tools:
search_everything:
description: "Search code, docs, and memory simultaneously"
inputs:
query: { type: string, required: true }
parallel:
code:
tool: github.search_code
args: { query: "{inputs.query}" }
docs:
tool: confluence.search
args: { query: "{inputs.query}" }
memory:
tool: memory.search
args: { text: "{inputs.query}" }
Reduce Context Usage with Output Caching
Large tool outputs (file contents, search results) consume valuable LLM context. Cache them and return a preview with a signed retrieval URL:
output_cache:
enabled: true
ttl_seconds: 3600 # URLs valid for 1 hour
preview_chars: 500 # Show first 500 chars inline
min_size: 10000 # Only cache outputs > 10KB
cache_secret: "${CACHE_SECRET}"
cache_base_url: "https://your-proxy.example.com"
The LLM gets a preview plus a retrieval token. It can load the full content,
request a line window with preview_cached_output, or apply a
jmespath_expression with query_cached_output when the cached output is JSON.
This enables Recursive Language Model (RLM) patterns where agents pass file
references instead of file contents, dramatically reducing context usage while
maintaining full access to the data.
What Can It Do?
- Aggregate multiple MCP servers (stdio or HTTP) into one endpoint
- Filter which tools are exposed from each server
- Rename tools and parameters for clearer interfaces
- Bind parameter defaults or hide implementation details
- Compose concurrent tools that fan out to multiple upstreams
- Cache large outputs to reduce context window usage
- Transform with pre/post hooks for logging, validation, or modification
- Serve via stdio (Claude Desktop) or HTTP with multi-view routing
See the Use Cases Guide for detailed examples of each capability.
Documentation
- Introduction — Overview and concepts
- Tutorial — Step-by-step getting started guide
- Use Cases — Problem-driven feature exploration
- Reference — Complete feature and CLI documentation
- Tool discovery — Schemas, safe calls, CLI, web registry, and rollout
Development
uv pip install -e ".[dev]"
make check # Lint
make test # Run tests (requires 100% coverage)
License
AGPL-3.0 — See LICENSE
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。