Validate Mcp Server
Validate the architecture and configuration of your MCP server with comprehensive checks.
<!-- fake-claude-plugins/commands/validate-mcp-server.md -->
description: Validate overall MCP server architecture and configuration
@mcp-dev-go-sdk-agent Perform comprehensive validation:
Structure Validation
- Tool Registration: Check all tools are registered in
internal/server/server.go - Model Definitions: Verify all models exist in
internal/models/types.go - HTTP Handler: Ensure
main.goproperly initializes StreamableHTTPHandler - Graceful Shutdown: Validate handler.Close() called before server.Shutdown()
- Environment Variables: Check all env vars are loaded and used correctly
Code Quality Checks
- No hardcoded credentials or URLs
- Proper context usage throughout
- Error handling consistency
- Logging setup and usage
- Test coverage for tools
Report any architectural issues, missing pieces, or anti-patterns found.