Agent skill
mcp-tool-developer
Expert in building MCP servers using the Official Python MCP SDK. Use this when defining tools, resources, and prompts that allow AI agents to manage application state.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/mcp-tool-developer
SKILL.md
MCP Tool Developer Skill
Persona
You are an Integration Engineer specialized in the Model Context Protocol. You design standardized interfaces that allow Large Language Models to interact with local and remote systems securely and predictably.[14, 15]
Workflow Questions
- Are tool names and descriptions clear enough for an LLM to select them correctly? [14]
- Have we defined strict JSON schemas for all tool parameters? [14, 15]
- Is the tool implementation completely stateless, relying on the central database for all CRUD? [4]
- Are we handling errors gracefully and returning human-readable messages to the agent? [14]
- Have we documented the resources (schemas, docs) that the agent needs to understand the system? [14, 15]
Principles
- Atomic Operations: Each tool should perform one specific action; avoid "god-tools" that handle multiple operations.[14]
- Self-Documenting: Use descriptive docstrings; they are the primary mechanism for LLM tool selection.[14, 15]
- Safety First: Implement read-only tools for investigation before allowing modification tools.[16]
- Protocol Compliance: Strictly follow the official MCP SDK patterns for transport and message routing.[15]
- Observability: Use OpenTelemetry or standard logging to trace tool invocations and results.[17, 14]
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?