
dumbris/mcpproxy
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
dumbris/mcpproxy는 MCP 서버 후보가 https://github.com/dumbris/mcpproxy.에서 수입되었습니다
개요
dumbris/mcpproxy는 MCP 서버 후보가 https://github.com/dumbris/mcpproxy.에서 수입되었습니다
개요(AI 번역)
빠른 시작
pip로 설치하십시오:
Cursor IDE 통합
Cursor IDE에서 mcpproxy를 사용하려면 이 설정을 ~/.cursor/mcp.json에 추가하십시오.
그런 다음 별도의 ~/.cursor/mcp_proxy.json 을 실제(!) MCP 서버:
(즉, 구성의 예로, 원하는 MCP 서버를 사용할 수 있습니다)
Important: mcp_proxy.json]는 mcp.json]]보다 다른 파일이 있어야 합니다. 프록시 구성 파일은 Cursor의 MCP 구성과 동일한 형식을 가지고 있지만, 실제 MCP 서버를 포함하고 있습니다.
구글 ADK 통합
Google ADK와 mcpproxy를 사용하려면 MCPToolset을 사용하여 통합 할 수 있습니다.
더 나은 LLM 결과에 대한 팁 (시스템/dev 프롬프트로 복사):
AI Agent와 Multiple Model Context Protocol (MCP) 서버 간의 앉는 출입구는 지능형 도구 발견 및 동적 등록을 제공합니다.
웹 사이트**: mcpproxy.app ** PyPI **: pypi.org/project/smart-mcp-proxy 12.1 GitHub: github.com/Dumbris/mcpproxy
특징
-Flexible Routing Strategies: 2개의 모드 - DYNAMIC] (주문을 받아서 만들어진 공구) 또는 CALL_TOOL (proxy-only exec)
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
Smart MCP Proxy
Quick Start
install with pip:
pip install smart-mcp-proxy
Cursor IDE Integration
To use mcpproxy in Cursor IDE, add this configuration to your ~/.cursor/mcp.json:
{
"mcpServers": {
"mcp-proxy": {
"command": "mcpproxy",
"env": {
"MCPPROXY_CONFIG_PATH": "/Users/user/.cursor/mcp_proxy.json"
}
}
}
}
Then create a separate ~/.cursor/mcp_proxy.json with your actual(!) MCP servers:
(just an example of configuration, you can use any MCP servers you want)
{
"mcpServers": {
"company-mcp": {
"command": "uvx",
"args": ["--from", "mcp-company-python@git+https://github.com/company/mcp-company.git", "company-mcp-server"],
"env": {
"COMPANY_TOKEN": "${COMPANY_TOKEN}",
"PORT": "9090"
}
},
"company-docs": {
"url": "http://localhost:8000/mcp/"
}
}
}
Important: The mcp_proxy.json must be a different file than mcp.json to avoid circular proxy connections. The proxy configuration file has the same format as Cursor’s MCP configuration but contains the actual MCP servers you want to federate.
Google ADK Integration
To use mcpproxy with Google ADK, you can integrate it using the MCPToolset:
from google.adk.tools.mcp_tool.mcp_toolset import MCPToolset, StdioServerParameters
proxy_tool = MCPToolset(
connection_params=StdioServerParameters(
command="mcpproxy",
args=[],
env={"MCPPROXY_CONFIG_PATH": "/Users/user/.cursor/mcp_proxy.json"}
)
)
Tip for better LLM results (copy-paste into your system/dev prompt):
When you see a tool named `retrieval_tools` in the MCP tool list, call it first.
It returns the most relevant tools for the user’s request, helping you answer more accurately and concisely.
A federating gateway that sits between AI agents and multiple Model Context Protocol (MCP) servers, providing intelligent tool discovery and dynamic registration.
🌐 Website: mcpproxy.app 📦 PyPI: pypi.org/project/smart-mcp-proxy 🔗 GitHub: github.com/Dumbris/mcpproxy
Features
- Flexible Routing Strategies: Two modes -
DYNAMIC(tools registered on-demand) orCALL_TOOL(proxy-only execution) - Dynamic Tool Discovery: Automatically discovers tools from multiple MCP servers
- Intelligent Search: Uses configurable embedding backends (BM25, HuggingFace, OpenAI) to find relevant tools
설치
uvx --from mcp-company-python@git+https://github.com/company/mcp-company.git company-mcp-server설정
{
"mcpServers": {
"mcp-proxy": {
"command": "mcpproxy",
"env": {
"MCPPROXY_CONFIG_PATH": "/Users/user/.cursor/mcp_proxy.json"
}
}
}
}