创建Python-Server
创建Python MCP服务器
10
Github Watches
71
Github Forks
387
Github Stars
MCP Create Server
Create Model Context Protocol (MCP) server projects with no build configuration.
Quick Overview
# Using uvx (recommended)
uvx create-mcp-server
# Or using pip
pip install create-mcp-server
create-mcp-server
You don't need to install or configure any dependencies manually. The tool will set up everything you need to create an MCP server.
Creating a Server
You'll need to have UV >= 0.4.10 installed on your machine.
To create a new server, run either of these commands:
Using uvx (recommended)
uvx create-mcp-server
Using pip
pip install create-mcp-server
create-mcp-server
It will walk you through creating a new MCP server project. When complete, you'll have a new directory with this structure:
my-server/
├── README.md
├── pyproject.toml
└── src/
└── my_server/
├── __init__.py
├── __main__.py
└── server.py
No configuration or complicated folder structures, only the files you need to run your server.
Once installation is done, you can start the server:
cd my-server
uv sync --dev --all-extras
uv run my-server
Features
- Simple command-line interface for creating new projects
- Auto-configures Claude Desktop app integration when available
- Uses uvx for fast, reliable package management and project creation
- Sets up basic MCP server structure
- Uses the Model Context Protocol Python SDK for the server project
Philosophy
- Zero Configuration: No need to manually set up project structure or dependencies.
- Best Practices: Follows Python packaging standards and MCP server patterns.
- Batteries Included: Comes with everything needed to start building an MCP server.
License
Create MCP Server is open source software licensed as MIT.
相关推荐
Emulating Dr. Jordan B. Peterson's style in providing life advice and insights.
Your go-to expert in the Rust ecosystem, specializing in precise code interpretation, up-to-date crate version checking, and in-depth source code analysis. I offer accurate, context-aware insights for all your Rust programming questions.
Embark on a thrilling diplomatic quest across a galaxy on the brink of war. Navigate complex politics and alien cultures to forge peace and avert catastrophe in this immersive interstellar adventure.
Reviews
user_JMLNHS1I
As a loyal user of the MCP application, I highly recommend the create-python-server project by modelcontextprotocol. The GitHub repository provides a seamless way to set up a Python server, perfect for both beginners and experienced developers. The documentation is clear and the setup is straightforward, making it an excellent resource for quickly getting a server up and running. The welcoming messages and start URL further enhance the user experience. A great tool for efficient server creation!