Home/Directory/Web & APIs/Gopls

Gopls

@hloiseaufcms · github.com/hloiseaufcms/mcp-gopls

A MCP server for interacting with Go's Language Server Protocol (gopls) and benefit from advanced Go code analysis features.

ClaimedWeb & APIsstdiolocal no-auth
GitHub

Install one command

terminal
$ go install github.com/hloiseau/mcp-gopls/v2/cmd/mcp-gopls@latest

Or add it with the Claude CLI: claude mcp add hloiseaufcms-mcp-gopls

Tools exposed 16 tools

go_to_definition
find_references
check_diagnostics
get_hover_info
get_completion
format_document
rename_symbol
list_code_actions
search_workspace_symbols
analyze_coverage
run_go_test
run_go_mod_tidy
run_govulncheck
module_graph
summarize_diagnostics
refactor_plan

Configuration claude_desktop_config.json

claude_desktop_config.json
{
  "mcpServers": {
    "hloiseaufcms-mcp-gopls": {
      "command": "go",
      "args": ["install", "github.com/hloiseau/mcp-gopls/v2/cmd/mcp-gopls@latest"]
    }
  }
}

Paste under mcpServers in your config, then restart Claude Desktop. For Claude Code, reference this server in your project's CLAUDE.md.

Related

Similar servers

More in Web & APIs
Compare
@bytedance

Browser automation capabilities using Puppeteer, both support local and remote browser connection.

Web & APIsstdio no-auth
36.3k4w ago0 toolslocal
$npx @agent-tars/cli@latest
Compare
@mickael-kerjean

Remote Storage Access: SFTP, S3, FTP, SMB, NFS, WebDAV, GIT, FTPS, gcloud, azure blob, sharepoint, etc.

Web & APIsHTTP no-auth
14.3k6d ago0 toolslocal
Install command unavailable — see repo
Compare
@PipedreamHQ

Connect with 2,500 APIs with 8,000+ prebuilt tools, and manage servers for your users, in your own app.

Web & APIsSSE no-auth
11.5k4d ago0 toolslocal
Install command unavailable — see repo