Cover image

创建Python MCP服务器

3 years

Works with Finder

10

Github Watches

71

Github Forks

387

Github Stars

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:

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.

相关推荐

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • https://zenepic.net
  • 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.

  • Beria Joey
  • 你的职业规划师,不走弯路就问我。Sponsor:小红书“ ItsJoe就出行 ”

  • Benedikt Ess
  • FindetundanalysiertOnlineProdukteeinschlielichAmazonnachVolumenBewertungenundPreis

  • pontusab
  • 光标与风浪冲浪社区,查找规则和MCP

  • av
  • 毫不费力地使用一个命令运行LLM后端,API,前端和服务。

  • GeyserMC
  • 与Minecraft客户端/服务器通信的库。

  • 1Panel-dev
  • 🔥1Panel提供了直观的Web接口和MCP服务器,用于在Linux服务器上管理网站,文件,容器,数据库和LLMS。

  • awslabs
  • AWS MCP服务器 - 将AWS最佳实践直接带入您的开发工作流程的专门MCP服务器

  • WangRongsheng
  • 🧑‍🚀 llm 资料总结(数据处理、模型训练、模型部署、 o1 模型、mcp 、小语言模型、视觉语言模型)|摘要世界上最好的LLM资源。

  • appcypher
  • 很棒的MCP服务器 - 模型上下文协议服务器的策划列表

  • GLips
  • MCP服务器向像光标这样的AI编码代理提供FIGMA布局信息

  • Byaidu
  • PDF科学纸翻译带有保留格式的pdf -基于ai完整保留排版的pdf文档全文双语翻译

  • idosal
  • 结束幻觉! GITMCP是任何GitHub项目的免费,开源的远程MCP服务器

    Reviews

    1 (1)
    Avatar
    user_JMLNHS1I
    2025-04-16

    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!