MCP Python Starter
@SamMorrowDrums
关于 MCP Python Starter
A starter MCP server in Python.
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"mcp-python-starter": {
"command": "uv",
"args": [
"sync"
]
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is MCP Python Starter?
A feature-complete Model Context Protocol (MCP) server template written in Python using FastMCP. It demonstrates all major MCP features—tools, resources, templates, and prompts—with clean, Pythonic code, serving as a jumpstart for developers building their own MCP servers.
How to use MCP Python Starter?
Install prerequisites: Python 3.11+ and uv (recommended) or pip. Clone the repository, run uv sync (or pip install -e .), then start the server with uv run mcp-python-starter --stdio for local development or uv run mcp-python-starter --http --port 3000 for HTTP transport. VS Code integration via .vscode/mcp.json and DevContainers are included for seamless development.
Key features of MCP Python Starter
- Tools with annotations and structured data
- Dynamic tool loading at runtime
- Resource templates for personalized responses
- Progress updates for long-running tasks
- LLM sampling via tool invocation
- Code review prompt template with focus areas
Use cases of MCP Python Starter
- Quickly prototyping and testing an MCP server locally
- Learning how to implement tools, resources, and prompts with FastMCP
- Building a custom MCP server for an AI‑powered IDE or chat client
- Debugging server behavior using the MCP Inspector tool
FAQ from MCP Python Starter
What are the prerequisites for using MCP Python Starter?
You need Python 3.11 or later and either uv or pip installed on your system.
How do I run the server?
Use uv run mcp-python-starter --stdio for stdio transport (local development) or uv run mcp-python-starter --http --port 3000 for HTTP transport (remote/web deployment).
How can I debug the server?
Launch the MCP Inspector with npx @modelcontextprotocol/inspector -- uv run mcp-python-starter to test tools, resources, prompts, and view JSON‑RPC logs.
What environment variables are needed?
Copy .env.example to .env and configure the required variables. No specific variables are detailed in the README.
What license does the project use?
The MCP Python Starter is released under the MIT License.
开发工具 分类下的更多 MCP 服务器
Grafana MCP server
grafanaMCP server for Grafana
Serena
oraiosA powerful MCP toolkit for coding, providing semantic retrieval and editing capabilities - the IDE for your agent
MCP Containers
metorialConnect any AI model to 1200+ integrations (MCP, CLI, API)
Stakpak Agent CLI
stakpakShip your code, on autopilot. An open source agent that lives on your machines 24/7 and keeps your apps running. 🦀
nuxt-mcp / vite-plugin-mcp
antfuMCP server helping models to understand your Vite/Nuxt app better.
评论