{"id":"hloiseau-mcp-gopls","name":"mcp-gopls","homepage":"https://github.com/hloiseau/mcp-gopls/blob/main/docs/usage.md","repo_url":"https://github.com/hloiseau/mcp-gopls","category":"devtools","subcategories":[],"tags":["mcp","go","gopls","lsp","developer-tools","ai-tools","code-intelligence"],"what_it_does":"mcp-gopls is a Model Context Protocol (MCP) server that wraps Go’s gopls (LSP) to provide AI clients with Go code intelligence and tooling over MCP: navigation (definitions/references), editor features (hover/completion/format/rename/code actions), and Go commands (go test with coverage, go mod tidy, govulncheck, module graph), plus MCP resources/prompts and progress notifications for long-running operations.","use_cases":["Go workspace navigation and code understanding via AI (definitions, references, workspace symbols)","AI-assisted Go diagnostics/triage using cached diagnostics + summarization prompts","AI-assisted code editing workflows (format, rename, code actions) through MCP","Automated Go test/coverage runs initiated from an agent, with streamed progress","Dependency management and security checks triggered from an agent (go mod tidy, go mod graph, govulncheck)"],"not_for":["Secured, multi-tenant remote API access to private data (it appears intended to run locally/with a mounted workspace)","Public-facing web services requiring authentication/authorization for each request","Environments that cannot run Go/gopls tooling or that forbid spawning subprocesses for go/govulncheck commands"],"best_when":"You want an AI IDE/agent to act like an LSP-powered Go coding assistant, with the ability to also run common Go tooling against a local workspace.","avoid_when":"You cannot trust the client environment that will access your local filesystem/workspace, or you need fine-grained authorization/audit trails for each operation.","alternatives":["Built-in gopls MCP (limited tool set compared to this project, per README)","IDE-integrated gopls without MCP (direct LSP usage)","Other MCP servers for different languages/toolchains","Direct CLI usage of go test/coverage/govulncheck with separate parsing/reporting"],"af_score":63.2,"security_score":24.0,"reliability_score":37.5,"package_type":"mcp_server","discovery_source":["github"],"priority":"high","status":"evaluated","version_evaluated":null,"last_evaluated":"2026-03-30T13:51:48.261690+00:00","interface":{"has_rest_api":false,"has_graphql":false,"has_grpc":false,"has_mcp_server":true,"mcp_server_url":null,"has_sdk":false,"sdk_languages":[],"openapi_spec_url":null,"webhooks":false},"auth":{"methods":["No auth mechanism described for the MCP server (operates as a local stdio MCP server)."],"oauth":false,"scopes":false,"notes":"The README focuses on running the server locally (stdio/command invocation) and configuring workspace/tooling; no authentication/authorization scheme is documented for MCP requests."},"pricing":{"model":null,"free_tier_exists":false,"free_tier_limits":null,"paid_tiers":[],"requires_credit_card":false,"estimated_workload_costs":null,"notes":"Open-source; no pricing model described in the provided content."},"requirements":{"requires_signup":false,"requires_credit_card":false,"domain_verification":false,"data_residency":[],"compliance":[],"min_contract":null},"agent_readiness":{"af_score":63.2,"security_score":24.0,"reliability_score":37.5,"mcp_server_quality":88.0,"documentation_accuracy":85.0,"error_message_quality":0.0,"error_message_notes":null,"auth_complexity":95.0,"rate_limit_clarity":0.0,"tls_enforcement":0.0,"auth_strength":10.0,"scope_granularity":10.0,"dependency_hygiene":50.0,"secret_handling":60.0,"security_notes":"No network/TLS or auth model is described; it appears designed for local execution via stdio. Risk is primarily from executing Go tooling (subprocesses) and reading the mounted workspace; ensure the runtime environment is trusted and restrict filesystem access accordingly. Dependency hygiene is unknown from provided content; scores are conservative.","uptime_documented":0.0,"version_stability":60.0,"breaking_changes_history":40.0,"error_recovery":50.0,"idempotency_support":"false","idempotency_notes":"Some operations are inherently non-idempotent depending on what client applies (e.g., rename/format return edits; running go test/coverage is repeatable but consumes resources). No explicit idempotency guarantees are stated.","pagination_style":"none","retry_guidance_documented":false,"known_agent_gotchas":["Long-running tools emit notifications/progress; agents should handle concurrent runs using the namespaced progress token scheme mentioned in README to avoid 'unknown token' errors.","Some tools rely on cached diagnostics (check_diagnostics/run_go_test -> summarize_diagnostics prompt). Agents should call the prerequisite tool first.","Operations may require access to the provided workspace path; incorrect --workspace can lead to empty/failed results."]}}