create-python-server

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.

399
63

MCP Create Server

PyPI License: MIT

Create Model Context Protocol (MCP) server projects with zero build configuration.

Quick Overview

# 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.

Creating a Server

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.

Features

Philosophy

  • Zero Configuration: Automates project setup.
  • Best Practices: Follows Python packaging standards and MCP server patterns.
  • Batteries Included: Provides everything needed to start building an MCP server.

License

Licensed under the MIT License.

Repository

MO
modelcontextprotocol

modelcontextprotocol/create-python-server

Created

November 18, 2024

Updated

March 28, 2025

Language

Python

Category

Developer Tools