DM

dumbris/mcpproxy

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

39 stars 11 forks 品質 66 トレンド 0MIT

dumbris/mcpproxy は [https://github.com/dumbris/mcpproxy. からインポートされた MCP サーバーの候補です

概要

dumbris/mcpproxy は [https://github.com/dumbris/mcpproxy. からインポートされた MCP サーバーの候補です

概要(AI 翻訳)

クイックスタート

pip でインストールします。

Cursor IDEの統合

Cursor IDE で mcpproxy を使用するには、この設定を [~/.cursor/mcp.json に追加します。

次に、実際の~/.cursor/mcp_proxy.jsonを別々に作成します(!) MCP サーバー: (コンフィギュレーションの一例で、必要なMCPサーバーを使用できます)

重要: [mcp_proxy.json]は、円プロキシ接続を避けるために[[mcp.jsonよりも異なるファイルでなければなりません。 プロキシ設定ファイルには、CursorのMCP設定と同じ形式がありますが、フェデレーションしたい実際のMCPサーバーが含まれています。

Google ADKの統合

Google ADK で mcpproxy を使用するには、MCPToolset を使用して統合できます。

より良いLLM結果のための#ヒント(システム/開発者のプロンプトにコピーペースト):

お問い合わせ

AIエージェントと複数のモデルコンテキストプロトコル(MCP)サーバー間で座るフェデレーションゲートウェイ。インテリジェントなツールの発見と動的登録を提供します。

mcpproxy.app - 公式ウェブサイト PyPI : pypi.org/project/smart-mcp-proxy ** GitHub: github.com/Dumbris/mcpproxy

##特徴

  • 柔軟なルーティング戦略:2つのモード - [DYNAMIC(オンデマンド登録されたツール)またはCALL_TOOL(プロキシのみ実行)

このページは 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) or CALL_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
GitHub で README 全文を見る

インストール

uvx --from mcp-company-python@git+https://github.com/company/mcp-company.git company-mcp-server
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "mcp-proxy": { "command": "mcpproxy", "env": { "MCPPROXY_CONFIG_PATH": "/Users/user/.cursor/mcp_proxy.json" } } } }