Back to directory
hloiseau/mcp-gopls

hloiseau/mcp-gopls

@hloiseau

Model Context Protocol (MCP) server for Go using gopls – LSP-powered analysis, tests, coverage, and tooling.

gogoplslspmcpcode-analysistestingcoveragedevelopment-toolstool

Installation & Configuration

{
  "mcpServers": {
    "mcp-gopls": {
      "command": "mcp-gopls",
      "args": [
        "--workspace",
        "/absolute/path/to/your/go/project"
      ],
      "env": {
        "MCP_GOPLS_LOG_LEVEL": "info"
      }
    }
  }
}

Information

Transport
stdio
Language
Go
Created
2026/6/13
Updated
2026/6/13