# gopls (Go Language Server)

> Use this tool when you need to analyze and navigate Go codebases, as it provides essential development operations like go-to-definition, find references, and diagnostics for compilation errors. It offers a range of inputs including Go code files and outputs like hover information, workspace symbol search results, and error diagnostics. Use it in contexts like code review, refactoring assistance, and debugging to streamline Go development workflows.

Canonical page: https://skillsregistry.net/skills/yantrio-gopls  
JSON: https://api.skillsregistry.net/v1/skills/yantrio-gopls

## Description

This MCP server provides Go language development assistance by wrapping gopls (the official Go language server) to expose Go-specific development tools through the Model Context Protocol. Built by Yantrio using Go with the mark3labs/mcp-go library and sourcegraph/jsonrpc2 for LSP communication, it offers essential Go development operations including go-to-definition, find references, hover information for type signatures, diagnostics for compilation errors, and workspace symbol search. The implementation features automatic gopls process management, document synchronization, cross-platform file URI handling, and intelligent error handling with graceful fallbacks, making it valuable for AI assistants that need to understand, navigate, and analyze Go codebases for code review, refactoring assistance, debugging help, and general Go development workflows.

## Trust

- **Trust score (0–1):** 0.65
- **Verification tier:** scanned
- **Last scanned:** 2026-09-01

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** search
- **Updated:** 2026-09-01

## Source

- **Source listing:** [PulseMCP](https://www.pulsemcp.com/servers/yantrio-gopls)
- **Repository:** <https://github.com/yantrio/mcp-gopls>

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "yantrio-gopls"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/yantrio-gopls` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/yantrio-gopls/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
