hl

hloiseaufcms/mcp-gopls

A MCP server for interacting with [Go's Language Server Protocol (gopls)](https://github.com/golang/tools/tree/master/gopls) and benefit from advanced Go code analysis features.

#Go#gopls#Language Server Protocol
Publisherhloiseaufcms/mcp-gopls
Submitted date4/19/2025

Overview: MCP LSP Go

Title: MCP LSP Go – A Model Context Protocol (MCP) server for Go LSP integration

How to Use:

  • Install via go install and configure in your MCP-supported AI assistant
  • Use tools like go_to_definition, find_references, and get_hover_info for code analysis
  • Interact via natural language queries (e.g., "Find the definition of this function")

Key Features:

  • LSP Integration: Connects to gopls for advanced Go code analysis
  • Code Navigation: Supports definition lookup and reference finding
  • Code Quality: Provides diagnostics and error checking
  • AI Assistance: Enables hover info, completions, and test coverage analysis

Use Cases:

  • AI-assisted Go development (e.g., Claude querying codebases)
  • Automated code reviews and error detection
  • Enhanced IDE-like features in AI tools (e.g., symbol exploration)

Visit More

View All