mcp-gopls

hloiseaufcms/mcp-gopls

3.5

If you are the rightful owner of mcp-gopls and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

A Model Context Protocol (MCP) server that allows AI assistants like Claude to interact with Go's Language Server Protocol (LSP) and benefit from advanced Go code analysis features.

Tools

Functions exposed to the LLM to take actions

go_to_definition

Navigate to the definition of a symbol

find_references

Find all references to a symbol

check_diagnostics

Get diagnostics for a file

get_hover_info

Get detailed information about a symbol

get_completion

Get completion suggestions at a position

analyze_coverage

Analyze test coverage for Go code

Prompts

Interactive templates invoked by user choice

No prompts

Resources

Contextual data attached and managed by the client

No resources