Python Demo MCP Server
@Johnnybar
关于 Python Demo MCP Server
暂无概览
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"dogs-mcp-server": {
"command": "python",
"args": [
"-m",
"venv",
"venv"
]
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is Python Demo MCP Server?
This is a demonstration server implementing the Model Context Protocol (MCP) with Server-Sent Events (SSE). It provides a practical example of how to build a server that can handle streaming content production and management.
How to use Python Demo MCP Server?
Set up a Python environment, install dependencies with uv pip install -r requirements.txt, then run python server.py (defaults to http://localhost:8080). For production on Sevalla, use a Dockerfile‑based build. To use in Cursor, add the server’s SSE URL to your mcp.json file.
Key features of Python Demo MCP Server
- Implements MCP with Server-Sent Events (SSE)
- Streaming content production and management
- Runs locally via
python server.py - Docker‑based deployment for Sevalla
- Cursor integration via SSE URL
Use cases of Python Demo MCP Server
- Learning how to build an MCP server with SSE
- Prototyping streaming content applications
- Demonstrating MCP integration in Cursor
- Testing MCP features in a development environment
FAQ from Python Demo MCP Server
What is the default port the server runs on?
It starts on http://localhost:8080 by default.
How do I install dependencies?
Run uv pip install -r requirements.txt after creating a Python virtual environment.
How do I deploy it to production?
For Sevalla, select a Dockerfile‑based build environment.
How do I connect this server to Cursor?
Paste the following into your mcp.json file (replace the domain):
"demo-mcp": { "url": "https://<your-mcp-server-domain>/sse" }
What transport does the server use?
It uses Server-Sent Events (SSE) as the transport protocol.
其他 分类下的更多 MCP 服务器
FastMCP v2 🚀
jlowin🚀 The fast, Pythonic way to build MCP servers and clients.
MCP Go 🚀
mark3labsA Go implementation of the Model Context Protocol (MCP), enabling seamless integration between LLM applications and external data sources and tools.
Nginx UI
0xJackyYet another WebUI for Nginx
Servers
modelcontextprotocolModel Context Protocol Servers
Maestro
mobile-dev-incPainless E2E Automation for Mobile and Web
评论