Cover image
Try Now
2025-04-03

3 years

Works with Finder

1

Github Watches

0

Github Forks

1

Github Stars

Python MCP Server Template

Python 3.13+ License: MIT

A minimal template for creating a Model Context Protocol (MCP) server using the Python SDK.

:wrench: Setup

[!TIP] If you want to create your own server, create a new repository using this template.

:package: Prerequisites

  • uv for package management
  • Python 3.13+ (uv python install 3.13)

:gear: Setup Python environment

Install all dependencies and activate the virtual environment

uv sync
source .venv/bin/activate

:rocket: How to use

The server can be run in multiple ways:

:robot: Visual Studio Code

The configuration to run this server in VSCode is already included in .vscode/mcp.json.

All you need to do is Open VS Code Copilot Edits (Agent Mode)

[!NOTE] At the time of writing this, MCP is only available in Visual Studio Code Insiders version

:microscope: Development Mode

The fastest way to test and debug your server is with the MCP Inspector:

mcp dev server/main.py

or you can run your server directly

python server/main.py

:books: Documentation

For more information about the Model Context Protocol:

:page_with_curl: License

This project is licensed under the MIT License

相关推荐

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

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

  • lumpenspace
  • Take an adjectivised noun, and create images making it progressively more adjective!

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • Carlos Ferrin
  • Encuentra películas y series en plataformas de streaming.

  • Yusuf Emre Yeşilyurt
  • I find academic articles and books for research and literature reviews.

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

  • apappascs
  • Descubra la colección más completa y actualizada de servidores MCP en el mercado. Este repositorio sirve como un centro centralizado, que ofrece un extenso catálogo de servidores MCP de código abierto y propietarios, completos con características, enlaces de documentación y colaboradores.

  • ShrimpingIt
  • Manipulación basada en Micrypthon I2C del expansor GPIO de la serie MCP, derivada de AdaFruit_MCP230xx

  • jae-jae
  • Servidor MCP para obtener contenido de la página web con el navegador sin cabeza de dramaturgo.

  • HiveNexus
  • Un bot de chat de IA para equipos pequeños y medianos, que apoyan modelos como Deepseek, Open AI, Claude y Gemini. 专为中小团队设计的 ai 聊天应用 , 支持 Deepseek 、 Open ai 、 Claude 、 Géminis 等模型。

  • ravitemer
  • Un poderoso complemento Neovim para administrar servidores MCP (protocolo de contexto del modelo)

  • patruff
  • Puente entre los servidores Ollama y MCP, lo que permite a LLM locales utilizar herramientas de protocolo de contexto del modelo

  • pontusab
  • La comunidad de cursor y windsurf, encontrar reglas y MCP

  • JackKuo666
  • 🔍 Habilitar asistentes de IA para buscar y acceder a la información del paquete PYPI a través de una interfaz MCP simple.

    Reviews

    2 (1)
    Avatar
    user_KTaOMZSg
    2025-04-16

    I've been using python-mcp-server by Killian0812, and it's incredible! The server is highly efficient, and the implementation in Python makes it easy to customize. The welcoming documentation is clear, making setup seamless. It's a must-have for MCP application users. Highly recommend checking it out at https://github.com/Killian0812/python-mcp-server!