wdm0006/python-skills/building-python-mcp-servers
Builds robust Python MCP (Model Context Protocol) servers with FastMCP — tool design, error contracts, event-loop-safe blocking work, subprocess/CLI wrapping, single-file vs packaged distribution, global-state-free testing, and prompt-injection awareness. Use when writing an MCP server, exposing a tool or CLI to an LLM client, debugging tool registration/packaging, or testing MCP tools.
Agent skill · version 0.0.0-main.1795736942.g95f001d · from wdm0006/python-skills
Install
npx yarkr-cli add skill:wdm0006/python-skills/building-python-mcp-serversWithout Node.js, on macOS and Linux (curl or wget):
curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:wdm0006/python-skills/building-python-mcp-servers
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:wdm0006/python-skills/building-python-mcp-serversOn Windows, in PowerShell:
irm https://yarkr.com/install.ps1 | iex; yarkr add skill:wdm0006/python-skills/building-python-mcp-serversWorks with Claude Code, Codex, opencode, Cursor, any harness over MCP.