1. Conduid
  2. Developer Tools
  3. Go Dev MCP
MCP server · Developer Tools

Go Dev MCP

A MCP server for Golang development

Unclaimed MIT devtools
56Fair

Scored yesterday · breakdown

About Go Dev MCP

Go Dev MCP is an MCP server published by fpt in the Developer Tools category: a MCP server for Golang development.

The repository has 13 stars and 3 forks, with the last commit 2 months ago. Recent commit activity is the strongest signal that reported issues will get attention.

Install

From source
git clone https://github.com/fpt/go-dev-mcp

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Tools (5)

outline_go_packageGet a comprehensive outline of a Go package: dependencies, exported declarations, and call graph

Parameters not published.

read_godocRead Go package documentation with line-based paging

Parameters not published.

search_godocSearch for Go packages on pkg.go.dev

Parameters not published.

search_within_godocSearch for keywords within a specific Go package's documentation

Parameters not published.

validate_go_codeValidate Go code using go vet, build checks, formatting, and module tidiness

Parameters not published.

Ask AI

✦

Ask AI about Go Dev MCP

Powered by Claude · Grounded in docs

I know everything about Go Dev MCP. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

Static checks derived from the repository 2 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository ships documentation.
  • ✓License declaredUsable under a stated license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedA lockfile pins dependency versions.
  • ✓No dynamic code executionSource scan found no eval, dynamic Function, or shell execution.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

Releases

v0.1.7v0.1.7 · 27 Jun 2026What's Changed chore: update dependencies and add MCP tool annotations by @fpt in https://github.com/fpt/go-dev-mcp/pull/28 feat: add Claude Desktop MCPB bundle by @fpt in https://github.com/fpt/go-dev-mcp/pull/29 Full Changelog:…
v0.1.6v0.1.6 · 10 Feb 2026What's Changed add rust/python support by @fpt in https://github.com/fpt/go-dev-mcp/pull/27 Full Changelog: https://github.com/fpt/go-dev-mcp/compare/v0.1.5...v0.1.6
v0.1.5Add Rust/Python doc support · 10 Feb 2026What's Changed Mod update & workflow by @fpt in https://github.com/fpt/go-dev-mcp/pull/26 Full Changelog: https://github.com/fpt/go-dev-mcp/compare/v0.1.3...v0.1.5
v0.1.3v0.1.3 · 20 Aug 2025What's Changed feat: search in godoc by @fpt in https://github.com/fpt/go-dev-mcp/pull/16 feat: introduce extract-declarations tool. by @fpt in https://github.com/fpt/go-dev-mcp/pull/17 feat: Add a markdown tool by @fpt in…

README

GoDevMCP

Introduction

GoDevMCP is a Model Context Protocol (MCP) server that provides development tools with a focus on Go, and additional support for Rust and Python. It offers documentation lookup, code search, project navigation, and more.

Installation

Prerequisites

  • GitHub authentication is required only for the GitHub tools (code search, content, diffs, issues, pull requests, workflow runs). The other tools (Go/Rust/Python docs, directory tree, local search, outline, markdown, validation) work without it.
  • The server resolves a GitHub token in this order:
    1. The GITHUB_TOKEN or GH_TOKEN environment variable, if set.
    2. Otherwise, the locally-installed and authenticated gh CLI (gh auth login).

Using go install

You can install GoDevMCP directly using Go's install command:

go install github.com/fpt/go-dev-mcp/godevmcp@latest

This will download, compile, and install the binary to your $GOPATH/bin directory (typically ~/go/bin). Make sure this directory is in your system's PATH.

Building from Source

  1. Clone the repository
  2. Run make build to build the application and make install to install.

MCP setup

Claude code

Run this command to add to user scope

claude mcp add godevmcp -s user godevmcp serve

VSCode

Add this section in your user's settings.json

    "mcp": {
        "servers": {
            "go-dev-mcp": {
                "type": "stdio",
                "command": "godevmcp",
                "args": [
                    "serve"
                ],
            }
        }
    }

Tools

Go Documentation

Tool Description
search_godoc Search for Go packages on pkg.go.dev
read_godoc Read Go package documentation with line-based paging
search_within_godoc Search for keywords within a specific Go package's documentation
outline_go_package Get a comprehensive outline of a Go package: dependencies, exported declarations, and call graph
validate_go_code Validate Go code using go vet, build checks, formatting, and module tidiness

Rust Documentation

Tool Description
search_rustdoc Search for Rust crates on docs.rs
read_rustdoc Read Rust crate documentation with line-based paging
search_within_rustdoc Search for keywords within a specific Rust crate's documentation

Python Documentation

Tool Description
search_pydoc Search Python standard library modules on docs.python.org
read_pydoc Read Python standard library module documentation with line-based paging
search_within_pydoc Search for keywords within a specific Python module's documentation

Project Navigation

Tool Description
tree_dir Display local directory tree structure with depth limiting
search_local_files Search file contents in local directories with match limiting
scan_markdown Scan markdown files to extract headings with line numbers

GitHub Integration

Tool Description
search_github_code Search code in GitHub repositories with compact formatting
get_github_content Get file content from GitHub with line-based paging
tree_github_repo Display GitHub repository tree structure with depth limiting

Instructions

  1. Build the application

    make build
    
  2. Run the application

    make run
    

Available Make Commands

  • make run - Run the application
  • make build - Build the application and install to ~/bin
  • make test - Run unit tests
  • make fmt - Format code using gofumpt
  • make lint - Run golangci-lint
  • make inspect - Run in MCP inspector
  • make help - Display help information

Development

Project Structure

.
├── godevmcp/       # Application entry point
│   └── main.go     # Main application entry point
├── doc/            # Documentation files
├── internal/       # Private application and library code
│   ├── app/        # Application core functionality
│   ├── infra/      # Infrastructure code
│   ├── mcptool/    # MCP tooling implementations
│   ├── repository/ # Repository implementations
│   └── subcmd/     # Subcommand implementations
├── output/         # Build artifacts
│   └── godevmcp    # Compiled binary
├── pkg/            # Public library code
│   └── dq/         # Document query utility package
├── Makefile        # Build automation
├── go.mod          # Go module definition
└── go.sum          # Go module checksum

Package Dependencies

The following Mermaid graph shows the internal package dependencies within the project:

graph TD
    %% Entry point
    main[godevmcp/main] --> subcmd[internal/subcmd]
    
    %% Core application layer
    subcmd --> app[internal/app]
    subcmd --> mcptool[internal/mcptool]
    mcptool --> app
    
    %% Application modules
    app --> repository[internal/repository]
    app --> infra[internal/infra]
    app --> contentsearch[internal/contentsearch]
    app --> model[internal/model]
    app --> dq[pkg/dq]
    
    %% MCP layer
    mcptool --> infra
    
    %% Infrastructure dependencies
    infra --> repository
    contentsearch --> model
    
    %% External dependencies (key ones)
    subcmd -.-> subcommands[google/subcommands]
    mcptool -.-> mcp[mark3labs/mcp-go]
    infra -.-> github[google/go-github]
    app -.-> errors[pkg/errors]
    app -.-> goldmark[yuin/goldmark]
    app -.-> cache[patrickmn/go-cache]
    
    %% Styling
    classDef entryPoint fill:#e1f5fe
    classDef coreLayer fill:#f3e5f5
    classDef appLayer fill:#e8f5e8
    classDef infraLayer fill:#fff3e0
    classDef external fill:#fce4ec,stroke-dasharray: 5 5
    
    class main entryPoint
    class subcmd,mcptool coreLayer
    class app,repository,infra,contentsearch,model appLayer
    class dq infraLayer
    class subcommands,mcp,github,errors,goldmark,cache external

This graph illustrates:

  • Entry Point: main package coordinates subcommands
  • Core Layer: subcmd (CLI) and mcptool (MCP server) provide user interfaces
  • Application Layer: app contains business logic, supported by infrastructure packages
  • Infrastructure Layer: Shared utilities and external integrations
  • External Dependencies: Key third-party packages (shown with dashed lines)

Common Development Workflow

  1. Make changes to the code
  2. Run make fmt to format code
  3. Run make lint to check for issues
  4. Run make test to ensure tests pass
  5. Build with make build

For AI Development

  • Follow instructions in CONTRIBUTING.md
  • Use run_make and tree_dir tools rather than using shell commands.
  • Use search_godoc and read_godoc tools to understand how to use Go packages.
  • Use search_rustdoc and read_rustdoc tools for Rust crate documentation.
  • Use search_pydoc and read_pydoc tools for Python standard library documentation.
  • Use tree_github_repo, search_github_code, get_github_content to inspect github repository.
  • Remember to update README.md when making significant changes

README fetched from the repository 2 days ago. The original is authoritative.

Questions

About Go Dev MCP

How do I install Go Dev MCP?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Go Dev MCP safe to use with an AI agent?

Its trust score is 56 out of 100 (fair). It passes 5 of the 6 static security checks run so far; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Go Dev MCP still maintained?

Yes — the latest release is v0.1.7 (27 Jun 2026), and the last commit was 2 months ago. The repository has 13 stars.