hloiseaufcms/mcp-gopls
by Various
Model Context Protocol (MCP) server for Go using gopls – LSP-powered analysis, tests, coverage, and tooling.
MCP
hloiseaufcms/mcp-gopls
Added 1 June 2026
Overview
hloiseaufcms/mcp-gopls is a Model Context Protocol server that wraps Go's language server (gopls) into MCP-compatible endpoints. It allows AI assistants to perform LSP-powered Go code analysis, run tests, check coverage, and access tooling directly from the protocol.
Best for
Best for
Go developers who want AI-assisted tooling integrated with gopls
Use cases
- Analyze Go code structure and diagnostics
- Run tests and view coverage reports
- Refactor or generate Go code suggestions
How to use
Install
npx -y @mark3labs/mcp-inspector \ Tools exposed
Go-to-definitiongo_to_definitionfind_referencescheck_diagnosticsget_hover_infoget_completionformat_documentrename_symbollist_code_actionssearch_workspace_symbolsanalyze_coveragerun_go_testrun_go_mod_tidyrun_govulncheckmodule_graphsummarize_diagnosticsrefactor_planMCP_GOPLS_WORKSPACEMCP_GOPLS_GOPLS_PATHMCP_GOPLS_LOG_LEVEL
Tested with
Claude Desktop, Cursor, VS Code
Notes
hloiseaufcms/mcp-gopls is a Model Context Protocol server that wraps Go’s language server (gopls) into MCP-compatible endpoints. It allows AI assistants to perform LSP-powered Go code analysis, run tests, check coverage, and access tooling directly from the protocol.
86 stars on GitHub. Last updated 2026-02-02. Licensed Apache-2.0.
Use cases
- Analyze Go code structure and diagnostics
- Run tests and view coverage reports
- Refactor or generate Go code suggestions
Pros
- Leverages gopls for accurate, LSP-standard Go analysis
- Supports testing and coverage workflows directly via MCP
- Open-source (MIT licensed) and written in Go
Cons
- Requires gopls to be installed and configured separately
- Limited to Go ecosystem, not multi-language
- Small community (86 stars) may mean fewer contributions or updates
Indexed from awesome-mcp-servers-punkpeye and enriched against its public facts.
Pros
- Leverages gopls for accurate, LSP-standard Go analysis
- Supports testing and coverage workflows directly via MCP
- Open-source (MIT licensed) and written in Go
Cons
- Requires gopls to be installed and configured separately
- Limited to Go ecosystem, not multi-language
- Small community (86 stars) may mean fewer contributions or updates
Pairs with
Other entries in the index that connect to this one. Click through to see the chain.
Cline
Cline
Open-source autonomous coding agent that lives inside VS Code. BYO model key, watch it work.
Continue
Continue.dev
Open-source AI code assistant for VS Code and JetBrains. Customisable, BYO model, built for enterprise.
Claude Code
Anthropic
Anthropic's terminal-native coding agent. Reads your repo, edits files, runs tests, ships PRs.
Get the free Developer’s Field Guide
A 27-page field guide to the AI coding workflow with Claude. Claude Code, MCP servers, the prompt patterns that work, and what to delegate. Free.
Enter your work email. We send it straight over, plus a few short notes worth knowing. Unsubscribe any time.