mcp-gopls

mcp-gopls

3.5

If you are the rightful owner of mcp-gopls and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

MCP-GOPLS is a Model Context Protocol server that wraps gopls to provide Go language server features.

MCP-GOPLS is a server implementation that leverages the Model Context Protocol to integrate with the Go language server, gopls. This server provides a comprehensive suite of features for Go developers, enhancing their coding experience by offering advanced language server capabilities. By wrapping gopls, MCP-GOPLS enables seamless navigation, code analysis, and refactoring within Go projects. It is designed to be easily integrated with tools like Claude Code and Claude Desktop, allowing developers to utilize its features across different platforms. The server supports various functionalities such as GoToDefinition, FindReferences, and more, making it an essential tool for Go developers looking to improve their productivity and code quality.

Features

  • GoToDefinition: Navigate to the definition of a symbol
  • FindReferences: Find all references to a symbol
  • GetDiagnostics: Get compile errors and static analysis findings
  • Hover: Get information about symbols under the cursor
  • FormatCode: Format Go source code according to gofmt standards