hloiseau/mcp-gopls
View on GitHub ↗Model Context Protocol (MCP) server for Go using gopls – LSP-powered analysis, tests, coverage, and tooling.
97 ★11 forksGoUpdated 2mo ago
What you need to know
Go LSP capabilities via MCP: go-to-definition, references, hover, completion, test, coverage, mod tidy, govulncheck
Install
Go 1.25+ build from source
Usage
- •Expose gopls-backed coding tools to agents
Key features
- ✓go-to-definition
- ✓references
- ✓hover
- ✓completion
- ✓go test
- ✓coverage
- ✓go mod tidy
- ✓govulncheck
Best for
Go coding assistants
Caveats
- ⚠Built on mark3labs/mcp-go; needs a Go toolchain
Platforms: GoClients: Claude · Codex
Reviewed 2026-08-11
Topics
- Stars
- 97★
- Forks
- 11
- Language
- Go
- License
- Apache-2.0
- Created
- 2025-04-05
- Last push
- 2026-06-22