What transport protocol does the host use?
The host uses Server-Sent Events (SSE) for communication with MCP servers. STDIO server support is planned but not yet implemented.
@hackerinheels
基本情報
This repository contains a python implementation of an MCP Host which is capable of running several MCP Servers with SSE protocol
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"multipleMCPServerWithPythonHost": {
"command": "uv",
"args": [
"venv",
"--python",
"3.11"
]
}
}
}ツール一覧はまだありません
この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。
ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。
Multiple MCP SSE Servers with a Python Host is a Server-Sent Events (SSE) Model Context Protocol (MCP) client implementation that uses Google’s Gemini API. It reads a config.json file to launch and maintain connections with multiple MCP servers, and handles lifecycle management and cleanup. It is intended for developers who want to run several MCP servers concurrently and interact with them through a single Python host.
Clone the repository, create a .env file with GEMINI_API_KEY and MODEL_NAME, set up Google Calendar API credentials, update config.json with the MCP server commands, then run uv run host.py from a Python 3.11+ virtual environment. Interact by typing queries in the client prompt.
The host uses Server-Sent Events (SSE) for communication with MCP servers. STDIO server support is planned but not yet implemented.
The example configuration uses Google Gemini 2.0 Flash (`gemini-2.0-flash`). The API key must be set in the `.env` file under `GEMINI_API_KEY`.
Python 3.11+, the UV package manager, a Gemini API key, and Google Calendar API credentials (if using the calendar server). For the browser server, Google Chrome must be installed and the `CHROME_PATH` environment variable set.
Currently only Gemini models are supported. The README lists multiple model support as a planned future feature.
User queries and server responses are handled in memory; no persistent storage is described. Limitations include no STDIO server support, no multiple model support, and no tool chaining yet (all noted as “Todo”). Authentication relies on API keys in environment variables.
Free moving quotes for AI agents from Next Generation Movers, a licensed interstate mover (USDOT 3764697). US long-distance nationwide and local DC/MD/VA. Indicative ballpark price and booking options; optional $0.01 x40
🚀 The fast, Pythonic way to build MCP servers and clients.

Model Context Protocol Servers

DeepMark helps teachers deliver rapid, consistent marking with meaningful feedback for every student — in a fraction of the time. What once took a week, now takes one free period.
MCP Toolbox for Databases is an open source MCP server for databases.
コメント