Gopls Mcp for MCP
Gopls MCP: Go Semantic Analysis for AI Agents by Xieyuschen
- Free
- 4.3
- V v1.0.4
Gopls MCP: Go Semantic Analysis for AI Agents by Xieyuschen
Gopls MCP, developed by Xieyuschen, is an MCP server built in Go. It extends compiler-grade semantic analysis of Go code to AI agents. This tool integrates with the official Go language server, gopls, to expose its core functionalities. It enables AI assistants to gain a deeper, deterministic understanding of Go projects, enhancing coding assistance. Gopls MCP supports various AI clients, providing essential language services for advanced development workflows.
What does Gopls MCP connect to?
Gopls MCP functions as an MCP server, specifically designed to connect to and wrap gopls, the official Go language server. This connection allows Gopls MCP to expose the advanced functionalities of gopls directly to AI assistants. Its primary role is to deliver compiler-grade semantic analysis for Go code, ensuring AI agents can accurately interpret and interact with Go projects. This integration provides a foundational layer for intelligent Go development assistance.
Core features and tools
The server exposes several callable tools to AI agents. These include go_definition, which precisely locates where any Go symbol is defined within a codebase. go_references, also known as go_symbol_references, helps discover all usage locations for a specific symbol. go_hover provides complete type information, function signatures, and associated documentation. Lastly, go_symbols enables workspace-wide analysis of all symbols, offering a broad overview of the project's structure and elements.
Who is it for?
Gopls MCP is intended for Go developers who utilize AI agents or Large Language Models for coding assistance. It is particularly valuable for those requiring deterministic and semantic understanding of their Go projects. The tool supports enhanced interactions with Go codebases, moving beyond simple pattern matching to deep structural analysis. This allows AI agents to provide more accurate and context-aware suggestions. Skip this if your development workflow does not involve AI agents requiring Go semantic analysis.
How to get started
No credentials are required for basic operation. However, the Model Context Protocol generally supports an authorization specification for HTTP transports, allowing the server to require and the client to send a token.
Use cases
- Precise symbol lookup, such as finding the definition of an interface.
- Complete reference tracking, like identifying all calls to a specific function across a codebase.
- Obtaining rich type information, including function signatures and documentation.
Gopls MCP offers a specialized bridge for AI agents to interact with Go code at a compiler-grade semantic level. Developed by Xieyuschen, it wraps gopls to provide essential language services, enabling AI clients like Claude Code and Codex to offer more intelligent assistance. This tool is crucial for Go developers seeking precise code understanding from their AI partners.
Pros
- Provides compiler-grade semantic analysis for Go.
- Exposes gopls functionalities to AI agents.
- Supports multiple AI clients and communication modes.
- Enables deterministic understanding of Go projects.
Cons
- Authentication model requires external configuration.
- Relies on separate gopls installation.
- Requires specific client configuration for AI agents.
Gopls Mcp for MCP
- Free
- 4.3
- V v1.0.4
Top downloads

onlyboxes
Onlyboxes: A Self-Hosted Sandbox for AI Code Execution and Terminal Sessions
zcode-jetbrains-plugin
ZCode JetBrains plugin brings agentic coding into JetBrains IDEs

wordpress-mcp-elementor-wppilot
Builder-aware AI co‑developer for Elementor-powered WordPress sites

RustAPI
Rustapi: An AI-First Web Framework for Rust MCP Servers

TDPilot
AI copilot for TouchDesigner that edits live node graphs
Discover more programs

ingero
- 4.5
- Free
GPU observability focused on causal tracing for AI workloads

Mcp Graphql
- 4.9
- Free
MCP Graphql: Bridging AI Agents to Existing GraphQL APIs

Docker Tui
- 4
- Free
Docker Tui: AI-Powered Docker Management and Terminal Interface

clerk
- 4.9
- Free
Clerk: Local AI Coding Session Management for Developers

renderdoc-mcp
- 4.4
- Free
Renderdoc MCP: Bridging AI Assistants to GPU Frame Analysis
grafema
- 4.3
- Free
Grafema: Graph-Based Static Analysis for MCP Servers and AI Agents

gossiphs
- 4.3
- Free
Gossiphs: An MCP Server for Code Relationship Analysis

aptu-coder
- 4.7
- Free
Efficient Code Structure Analysis Tool

npl-cli
- 4
- Free
Npl CLI: A Command-Line Tool for NPL Development and Cloud Deployment
jcode
- 4.6
- Free
Jcode: A Rust-Built MCP Server Tool for Advanced AI Coding Agents