What protocols does MCP SSE Client Python support now?
Currently only Server-Sent Events (SSE). Streamable HTTP, WebSocket, and gRPC are planned for future releases.
@zanetworker
基本信息
Simple MCP Client for remote MCP Servers 🌐
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"mcp-sse-client-python": {
"command": "python",
"args": [
"-m",
"mcp_sse_client.examples.llm_example",
"--provider",
"openai",
"--endpoint",
"http://localhost:8000/sse"
]
}
}
}工具列表暂未提供
当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
MCP SSE Client Python is a Python toolkit for connecting to and interacting with remote Model Context Protocol (MCP) endpoints over Server-Sent Events (SSE). It is designed for developers building AI-driven applications that need to list and invoke MCP tools from a remote server.
Install the package via pip install -e . from source or pip install mcp-playground once published. Set environment variables for LLM provider API keys (e.g., OPENAI_API_KEY). Use the MCPClient class with an endpoint URL ending in /sse. Optionally use OpenAIBridge or other LLM bridges for natural-language tool selection. Run the included Streamlit app with streamlit run app.py for interactive testing.
MCPClient with timeout and retry logicCurrently only Server-Sent Events (SSE). Streamable HTTP, WebSocket, and gRPC are planned for future releases.
Yes. All MCP endpoints must end with `/sse` (e.g., `http://localhost:8000/sse`). The client validates this requirement.
OpenAI, Anthropic, Ollama (local), and OpenRouter. Each has a dedicated bridge class: `OpenAIBridge`, `AnthropicBridge`, `OllamaBridge`, and `OpenRouterBridge`.
Python 3.8 or later, plus `mcp>=0.1.0`, `pydantic>=2.0.0`, and optionally `openai`, `anthropic`, `ollama`, and `streamlit` for their respective features.
The client includes automatic retry with exponential backoff, configurable timeout (default 30 s), and maximum retries (default 3). Specific exception types (`MCPConnectionError`, `MCPTimeoutError`) are provided.
This open-source curriculum introduces the fundamentals of Model Context Protocol (MCP) through real-world, cross-language examples in .NET, Java, TypeScript, JavaScript, Rust and Python. Designed for developers, it focuses on practical techniques for building modular, scalable,
Open-source MCP to use Blender with any LLM
🔥 MaxKB is an open-source platform for building enterprise-grade agents. 强大易用的开源企业级智能体平台。
Senso MCP turns a Joomla 5 or 6 site into a remote MCP server. It runs inside Joomla itself (no extra server, no Node.js bridge) and is secured with OAuth 2.1 and Joomla's own ACL. The free pack lets an AI assistant crea
MCP Toolbox for Databases is an open source MCP server for databases.
评论