@paretools/go
v0.13.0
Published
MCP server for Go tools (build, test, vet, run, mod-tidy, fmt, generate) with structured, token-efficient output
Downloads
2,044
Maintainers
Readme
@paretools/go
Structured, token-efficient Go tool output for AI agents. Typed diagnostics from go build, test, vet, and more.
Part of the Pare suite of MCP servers.
Tools (7)
| Tool | Description |
| ---------- | ------------------------------------------------- |
| build | Build errors (file, line, column, message) |
| test | Test results (name, status, package, elapsed) |
| vet | Static analysis diagnostics |
| run | Run a Go program with structured output |
| mod-tidy | Add missing and remove unused module dependencies |
| fmt | Check or fix Go source formatting via gofmt |
| generate | Run go generate directives in source files |
Quick Start
npx -y @paretools/goAdd to your MCP client config:
{
"mcpServers": {
"pare-go": {
"command": "npx",
"args": ["-y", "@paretools/go"]
}
}
}Example
test output:
{
"passed": 15,
"failed": 0,
"skipped": 1,
"total": 16,
"tests": [
{
"name": "TestParseConfig",
"package": "github.com/myapp/config",
"status": "pass",
"elapsed": 0.003
}
]
}All Pare Servers (240 tools)
| Package | Tools | Wraps | | -------------------------------------------------------------------- | --------------------------------------------------------------------------- | ---------------------------------- | | @paretools/git | status, log, diff, branch, show, add, commit, push, pull, checkout | git | | @paretools/test | run, coverage | pytest, jest, vitest, mocha | | @paretools/npm | install, audit, outdated, list, run, test, init | npm | | @paretools/build | tsc, build, esbuild, vite-build, webpack | tsc, esbuild, vite, webpack | | @paretools/lint | lint, format-check, prettier-format, biome-check, biome-format | eslint, prettier, biome | | @paretools/python | pip-install, mypy, ruff-check, pip-audit, pytest, uv-install, uv-run, black | pip, mypy, ruff, pytest, uv, black | | @paretools/docker | ps, build, logs, images, run, exec, compose-up, compose-down, pull | docker, docker compose | | @paretools/cargo | build, test, clippy, run, add, remove, fmt, doc, check | cargo | | @paretools/go | build, test, vet, run, mod-tidy, fmt, generate | go, gofmt |
Compatible Clients
Works with any MCP-compatible client: Claude Code, Claude Desktop, Cursor, Windsurf, VS Code / GitHub Copilot, Cline, Roo Code, Zed, Continue.dev, Gemini CLI, OpenAI Codex
