go-mcp-server-generator
Installation
Summary
Generate production-ready Go MCP server projects with proper structure, dependencies, and typed tool implementations.
- Scaffolds complete Go module layout with official MCP SDK integration, including main server setup, tool registration, and graceful shutdown handling
- Provides typed tool handlers with JSON schema validation, structured inputs/outputs, and context-aware error handling
- Includes configuration management via environment variables, basic test structure, and README documentation templates
- Follows Go best practices: single-purpose tools, minimal main.go, structured logging, and signal handling for clean server termination
SKILL.md
Go MCP Server Project Generator
Generate a complete, production-ready Model Context Protocol (MCP) server project in Go.
Project Requirements
You will create a Go MCP server with:
- Project Structure: Proper Go module layout
- Dependencies: Official MCP SDK and necessary packages
- Server Setup: Configured MCP server with transports
- Tools: At least 2-3 useful tools with typed inputs/outputs
- Error Handling: Proper error handling and context usage
- Documentation: README with setup and usage instructions
- Testing: Basic test structure