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.
暂无评论. 成为第一个评论的人!
登录以参与讨论
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.