MCP Servers

模型上下文协议服务器、框架、SDK 和模板的综合目录。

Python MCP Server for Demo

创建于 3/22/2026
更新于 about 8 hours ago
Repository documentation and setup instructions

MCP Server

MCP server that provides integration for getting all the person information

Also itegration to get details from Rag for blog search There are multiple test scenarios . Tested with the streaming version

Python version requirement

python>=3.10

MCP Python client library for SSE transport

mcp

Pydantic AI for OpenAI agent integration and MCP toolsets

pydantic-ai-slim[mcp]

HTTP client and SSE support

httpx[sse]

setup local environment

python3 -m venv myenv uv venv myenv -p 3.11 source myenv/bin/activate uv add openai-agents pip install "uvicorn[standard]"

uv pip install -r requirements.txt

Debug what is in the port

sudo lsof -i :8000

Using mcp with streaming option - Tested

Local run uv run server.py

Server run nohup uvicorn server:app --reload --log-level error --host 0.0.0.0 --port 8080 &

快速设置
此服务器的安装指南

安装包 (如果需要)

uvx python-mcp

Cursor 配置 (mcp.json)

{ "mcpServers": { "arun2dot0-python-mcp": { "command": "uvx", "args": [ "python-mcp" ] } } }
作者服务器
其他服务器由 arun2dot0