mcp-gopls
21
MCP LSP Go is a server that connects AI assistants with Go's Language Server Protocol, enabling advanced code analysis features such as navigation, diagnostics, and completion suggestions. It is intended for use with tools supporting the Model Context Protocol.
MCP LSP Go
A Model Context Protocol (MCP) server that allows AI assistants to interact with Go's Language Server Protocol (LSP) for enhanced code analysis.
Features
- LSP Integration for Go code analysis
- Code Navigation: Find definitions and references
- Code Quality: Diagnostics and error checking
- Advanced Information: Hover info and completion suggestions
Installation
Install via Go: go install github.com/hloiseaufcms/mcp-gopls/cmd/mcp-gopls@latest
Prerequisites
- Go 1.21 or higher
- gopls installed