MCP Servers / development / MCP LSP Go

MCP LSP Go

JSON →
stdionone85development

An MCP server that connects AI assistants to Go's Language Server Protocol (LSP) for advanced code analysis.

Install
How to run this server
[ { "cmd": "npx -y @mark3labs/mcp-inspector", "imports": [] } ]
server path: mcp-lsp-go
Tools
What this server exposes
textDocument/completion
Provides code completion suggestions at a given position in a document.
textDocument/definition
Goes to the definition of a symbol at a given position.
textDocument/references
Finds all references to a symbol at a given position.
textDocument/hover
Shows hover information for a symbol at a given position.
textDocument/signatureHelp
Provides signature help for a function call at a given position.
textDocument/formatting
Formats a document according to language server settings.
textDocument/codeAction
Lists and applies code actions (e.g., quick fixes) at a given position.
textDocument/rename
Renames a symbol across the workspace.
workspace/symbol
Searches for symbols in the workspace by query.
textDocument/documentSymbol
Lists all symbols in a document.
Configuration
Environment & auth
authnone
Resources
MCP LSP Go — MCP Server · libregistry