MCP Directory
Back

mcp-gopls

by Yantrio · Go · ★ 43

Go language server (gopls) wrapped as an MCP server for AI-powered code assistance in Claude and other MCP-compatible tools

Install

go install github.com/Yantrio/mcp-gopls@latest

Claude Desktop config

Add this to your claude_desktop_config.json:

{
  "mcpServers": {
    "mcp-gopls": {
      "command": "npx",
      "args": [
        "-y",
        "github:Yantrio/mcp-gopls"
      ]
    }
  }
}

From the README

An MCP (Model Context Protocol) server that wraps gopls to provide Go language server features. > ⚠️ **WARNING**: This entire project was generated by [Claude Code](https://claude.ai/code) without human code review. While it passes tests and appears functional, please use with **EXTREME CAUTION** in production environments. The code has not been audited for security, performance, or edge cases. See [DESIGN.md](DESIGN.md) for the AI-generated design document. All gopls language server features are now implemented: - **GoToDefinition**: Navigate to the definition of a symbol - **FindReferences…
Read full README on GitHub →

💡 Need a managed MCP host?

Try Claude Pro for the smoothest MCP experience, or browse our cloud-hosted servers.

Related filesystem servers