This repository provides a tool to quickly create Model Context Protocol (MCP) server projects with zero configuration, leveraging uvx for package management and the MCP Python SDK for server structure.
Create Model Context Protocol (MCP) server projects with zero build configuration.
# Using uvx (recommended)
uvx create-mcp-server
# Or using pip
pip install create-mcp-server
create-mcp-server
The tool automates the setup of MCP server projects, eliminating manual dependency management.
Requires UV >= 0.4.10.
To create a new server, run either command: uvx create-mcp-server
(recommended) or install via pip and run create-mcp-server
. The tool generates a basic project structure, including README.md
, pyproject.toml
, and a src
directory with essential Python files. After creation, navigate to the project directory, synchronize dependencies using uv sync --dev --all-extras
, and start the server with uv run my-server
.
Licensed under the MIT License.
modelcontextprotocol/create-python-server
November 18, 2024
March 28, 2025
Python