1. Conduid
  2. Developer Tools
  3. Gopls MCP
MCP server · Developer Tools

Gopls MCP

MCP server for golang projects development: Expand AI Code Agent ability boundary to have a semantic understanding and determinisic information for golang projects.

Unclaimed BSD-3-Clause devtools
72Good

Scored 5 months ago · breakdown

About Gopls MCP

Gopls MCP is an MCP server published by xieyuschen in the Developer Tools category: mCP server for golang projects development: Expand AI Code Agent ability boundary to have a semantic understanding and determinisic information for golang projects.

The repository has 60 stars and 6 forks, with the last commit yesterday. Recent commit activity is the strongest signal that reported issues will get attention.

Install

From source
git clone https://github.com/xieyuschen/gopls-mcp

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about Gopls MCP

Powered by Claude · Grounded in docs

I know everything about Gopls MCP. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

Static checks derived from the repository yesterday. Heuristics on the source, not an audit.

  • ✓README presentThe repository ships documentation.
  • ✓License declaredUsable under a stated license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedA lockfile pins dependency versions.
  • !No dynamic code executionSource scan found eval or shell execution. Review how tool inputs reach it before granting credentials.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

Releases

v1.0.8v1.0.8 · 15 Oct 2026Changelog 947874e34e63c9e4bfaf8c82443f33c7e24e0e24 bench: add headless benchmark suite + correct README performance claims (#46) 7e94c6a1dd2084438fef38e187db49f5f3305784 chore: bump version to 1.0.8 7b5beaab9348854dc23c069df652489148777c82…
v1.0.7v1.0.7 · 29 Jun 2026Changelog ab73192c3dd54aa984d04c3c74c6882cad19b6a1 chore: bump version to release (#45) c10a84057e29c772f61c16aba948040d0eaa19dd feature: deliver gopls-mcp as a Claude Code / Codex plugin (#44)
v1.0.6v1.0.6 · 27 May 2026Changelog be98cd5e3e4ef1d150c22cfe2675dcdf5aa44c5b refactor: consolidate test/ into single integration suite, 54% line reduction (#41) e146ee1eb9137ffbc8d841807f211241eecddc8d refactor: drop 8 tools that overlap with native grep/Read…
v1.0.5v1.0.5 · 25 May 2026Changelog 9d0c6210cb42bce4f2867192603d080be3470b10 all: fix some comments to improve readability 3a1eeb20a2beaa775bc3887b34b7e928cd167cb2 all: fix some minor issues in the comments 312cefaf42c6f592464280ab90b27419a0477a3c all: fix typos in…
v1.0.4v1.0.4 · 2 Mar 2026Changelog 2c026ae4ade8e4ef90deff5bfe7313caaf731512 ci: release mcp server to registry.modelcontextprotocol.io (#24)

README

gopls-mcp

Give your AI Agent the compiler's brain, not a text searcher.

Documentation: https://gopls-mcp.org

gopls-mcp delivers type-checker-level semantic analysis directly to your LLM. Unlike text search, it resolves Go's type system — interface satisfaction, cross-package identity, and shadowed scopes — with the same precision as the compiler.

Where it pays off most is on semantic tasks: finding all concrete types that implement an interface, tracing call hierarchies, and mapping package dependencies. A benchmark over 11 tasks shows gopls-mcp uses 2–4× fewer tool calls and finishes faster than grep-based navigation on those tasks. For simple same-file lookups, plain bash/grep remains equally effective and carries less overhead.

Install

Claude Code (plugin — recommended)

/plugin marketplace add https://github.com/xieyuschen/gopls-mcp.git
/plugin install gopls-mcp

The plugin automatically installs the binary and injects the routing skill — no manual setup required.

Codex (plugin — recommended)

codex plugin marketplace add https://github.com/xieyuschen/gopls-mcp.git
codex plugin add gopls-mcp

Manual install (all clients)

Linux / macOS:

curl -sSL https://gopls-mcp.org/install.sh | bash

Windows (PowerShell):

irm https://gopls-mcp.org/install.ps1 | iex

Then follow the per-client setup at https://gopls-mcp.org/quick-start.

Contribute

The project is actively developing, and feel free to raise PRs or issues if you find anything to improve. AI generated code will also be accepted but do remember to narrow the change to a specific feature for reviewer to quickly review them.

Disclaimer: gopls-mcp is a fork of gopls and is a community-driven project. It is not an official Go team product and is not affiliated with or endorsed by Google LLC. This project is licensed under the same BSD license as its upstream source.

README fetched from the repository yesterday. The original is authoritative.

Questions

About Gopls MCP

How do I install Gopls MCP?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Gopls MCP safe to use with an AI agent?

Its trust score is 72 out of 100 (good). It passes 4 of the 6 static security checks run so far; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Gopls MCP still maintained?

Yes — the latest release is v1.0.8 (15 Oct 2026), and the last commit was yesterday. The repository has 60 stars and 3 open issues.