Go Dev

Go Development MCP Server for Claude Desktop and other AI tools
  • go

2

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
{
  "mcpServers": {
    "mrfixit96-go-dev-mcp": {
      "command": "C:\\path\\to\\go-dev-mcp.exe",
      "args": [],
      "env": {
        "PATH": "%PATH%",
        "GOPATH": "%USERPROFILE%\\go",
        "GOROOT": "%GOROOT%",
        "GOCACHE": "%LOCALAPPDATA%\\go-build",
        "LOCALAPPDATA": "%LOCALAPPDATA%"
      }
    }
  }
}

The Go Development MCP Server enables AI assistants to compile, test, run, format, analyze, and manage Go code and multi-module workspaces through the Model Context Protocol (MCP). It provides practical tooling for Go developers to integrate code actions directly with AI workflows.

How to use

You use this MCP server with an MCP client to perform common Go development tasks. You can build, test, run, format, analyze, and manage workspaces from natural-language prompts. Each tool operates in the context you specify, whether you are working on a single snippet, a full project directory, or a multi-module workspace. When you want to run code or tests, you can target a specific module or apply actions across an entire workspace. The workspace context ensures commands respect module boundaries and shared dependencies.

How to install

Prerequisites you need before installation are Git and Go 1.21 or higher.

Windows manual installation steps:

  1. Clone the repository

  2. Build the executable

  3. Move the executable to a location in your PATH or reference it directly in your Claude Desktop configuration

macOS manual installation steps:

  1. Clone the repository

  2. Build the executable

  3. Move the executable to a location in your PATH

Linux installation steps:

  1. Clone the repository

  2. Build the executable

  3. Move the executable to a location in your PATH

Workspace and environment notes

  • Workspace support is available to manage multi-module Go projects. You can initialize a workspace, add modules, synchronize dependencies, and operate tools within the workspace context.

  • Tools can run with a workspace context using a workspace_path parameter to target specific modules or apply actions across the entire workspace.

  • To integrate with Claude Desktop, configure your MCP server entry in your client configuration so that commands start the local executable and pass any necessary environment variables.

Available tools

go_build

Compile Go code, optionally within a workspace or specific module, and return build results with errors, warnings, and performance details.

go_test

Run tests for Go code with optional coverage and verbose output. Supports testing a single module or across a workspace.

go_run

Compile and execute Go programs, with support for command-line arguments and integration within a workspace or module context.

go_mod

Manage Go module dependencies, including init, tidy, download, and other common module operations.

go_fmt

Format Go source files according to standard conventions to ensure consistent style across a project or workspace.

go_analyze

Analyze Go code for issues using static analysis tools to identify potential problems and improve code quality.

go_workspace

Manage Go workspaces for multi-module development, including init, use, sync, edit, vendor, and info operations.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational
Go Dev MCP Server - mrfixit96/go-dev-mcp | VeilStrat