MCP: Multi-Agent Control Point

by Gomezzz299
Integrations
  • Enables containerized deployment of the MCP server with Docker and Docker Compose, allowing for easier setup and distribution across machines

  • Powers the backend API server that handles routing user questions to appropriate specialized agents

  • Integrates with Ollama to access the deepseek-r1:7b language model for expert responses when specialized agents cannot handle a query

🧠 MCP: マルチエージェントコントロールポイント

このプロジェクトでは、ユーザーの質問を LLM モデルまたは専門エージェント (日付、場所、天気、技術専門家など) にルーティングするマルチエージェント サーバーを実装します。使いやすさを考慮して Streamlit で構築されたシンプルな Web インターフェイスが含まれています。


🚀 機能

  • 🌐 FastAPI を使用したバックエンド
  • 🧠 専門エージェント(日付、場所、天気、LLM エキスパート)
  • 🖥️ Streamlit のビジュアルインターフェース (GUI)
  • 🐳 簡単に導入できる Docker コンテナ
  • 🔌 ローカルまたはリモートネットワークに対応したクライアント・サーバー通信

📁 プロジェクト構造

MCP/ ├── core/ │ ├── registry.py # Registra todos los agentes │ └── router_llm.py # Permite distribución entre agentes ├── agents/ │ └── agent.py # cada agente incluido en el servidor ├── server/ │ ├── mcp_server.py # Lógica del MCP │ └── api.py # Backend FastAPI ├── gui/ │ ├── app.py # Interfaz Streamlit │ └── .streamlit/ │ └── secrets.toml # Configuración del backend ├── utils/ │ └── json_parser.py # Función para dividir json ├── requirements.txt # Dependencias comunes ├── Dockerfile.backend # Imagen del backend ├── Dockerfile.frontend # Imagen del frontend └── docker-compose.yml # Orquestación de servicios

⚙️ 要件


🧪 クイックインストール

1. リポジトリをクローンする

git clone https://github.com/tu-usuario/MCP.git cd MCP

2. Streamlitの設定ファイルを作成する

guiディレクトリ内に次のファイルを作成します。

gui/.streamlit/secrets.toml

以下の内容が含まれます。

server_url = "http://backend:8000/process"

3. Docker Composeで実行する

docker-compose up --build

これにより、2 つのコンテナが構築され、持ち上げられます。

  • バックエンドはhttp://localhost:8000
  • http://localhost:8501のグラフィカル インターフェイス

🌍 別のマシンからのアクセス(オプション)

  1. ポート8501正しく公開されていることを確認してください ( 8000 )。
  2. secrets.tomlではlocalhost代わりにサーバーマシンの IP を使用します。
  3. クロスホスト アクセス用にカスタム Docker ネットワークを設定することもできます。

📦 生産用

別のインターフェースと統合する場合は、バックエンドのみを実行できます。

docker build -f Dockerfile.backend -t mcp_backend . docker run -p 8000:8000 mcp_backend

✨ 使用例

Web インターフェースでは、次のような質問を入力できます。

  • ¿Qué día es hoy?
  • ¿Dónde estoy?
  • ¿Qué clima hace?
  • Explícame qué es Python

アプリは質問に直接回答するか、エージェントに委任するかを決定します。


🛠️ エージェント募集中

エージェント関数
日付現在の日付と時刻を返します
位置IPアドレスで都市と国を検出します
気候現在の場所の天気を返します
LLM_エキスパートollama経由でdeepseek-r1:7bモデルをクエリする

📄 ライセンス

このプロジェクトは MIT ライセンスに基づいてライセンスされています。


🙋‍♂️ 著者

[あなたの名前またはエイリアス] によって提供されています。

-
security - not tested
F
license - not found
-
quality - not tested

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

シンプルな Streamlit Web インターフェイスを使用して簡単に対話できるため、ユーザーの質問を専門のエージェント (日付、場所、天気) または LLM エキスパートにルーティングするサーバーです。

  1. 🚀 機能
    1. 📁 プロジェクト構造
      1. ⚙️ 要件
        1. 🧪 クイックインストール
          1. リポジトリをクローンする
          2. Streamlitの設定ファイルを作成する
          3. Docker Composeで実行する
        2. 🌍 別のマシンからのアクセス(オプション)
          1. 📦 生産用
            1. ✨ 使用例
              1. 🛠️ エージェント募集中
                1. 📄 ライセンス
                  1. 🙋‍♂️ 著者

                    Related MCP Servers

                    • A
                      security
                      F
                      license
                      A
                      quality
                      A server that enables browser automation using Playwright, allowing interaction with web pages, capturing screenshots, and executing JavaScript in a browser environment through LLMs.
                      Last updated -
                      12
                      18,115
                      1
                      TypeScript
                    • A
                      security
                      A
                      license
                      A
                      quality
                      A server that leverages Cloudflare Browser Rendering to extract and process web content for use as context in LLMs, offering tools for fetching pages, searching documentation, extracting structured content, and summarizing content.
                      Last updated -
                      4
                      3
                      TypeScript
                      MIT License
                      • Apple
                    • A
                      security
                      A
                      license
                      A
                      quality
                      A server that exposes PagerDuty API functionality to LLMs with structured inputs and outputs, enabling management of incidents, services, teams, and users.
                      Last updated -
                      14
                      Python
                      MIT License
                      • Apple
                    • -
                      security
                      F
                      license
                      -
                      quality
                      A server that manages conversation context for LLM interactions, storing recent prompts and providing relevant context for each user via REST API endpoints.
                      Last updated -
                      1,137
                      TypeScript

                    View all related MCP servers

                    MCP directory API

                    We provide all the information about MCP servers via our MCP API.

                    curl -X GET 'https://glama.ai/api/mcp/v1/servers/Gomezzz299/MCP'

                    If you have feedback or need assistance with the MCP directory API, please join our Discord server