A Python template repository for building MCP servers with FastMCP, showcasing a range of component types developers will likely implement. Includes practical tools like DuckDuckGo web search, password generation, permutation calculations, and a Python code runner using Pydantic Monty. Demonstrates client-side sampling with a pirate-speak summarizer and elicitation with von Mises distribution random numbers. Resources handle both binary data (Base64-encoded PNG logo with SHA3-512 hash) and dynamic templated URLs for Unicode character lookup. The code prompt generation shows prompt implementation patterns. Well-tested with pytest coverage and security scanning via CodeQL and OpenSSF Scorecard. Fork this when you want to spin up a new Python MCP server without reinventing project structure, testing harnesses, or examples of every component type.
claude mcp add --transport http ai.smithery-anirbanbasu-pymcp https://server.smithery.ai/@anirbanbasu/pymcp/mcp