modelcontextprotocol
MCP ServermodelcontextprotocolpublicArchived

create python server

Create a Python MCP server

Repository Info

448
Stars
96
Forks
448
Watchers
7
Issues
Python
Language
MIT License
License

About This Server

Create a Python MCP server

Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.

Documentation

MCP Create Server

PyPI License: MIT

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:

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.

Quick Start

1

Clone the repository

git clone https://github.com/modelcontextprotocol/create-python-server
2

Install dependencies

cd create-python-server
npm install
3

Follow the documentation

Check the repository's README.md file for specific installation and usage instructions.

Repository Details

Ownermodelcontextprotocol
Repocreate-python-server
LanguagePython
LicenseMIT License
Last fetched8/10/2025

Recommended MCP Servers

💬

Discord MCP

Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.

integrationsdiscordchat
🔗

Knit MCP

Connect AI agents to 200+ SaaS applications and automate workflows.

integrationsautomationsaas
🕷️

Apify MCP Server

Deploy and interact with Apify actors for web scraping and data extraction.

apifycrawlerdata
🌐

BrowserStack MCP

BrowserStack MCP Server for automated testing across multiple browsers.

testingqabrowsers

Zapier MCP

A Zapier server that provides automation capabilities for various apps.

zapierautomation