beta

Go LSP (gopls) Configuration

MCP Servers

LSP server configuration for Go development — code intelligence, diagnostics, refactoring, and workspace support via gopls.

1703/26/2026
json1 file
.lsp.json153 B
{
  "lspServers": {
    "go": {
      "command": "gopls",
      "args": ["serve"],
      "extensionToLanguage": {
        ".go": "go"
      }
    }
  }
}