CustomAgent.app
Skill
mcp
✓ Verified
NEW
Free

Python MCP Server Generator

Scaffold a Python MCP server using the official mcp SDK with async tools and resources.

4.8(51 reviews)
18,700 installs
by Anthropic

About

Generates a Python MCP server using the official `mcp` SDK. Async by default, type-hinted, with Pydantic input validation. Includes Dockerfile and a working tool example you can extend.

Tags

mcppythonasyncscaffold

Skill Instructions Preview

# Python MCP Server Generator

Scaffold a Model Context Protocol server in Python.

## Generated Files
- pyproject.toml with mcp SDK
- src/server.py — async server bootstrap
- src/tools/ — async tool handlers
- src/models.py — Pydantic input/output models
- Dockerfile (python:3.12-slim)
- README with config snippet

## Defaults
- Async/await throughout
- Pydantic for validation
- Structured logging
- Type hints required

Related Skills

SkillNEW
mcp
FREE

TypeScript MCP Server Generator

Scaffold a complete Model Context Protocol server in TypeScript with tools, resources, and prompts.

mcptypescriptmodel-context-protocol
A
Anthropic
4.9(64)
22k
1.7k
SkillNEW
mcp
FREE

C# MCP Server Generator

Scaffold a .NET MCP server with dependency injection and structured tool registration.

mcpcsharpdotnet
M
Microsoft
4.7(28)
11k
720
Install
# Add as Claude Code slash command:
curl -fsSL "https://raw.githubusercontent.com/github/awesome-copilot/main/skills/python-mcp-server-generator/SKILL.md" \
  -o ~/.claude/commands/python-mcp-server-generator.md
View source on GitHub →

Compatible with

claude code

Trigger phrase

/mcp-py
A

Anthropic

@modelcontextprotocol

View on GitHub