MCP-Gopls is a server implementation that bridges the Go Programming Language Server (gopls) with the Model Context Protocol, enabling AI assistants to perform advanced code analysis on Go projects. It provides tools for code navigation (go-to-definition, find references), code completion, hover documentation, diagnostic error checking, and test coverage analysis. The server manages communication with the gopls language server through JSON-RPC, handling initialization, reconnection, and message formatting to make Go's powerful static analysis capabilities accessible through a standardized MCP interface.
No reviews yet. Be the first to review!
Sign in to join the conversation
Navigate to the definition of a symbol.
Find all references to a symbol.
Get diagnostics for a file.
Get detailed information about a symbol.
Get completion suggestions at a position.
Analyze test coverage for Go code.