mcp-server-development
Installation
SKILL.md
This skill provides comprehensive guidance for building robust MCP servers, with specific focus on the unity-mcp-server architecture and patterns.
Core Philosophy
MCP servers bridge AI assistants to external systems. They must be:
- Reliable: Handle errors gracefully, never crash unexpectedly
- Discoverable: Tools should have clear, self-documenting schemas
- Performant: Minimize latency, especially for stdio transport
- Protocol-compliant: Follow JSON-RPC 2.0 and MCP spec exactly
Architecture Patterns
Handler-Based Design
ALWAYS use a handler class per tool. Each handler encapsulates:
- Input validation (Zod schema)
- Business logic execution
- Error handling and response formatting
Related skills