gopls-mcp

An MCP server that provides Go language tooling by integrating gopls with MCP hosts for AI-assisted development.
  • go

1

GitHub Stars

go

Language

6 months ago

First Indexed

2 months ago

Catalog Refreshed

Documentation & install

Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.

Installation

Add the following to your MCP client configuration file.

Configuration

View docs

Available tools

list_workspaces

List all configured Go workspaces in the MCP server.

go_to_definition

Navigate to symbol definitions within the active Go workspace.

find_references

Find all references to a symbol across the configured workspaces.

get_hover_info

Retrieve documentation and type information for symbols under the cursor.

get_diagnostics

Obtain compilation errors, warnings, and diagnostics for a Go file.

get_document_symbols

Get an outline of symbols defined in a Go file.

get_workspace_symbols

Search for symbols across the entire Go workspace.

get_signature_help

Provide function signature help and parameter information.

get_completions

Offer code completion suggestions for the current position.

get_type_definition

Navigate to the type definition for a symbol.

find_implementations

Find all implementations of interfaces or methods.

format_document

Format a Go file according to gofmt standards.

organize_imports

Organize and clean up import statements.

get_inlay_hints

Get inlay hints for implicit parameter names and types.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational