MCP·B9A5F2
H

mcp-gopls

By hloiseaufcms·Visit Source
MCP server for Go LSP integration
April 17, 2025
2 months ago
5 Clicks
About mcp-gopls

MCP server for Go LSP integration. mcp-gopls is a Model Context Protocol (MCP) server maintained by hloiseaufcms. It connects to MCP-compatible clients such as Claude Desktop, Cursor, Cline, and other agents that speak the protocol. It exposes 6 tools, including go_to_definition, find_references, check_diagnostics, get_hover_info, get_completion and analyze_coverage, that an agent can call directly. It is categorized under Tool/LanguageServer and Language/Go.

What is this MCP

This is a Model Context Protocol server that connects AI assistants to Go's Language Server Protocol (gopls), enabling advanced code analysis features for Go projects.

How to use this MCP

Install via go install, then configure in your MCP-compatible tool by adding the server command to your configuration. The server provides tools like go_to_definition, find_references, and get_hover_info.

What this MCP can be used for

Enhancing AI assistant capabilities for Go development by providing LSP-powered features like code navigation, diagnostics, hover information, and completion suggestions directly within AI interactions.

Repository Info
Stars:
79
Forks:
11
Watchers:
79
Last Updated: 2 months ago

AIMCP authority

DR and traffic signal for the AIMCP public domain.

FAQ

Frequently asked questions

What is the mcp-gopls MCP server?

mcp-gopls is a Model Context Protocol server from hloiseaufcms. It lets MCP-compatible AI clients call its tools over a standard interface, so agents like Claude, Cursor, and Cline can use it without custom integration.

How do I connect mcp-gopls to my AI client?

Add mcp-gopls to your client's MCP configuration using the stdio or SSE connection shown in the usage examples on this page, then restart the client to load the server.

What tools does mcp-gopls provide?

mcp-gopls provides 6 tools: go_to_definition, find_references, check_diagnostics, get_hover_info, get_completion and analyze_coverage.

Is mcp-gopls free to use?

mcp-gopls is listed on AIMCP for free. Any API keys or accounts required by the underlying service are set by its provider.

Sponsored

Vernclaw Plugins for OpenClaw

Ready-to-use connectors for SEO data, social reading & content generation. Pay-as-you-go credits with audit logs.