1. Conduid
  2. Data
  3. hloiseaufcms/mcp-gopls
MCP server · Data

hloiseaufcms/mcp-gopls

Model Context Protocol (MCP) server for Go using gopls – LSP-powered analysis, tests, coverage, and tooling.

66Good

Scored 1 hours ago · breakdown

About hloiseaufcms/mcp-gopls

hloiseaufcms/mcp-gopls is an MCP server published by hloiseau in the Data category: model Context Protocol (MCP) server for Go using gopls – LSP-powered analysis, tests, coverage, and tooling. Conduid read 14 tools from its source: analyze_coverage, check_diagnostics, find_references, format_document, get_completion, get_hover_info and 8 more. No package is published for it, so it installs from a source checkout.

The repository has 104 stars and 11 forks, is licensed Apache-2.0, and its last commit was on 22 Jun 2026. The latest release is v2.1.0 (22 Jun 2026). It follows v2.0.1 (7 Jan 2026), and the 4 most recent releases go back to v1.0.0 (22 Nov 2025). It passes 5 of the 6 static checks Conduid ran on the repository; it does not pass Scoped permissions. Its topics include devtools, gopls and lsp.

Install

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

Tools (14)

analyze_coverageRun `go test` with coverage + optional per-function report
ParameterTypeDescription
output_formatstringFormat of the coverage output: 'summary' (default) or 'func' (per function)
pathstringPath to the package or directory to analyze. Defaults to ./...
check_diagnosticsFetch cached diagnostics for a file
ParameterTypeDescription
file_uri *stringURI of the file
find_referencesList all references for a symbol
ParameterTypeDescription
file_uri *stringURI of the file
position *objectPosition of the symbol
format_documentReturn formatting edits for an entire document
ParameterTypeDescription
file_uri *stringURI of the file to format
get_completionReturn completion labels at a position
ParameterTypeDescription
file_uri *stringURI of the file
position *objectPosition where to get completion
get_hover_infoReturn hover markdown for a symbol
ParameterTypeDescription
file_uri *stringURI of the file
position *objectPosition of the symbol
go_to_definitionNavigate to the definition of a symbol
ParameterTypeDescription
file_uri *stringURI of the file
position *objectPosition of the symbol
list_code_actionsList available code actions for a range
ParameterTypeDescription
file_uri *stringURI of the file
range *objectRange to inspect for code actions
module_graphReturn `go mod graph` output
rename_symbolReturn workspace edits for a rename
ParameterTypeDescription
file_uri *stringURI of the file
new_name *stringNew identifier name
position *objectPosition of the symbol
run_go_mod_tidyExecute `go mod tidy`
run_go_testExecute `go test` for a package/pattern
ParameterTypeDescription
pathstringPackage path or pattern. Defaults to ./...
run_govulncheckExecute `govulncheck ./...`
search_workspace_symbolsSearch workspace-wide symbols
ParameterTypeDescription
query *stringSearch query

Security checks

Static checks derived from the repository 10 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository's README runs to about 2.5K words.
  • ✓License declaredThe repository declares the Apache-2.0 license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedDependency versions are pinned by go.sum.
  • ✓No dynamic code executionScanned 22 source files and found no eval, dynamic Function or shell execution.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

What the source scan found

Transport
None found in the source
Starts other programs
3 callsinternal/goenv/goenv.go:21, pkg/lsp/client/gopls.go:137, pkg/tools/lsp_tools.go:218
Outbound network calls
No outbound network calls
Writes or deletes files
3 callspkg/server/server.go:186, pkg/tools/testing.go:92, pkg/tools/testing.go:97
Lockfile
go.sum

Pattern matches on the source text of 22 files: places to read, not proof of what the code does at run time.

Releases

v2.1.0v2.1.0 · 22 Jun 2026What's Changed docs: Enhance README and usage documentation for Docker support by @hloiseaufcms in https://github.com/hloiseau/mcp-gopls/pull/10 docs: Add Docker image badge to README for enhanced visibility by @hloiseaufcms in…
v2.0.1v2.0.1 · 7 Jan 2026What's Changed Add feature comparison to README.md by @hloiseaufcms in https://github.com/hloiseau/mcp-gopls/pull/6 feat: Add tool annotations for improved LLM tool understanding by @triepod-ai in…
v2.0.0V2.0.0 · 22 Nov 2025v2.0.0 – 2025-11-22 Added Expanded MCP tool suite – the server now registers navigation (`go_to_definition`, `find_references`), diagnostics (`check_diagnostics`), insights (`get_hover_info`, `get_completion`), refactor helpers…
v1.0.0v1.0.0 · 22 Nov 2025What's Changed Fix implementation issues in mcp-gopls by @bmorphism in https://github.com/hloiseau/mcp-gopls/pull/2 New Contributors @bmorphism made their first contribution in https://github.com/hloiseau/mcp-gopls/pull/2 Full Changelog:…

README

The repository's README runs to about 2.5K words, fetched a month ago. The original in the repository is authoritative.

Read full README
Questions

About hloiseaufcms/mcp-gopls

How do I install hloiseaufcms/mcp-gopls?

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

Is hloiseaufcms/mcp-gopls safe to use with an AI agent?

Its trust score is 66 out of 100 (good). It passes 5 of the 6 static checks Conduid ran on the repository; it does not pass Scoped permissions. Conduid's scan of 22 source files found that it starts other programs (3 calls) and writes or deletes files (3 calls). Its dependencies are pinned by go.sum. It has no ConduID identity yet, so agent calls to it are not receipted.

Is hloiseaufcms/mcp-gopls still maintained?

Yes — the latest release is v2.1.0 (22 Jun 2026), and the last commit was 5 months ago. The repository has 104 stars and 7 open issues.

What tools does hloiseaufcms/mcp-gopls provide?

Conduid read 14 tools from the source: analyze_coverage, check_diagnostics, find_references, format_document, get_completion, get_hover_info, go_to_definition, list_code_actions and 6 more. 11 of them publish their parameters, listed under Tools above.

What license is hloiseaufcms/mcp-gopls released under?

The repository declares the Apache-2.0 license. That applies to the latest release, v2.1.0, as well.