Gopls
Summary
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.
Available Actions(6)
go_to_definition
Navigate to the definition of a symbol.
find_references
Find all references to a symbol.
check_diagnostics
Get diagnostics for a file.
get_hover_info
Get detailed information about a symbol.
get_completion
Get completion suggestions at a position.
analyze_coverage
Analyze test coverage for Go code.
Reseñas de la Comunidad
Aún no hay reseñas. ¡Sé el primero en reseñar!
Inicia sesión para unirte a la conversación