Python MCP Server Template
@HappyPathway
关于 Python MCP Server Template
暂无概览
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"gcs-mcp-server": {
"command": "python",
"args": [
"-m",
"venv",
"venv"
]
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is Python MCP Server Template?
Python MCP Server Template is a template repository for creating Model Context Protocol (MCP) servers using Python with stdio transport. It provides a standardized setup for building MCP servers that integrate with VS Code.
How to use Python MCP Server Template?
Use this template to create a new MCP server project, then set up a Python virtual environment, install dependencies from requirements.txt, customize MCP tools in src/server.py, and test locally with VS Code. Configuration requires creating .vscode/mcp.json with stdio settings.
Key features of Python MCP Server Template
- Example MCP tools implemented with decorators
- VS Code development environment support
- Simple stdio‑based transport for local development
- Easy debugging with VS Code’s Python debugger
- Standardized project structure with
src/and.vscode/
Use cases of Python MCP Server Template
- Creating a new MCP server from a reproducible template
- Building custom MCP tools that integrate with VS Code
- Testing MCP servers locally using stdio communication
- Developing and debugging MCP servers with VS Code’s debugger
FAQ from Python MCP Server Template
What is this template for?
It is a starting point for creating MCP servers using Python and stdio transport, with built‑in VS Code support.
What transport does the server use?
The server uses standard input/output (stdio) for communication with the MCP client.
How do I add custom tools?
Modify the Python code and add tools using the @tool decorator in src/server.py.
How do I set up the development environment?
Create a Python virtual environment with python -m venv venv, activate it, and install dependencies with pip install -r requirements.txt.
How do I test my MCP server?
Test your server locally using VS Code’s built‑in MCP testing capabilities, and debug with breakpoints and the VS Code Python debugger.
文件与存储 分类下的更多 MCP 服务器
Storacha MCP Storage Server
storachaStoracha MCP storage server - self-sovereign data for your AI applications.
Filesystem
chrisdocManage your Hevy workouts, routines, folders, and exercise templates. Create and update sessions faster, organize plans, and search exercises to build workouts quickly. Stay synced with changes so your training log is always up to date.
MCP Filesystem Server
mark3labsGo server implementing Model Context Protocol (MCP) for filesystem operations.
PDF Tools MCP
danielkennedy1
Google Drive
modelcontextprotocolModel Context Protocol Servers
评论