AcademyMCP serversDevelopment

mcp-gopls

Development teams that write Go and want their AI assistant to inspect and test the codebase.

  • Recommendedour rating
  • 103gitHub stars
  • Apache-2.0licence
  • 4 months agolast update
claude mcp add mcp-gopls -e MCP_GOPLS_LOG_LEVEL=info -- mcp-gopls --workspace /absolute/path/to/your/go/project
README.md

Loading the file...

What it does

An MCP server that gives AI assistants access to gopls, the Go language server. The assistant can navigate definitions and references, format and rename code, run tests and coverage, tidy modules and check for vulnerabilities.

Use cases

  1. 01Find where a Go function is defined and used
  2. 02Run Go tests and review coverage results
  3. 03Check a module for known vulnerabilities

Questions about
mcp-gopls.

What is mcp-gopls used for?

Development teams that write Go and want their AI assistant to inspect and test the codebase. An MCP server that gives AI assistants access to gopls, the Go language server. The assistant can navigate definitions and references, format and rename code, run tests and coverage, tidy modules and check for vulnerabilities.

How do I install mcp-gopls?

Run this in your terminal: claude mcp add mcp-gopls -e MCP_GOPLS_LOG_LEVEL=info -- mcp-gopls --workspace /absolute/path/to/your/go/project

Is mcp-gopls open source?

Yes. The code is on GitHub (hloiseau/mcp-gopls) under the Apache-2.0 licence.

Is mcp-gopls safe to use?

It passed our automatic scan for credential theft, hidden instructions and risky install commands. Third party open source software. Sabemos AI does not maintain it. Check the code and permissions before you connect it to company data.