Go language server (gopls) wrapped as an MCP server for AI-powered code assistance in Claude and other MCP-compatible tools
Quick Install
Copy the config for your editor. Some servers may need additional setup — check the README.
Add to claude_desktop_config.json:
{
"mcpServers": {
"mcp-gopls": {
"command": "go",
"args": [
"run",
"github.com/Yantrio/mcp-gopls@latest"
]
}
}
}
Run in terminal:
claude mcp add mcp-gopls go run github.com/Yantrio/mcp-gopls@latest
Add to .cursor/mcp.json:
{
"mcpServers": {
"mcp-gopls": {
"command": "go",
"args": [
"run",
"github.com/Yantrio/mcp-gopls@latest"
]
}
}
}