python-mcp-server-generator

Installation
Summary

Complete Python MCP server project generator with tools, resources, and proper configuration.

  • Scaffolds a new Python project using uv with MCP SDK, proper directory structure, and .gitignore
  • Supports both stdio (local) and streamable-http (remote) transport types with optional host, port, and stateless mode configuration
  • Generates decorated tools, resources, and prompts with automatic schema generation from type hints and docstrings
  • Includes comprehensive error handling, async/await support, Pydantic model integration, and context managers for resource cleanup
  • Provides testing guidance via MCP Inspector, Claude Desktop installation, and example tool invocations with troubleshooting tips
SKILL.md

Generate Python MCP Server

Create a complete Model Context Protocol (MCP) server in Python with the following specifications:

Requirements

  1. Project Structure: Create a new Python project with proper structure using uv
  2. Dependencies: Include mcp[cli] package with uv
  3. Transport Type: Choose between stdio (for local) or streamable-http (for remote)
  4. Tools: Create at least one useful tool with proper type hints
  5. Error Handling: Include comprehensive error handling and validation

Implementation Details

Project Setup

  • Initialize with uv init project-name
  • Add MCP SDK: uv add "mcp[cli]"
  • Create main server file (e.g., server.py)
  • Add .gitignore for Python projects
Related skills

More from github/awesome-copilot

Installs
9.3K
GitHub Stars
32.8K
First Seen
Feb 25, 2026