Gothreatscope MCP Server

This tool also acts as a **Model Context Protocol (MCP)** server, allowing IDEs such as **Cursor** or **Visual Studio Code** to query its results

Remote serverstreamable-httpGo

What is the Gothreatscope MCP server?

This tool also acts as a Model Context Protocol (MCP) server, allowing IDEs such as Cursor or Visual Studio Code to query its results using natural language. For example, you can ask:. That is what the gothreatscope mcp server brings to an AI assistant: the same capability, reachable through the Model Context Protocol rather than a separate app or dashboard.

The short version

GoThreatScope performs an high-level security inspection of a project directory and organizes the results for both human and automated analysis.

The tools it exposes

The server publishes 5 tools. What each one is for:

  • analyzeRepo — Runs the full pipeline (SBOM → Vulnerabilities → Secrets)
  • scanRepoSBOM — Generates an SBOM and returns its file URI
  • vulnCheck — Checks for vulnerabilities and malicious packages using OSV.dev
  • secretScan — Scans for secrets (using Gitleaks or the built-in engine)
  • Prerequisites — The Prerequisites tool exposed by this server

Getting it running

Because this one is hosted, setup is mostly authentication — you point your client at the endpoint and approve access. Nothing runs on your machine, so there is no runtime to keep patched.

What it needs from you

Configuration is passed through the environment: GTS_MCP_MODE, GOTHREATSCOPE_METRICS_URL. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.

  • Go 1.21 or newer - (Optional) Gitleaks v8+ for extended secret detection

How it compares

Among the developer tooling options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Gothreatscope's toolset — analyzeRepo, scanRepoSBOM, vulnCheck and 2 more — is a fair guide to whether it matches your workflow. It is maintained by anotherik; worth a glance at recent repository activity before you build anything load-bearing on it.

This entry was verified against Gothreatscope's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

Things to watch

  • Your data travels to the provider's service, so the usual questions apply about what you send and what they retain.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Available tools

ToolWhat it does
analyzeRepoRuns the full pipeline *(SBOM → Vulnerabilities → Secrets)*.
scanRepoSBOMGenerates an SBOM and returns its file URI.
vulnCheckChecks for vulnerabilities and malicious packages using [OSV.dev](https://osv.dev).
secretScanScans for secrets *(using Gitleaks or the built-in engine)*.
PrerequisitesThe Prerequisites tool exposed by this server.

How to install the Gothreatscope MCP server

{
  "mcpServers": {
    "gothreatscope": {
      "command": "/absolute/path/to/gothreatscope",
      "args": ["--mcp"],
      "env": {
        "GTS_MCP_MODE": "1"
      }
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

  • Go 1.21 or newer - (Optional) Gitleaks v8+ for extended secret detection
VariableDescriptionRequired
GTS_MCP_MODEConfiguration value read at startup.Optional
GOTHREATSCOPE_METRICS_URLEndpoint or connection string the server talks to.Yes

Example prompts to try

  • Use Gothreatscope to analyzeRepo.
  • Use Gothreatscope to scanRepoSBOM.
  • Use Gothreatscope to vulnCheck.

Frequently asked questions

It connects Gothreatscope to MCP-compatible AI assistants such as Claude and Cursor, exposing 5 tools (analyzeRepo, scanRepoSBOM, vulnCheck, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Gothreatscope directly.