Gopls Go Language Server MCP Server

An MCP (Model Context Protocol) server that wraps gopls to provide Go language server features.

Local serverstdio

What is the Gopls Go Language Server MCP Server?

Gopls Go Language Server is an MCP project maintained in the yantrio/mcp-gopls repository. The maintainer describes its purpose as “An MCP (Model Context Protocol) server that wraps gopls to provide Go language server features”. Read the project documentation for the complete scope.

Local setup

The project provides a local client configuration using mcp-gopls. Follow the repository’s build and installation steps before copying it, and replace example paths with the paths on your own computer.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

How to install the Gopls Go Language Server MCP Server

{
  "mcpServers": {
    "mcp-gopls": {
      "command": "mcp-gopls",
      "args": []
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.