mcp-server-fastmcp-python - Build Python MCP servers with FastMCP
Implements Python MCP servers with FastMCP, Pydantic validation, transport selection, tool/resource/prompt management, and structured error handling.
Tags
Updated: 2026-11-06Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Build FastMCP servers
- Validate tool inputs with Pydantic
- Register tools, resources, and prompts
- Select stdio or HTTP transport
- Handle errors with McpError
- Test servers with mcp dev
Inputs
- Python project
- Tool specifications
- Resource URI specifications
- Prompt template specifications
- Transport selection
Outputs
- MCP server code
- Registered tools and resources
- Discoverable prompt templates
- Structured MCP error responses
Requirements
- Python 3.10 or later
- FastMCP v3.x or 4.0.0b1
- Pydantic
- Python MCP SDK v2
