skills/python-mcp-server-generator/SKILL.md
Generate a complete MCP server project in Python with tools, resources, and proper configuration
npx skillsauth add williamlimasilva/.copilot python-mcp-server-generatorInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Create a complete Model Context Protocol (MCP) server in Python with the following specifications:
uv init project-nameuv add "mcp[cli]"server.py).gitignore for Python projectsif __name__ == "__main__"FastMCP class from mcp.server.fastmcp@mcp.tool() decorator on functions@mcp.resource() decorator"resource://{param}"@mcp.prompt() decoratorFor stdio Servers:
uv run mcp dev server.pyuv run mcp install server.pyFor HTTP Servers:
stateless_http=Truejson_response=Truepython server.py or uv run server.pypython server.py then connect to http://localhost:PORT/mcpuv run mcp dev server.pyuv run mcp install server.pyGenerate a complete, production-ready MCP server with type safety, proper error handling, and comprehensive documentation.
development
Anxiety-aware, evidence-driven collaboration for stalled or high-stakes work when a user says uncertainty, repeated setbacks, or lack of visible progress is causing significant anxiety or distress. Use immediately when explicitly invoked; when this fit is only inferred from the user's own account, ask permission before applying it. Preserve the user's ideal and turn grounded perspective-taking into persistent, bounded problem solving. Do not use to diagnose, provide therapy, manufacture certainty, or lower goals for reassurance.
development
Build, review, debug, package, and test Roslyn diagnostic analyzers, code fix providers, and incremental source generators. Use for DiagnosticAnalyzer, CodeFixProvider, IIncrementalGenerator, IOperation analysis, Microsoft.CodeAnalysis dependency pinning, Roslyn test harnesses, C#/VB tests, and analyzer NuGet packaging.
testing
Migrates a project that uses checked-in .designer.cs files behind .resx to using a source-generator instead
development
Polish any GitHub repository's surface — labels (emoji rating tiers, P0–P3 priority, impact severity), issue forms, PR template, CI workflows, CODEOWNERS, rulesets, docs. Repo meta & config only — no code logic touched. Use when creating a new repo or polishing an existing one.