Model Context Protocol (MCP) server patterns for building integrations with Claude Code. Triggers on: mcp server, model context protocol, tool handler, mcp resource, mcp tool.
82
75%
Does it follow best practices?
Impact
97%
2.15xAverage score across 3 eval scenarios
Passed
No known issues
Optimize this skill with Tessl
npx tessl skill review --optimize ./data/skills-md/0xdarkmatter/claude-mods/mcp-patterns/SKILL.mdMCP server project structure and Python server entry point
src layout
100%
100%
server.py exists
100%
100%
tools.py exists
0%
0%
pyproject.toml exists
100%
100%
mcp.server import
25%
100%
stdio_server import
0%
100%
list_tools decorator
0%
100%
call_tool decorator
0%
100%
call_tool return format
0%
100%
unknown tool ValueError
0%
100%
stdio_server startup
0%
100%
uv Claude Desktop config
55%
100%
MCP tool schema, error handling, and correct content return format
mcp.server import
0%
100%
stdio_server import
0%
100%
list_tools decorator
0%
100%
tool schema fields
0%
100%
call_tool decorator
0%
100%
content return structure
0%
100%
unknown tool ValueError
0%
100%
stdio_server async context
0%
100%
create_initialization_options
0%
100%
asyncio.run entrypoint
0%
100%
review_notes content format
50%
100%
Claude Desktop configuration with uv and env var auth placement
Uses uv command
100%
100%
uv run args
100%
100%
--directory flag
100%
100%
python -m invocation
100%
100%
env block present
100%
100%
token in env block
100%
100%
explanation: uv rationale
100%
100%
explanation: env placement rationale
100%
100%
No shell export suggestion
100%
100%
c50d4b5
Table of Contents
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.