A Model Context Protocol (MCP) server that provides Go language tools for LLMs to analyze, test, and format Go code.
Features:
- Full set of Go code analysis tools (
go vet,go test,go fmt,golint,deadcode,go mod tidy) - TypeScript implementation with strict type checking
- Comprehensive error handling and validation
- Tool output passed directly to LLMs
- Setup & Installation: See HUMANS.md
- Development & Constraints: See AGENTS.md
- Security & Reporting: See SECURITY.md
- Contributing: See CONTRIBUTING.md
- Changes: See CHANGELOG.md
go_analyze— Comprehensive code analysis using golangci-lint (configurable severity, auto-fix)go_fix— Code cleanup: runsgo mod tidy,goimports, andgofumptin sequencego_test— Run Go tests with optional coverage reports, race detection, and benchmarks
All tools require an absolute wd (working directory) path parameter.
MIT