gopls-mcp

by xieyuschen

Not rated
GitHub

About

The essential MCP server for Go language: Exposing compiler-grade semantics to AI Agents and LLM for deterministic code analysis and minimal token usage.

Details

Author
xieyuschen
Categories
Developer Tools

Setup

Install gopls-mcp in your MCP client (Claude Desktop, Cursor, Windsurf, and others).

Repository: https://github.com/xieyuschen/gopls-mcp

Follow the installation instructions in the repository README, then restart your MCP client.

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

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 onsemantic tasks: finding all concrete types that implement an interface, tracing call hierarchies, and mapping package dependencies. Abenchmarkover 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.

/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 marketplace add https://github.com/xieyuschen/gopls-mcp.git codex plugin add gopls-mcp
curl -sSL https://gopls-mcp.org/install.sh | bash
irm https://gopls-mcp.org/install.ps1 | iex

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

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 ofgoplsand 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 itsupstreamsource.

This is a web browser that enables your coding agent, such as Claude Code, to visit websites on your behalf and assist you in identifying bugs or creating UI test cases.

An MCP server to help AI assistants to answer questions and generate AccelByte Extend SDK code more effectively .

Local stdio MCP server that lets AI coding agents read and maintain structured architecture, rules, and decisions directly from your repository.

Official Context7 MCP server that brings up-to-date, version-specific library documentation and code examples into AI coding prompts.

Remote, no-auth MCP server providing AI-powered codebase context and answers

Instead of direct calling MCP tools, mcpcode server transforms MCP tool calls into TypeScript programs, enabling smarter, lower-latency orchestration by LLMs.

Help agents automatically write and test stories for your UI components

Official Svelte MCP server, provides docs and suggestions on the generated code.

Supercharge your Agent with Semantic Code Intelligence and save 💰 in the process!

Execute any LLM-generated code in the YepCode secure and scalable sandbox environment and create your own MCP tools using JavaScript or Python, with full support for NPM and PyPI packages

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.