hloiseau/mcp-gopls

Model Context Protocol (MCP) server for Go using gopls – LSP-powered analysis, tests, coverage, and tooling.

43
/ 100
Emerging

Exposes LSP capabilities (go-to-definition, hover, completion, formatting, code actions) and Go tooling (test execution, coverage analysis, `go mod tidy`, `govulncheck`, module graph) via MCP tools and resources, enabling AI assistants to perform full-featured code navigation and refactoring. Built on the `mark3labs/mcp-go` library communicating with `gopls` over LSP, with progress streaming for long-running operations and structured logging. Includes curated MCP resources (`workspace/overview`, `workspace/go.mod`) and custom prompts for diagnostic summarization and refactor planning.

No Package No Dependents
Maintenance 10 / 25
Adoption 9 / 25
Maturity 9 / 25
Community 15 / 25

How are scores calculated?

Stars

70

Forks

11

Language

Go

License

Apache-2.0

Category

go-mcp-servers

Last pushed

Feb 02, 2026

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/mcp/hloiseau/mcp-gopls"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.