11 tools from the Go MCP Server, categorised by risk level.
View the Go policy →env Returns Go environment variables as structured JSON. Optionally request specific variables. fmt Checks or fixes Go source formatting using gofmt. In check mode (-l), lists unformatted files. In fix mode (-w), rewrites files. 2/5 get Downloads and installs Go packages and their dependencies. 2/5 golangci-lint Runs golangci-lint and returns structured lint diagnostics (file, line, linter, severity, message). 2/5 list Lists Go packages or modules and returns structured information. When `modules` is true, lists modules (with path, version, dir); otherwise lists p... 2/5 test Runs go test and returns structured test results (name, status, package, elapsed). 2/5 vet Runs go vet and returns structured static analysis diagnostics with analyzer names. Uses -json flag for native JSON output with automatic text fall... The Go MCP server exposes 11 tools across 4 categories: Read, Write, Destructive, Execute.
Use Intercept, the open-source MCP proxy. Write YAML rules for each tool — rate limits, argument validation, or deny rules — then run Intercept in front of the Go server.
Go tools are categorised as Read (7), Write (1), Destructive (1), Execute (2). Each category has a recommended default policy.
Open source. One binary. Zero dependencies.
npx -y @policylayer/intercept