Back to Browse

Suite Gate MCP Server

Developer ToolsLow Risk10.0MCP RegistryLocal
Free

Server data from the Official MCP Registry

Lets a coding agent run the installed PR audit tools and read their findings in one format.

About

Lets a coding agent run the installed PR audit tools and read their findings in one format.

Security Report

10.0
Low Risk10.0Low Risk

Valid MCP server (0 strong, 2 medium validity signals). No known CVEs in dependencies. Package registry verified. Imported from the Official MCP Registry.

5 files analyzed · 1 issue found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Required

This plugin requests these system permissions. Most are normal for its category.

file_system

Check that this permission is expected for this type of plugin.

Shell Command Execution

Runs commands on your machine. Be cautious — only use if you trust this plugin.

How to Install

Add this to your MCP configuration file:

{
  "mcpServers": {
    "suite-gate": {
      "command": "uvx",
      "args": [
        "suite-gate==0.1.1"
      ]
    }
  }
}

Some servers take additional arguments. See the repository for details.

Documentation

View on GitHub

From the project's GitHub README.

suite-gate

PyPI Python Licence

suite-gate connects six command-line audit tools: git-surface, trust-path, release-drift, git-overlap, pr-merge-audit and glassbox. It has three parts:

  • One result format. Each tool, run with --audit-json, prints the same JSON object: every finding with a rule id, a severity, one sentence and the evidence to check it (file, line, ref, commit).
  • A gate. suite-gate gate BASE REF runs the tools that apply to what a branch changes and gives one verdict, pass, warn, fail or error, from a versioned rules file.
  • An MCP server. suite-gate mcp lets a coding agent run the installed tools and read their results, so it can check its own branch before asking for review.

Branches written by coding agents arrive faster than a person can read them. The checks that matter (does it change CI, an install script, a dependency, a workflow's trust boundary, another branch's files?) are spread over six tools with six output formats. suite-gate makes them one check with one answer, and keeps every finding that led to it.

It decides nothing on its own. The verdict follows fixed rules in a file you can read and version, no model takes part, and each finding is the tool's own, unchanged.

Example output

The gate on a demo branch that adds a pull-request workflow, an agent instruction file and an npm install script, and edits a file another branch also edits:

One tool's result in the shared format (git surface --audit-json, first lines):

Requirements

  • Python 3.9 or later, standard library only.

  • git 2.38 or later, as an executable named git on PATH, for the gate.

  • The audit tools to run, at a version that has --audit-json:

    ToolMinimumInstall
    git-surface0.4.0pip install git-surface
    trust-path0.8.1 (0.9.0 for --forge)pip install trust-path
    release-drift0.7.0pip install release-drift
    git-overlap0.7.0pip install git-overlap
    pr-merge-audit2.3.0pip install pr-merge-audit
    glassbox0.6.0brew install jacob-adm/tap/glassbox, or a release

    The gate uses the first four. The MCP server offers each tool that is installed. pip install "suite-gate[all]" installs the five Python tools at the versions this release is tested with (see Install); glassbox is installed separately.

Install

From PyPI:

pip install suite-gate

With the five Python audit tools, pinned to the versions this release is tested with (git-surface, trust-path, release-drift, git-overlap and pr-merge-audit):

pip install "suite-gate[all]"

From a clone:

git clone https://github.com/jacob-adm/suite-gate
cd suite-gate
pip install .

Either way pip installs suite-gate as a console script. Check the install:

suite-gate --version
suite-gate 0.4.0

Without installing, it also runs from a clone as python3 -m suite_gate.

How it works

  1. Find what the branch changes. The gate takes the merge base of BASE and REF and lists the paths REF changes since then, as a pull request's "files changed" does.
  2. Pick the checks. The rules file names each check and when it runs: git-surface always, trust-path when a workflow changed, release-drift for each changed lockfile, git-overlap against the other branches. A check that does not apply is listed as skipped, with the reason.
  3. Run each tool with --audit-json. Every result is checked against the format before it is used: a tool that is missing, too old, or prints an invalid object is an error, never a pass.
  4. Decide. fail if a finding has a severity the rules fail on (high by default) and its rule is not one the rules downgrade to a warning; else error if a check could not run; else warn if a finding has a warn severity (medium, low); else pass. The exit status is 1 for fail, 2 for error and 0 otherwise.
  5. Report. One line per check, then each finding with its path and line. With --json, one object with the rules' name, version and SHA-256, the commits, and every tool's result, unchanged except that trust-path's leaves out the paths already at the merge base.

Commands

suite-gate gate [--repo DIR] [--rules FILE] [--forge FORGE] [--json] BASE REF   one verdict for REF against BASE
suite-gate mcp [--timeout SECONDS]                                              serve the audit tools to an MCP client
suite-gate session save|check|run [--repo DIR]... [-- COMMAND]                  what an agent session left that runs later
suite-gate validate [FILE]                                                      check an audit result object

See Gate for every option, the rules file and the JSON result, and MCP server for the tools an agent gets.

Quick start

Install the tools the gate runs, then run it inside the repository on the branch to check. Replace main with the base branch:

pip install git-surface trust-path release-drift git-overlap
suite-gate gate main ci

For a branch named ci whose only change is to a CI workflow:

FAIL: ci into main (rules default 1)
  git-surface    ran      1 high (always runs)
  trust-path     ran      nothing found (changed: .github/workflows/ci.yml)
  release-drift  skipped  no changed lockfile
  git-overlap    ran      nothing found (against 5 other branch(es) under refs/heads/)
high   git-surface.ci  ci modifies CI file .github/workflows/ci.yml  [.github/workflows/ci.yml]

git-surface reports the workflow change as high, so the verdict is fail and the exit status is 1. trust-path ran because a workflow changed and found no path from untrusted input. No lockfile changed, so release-drift was skipped.

To run the gate on every pull request, use the GitHub Action. To give a coding agent the tools, register the MCP server. For Claude Code:

claude mcp add suite-gate -- suite-gate mcp

Documentation

  • The tools: every tool in the suite, what it reports, how to install it, and the pages that test or measure it.
  • For coding agents: how an agent runs suite-gate, reads --audit-json and cites the evidence.
  • Gate: the command, the rules file, the verdict and the JSON result.
  • MCP server: setting it up, the tools, and how results and errors are returned.
  • GitHub Action: the gate on every pull request, with findings annotated on their lines.
  • Session check: a glassbox snapshot before an agent session and a report after it, by hand, around one command, or as Claude Code hooks.
  • Result format: the object each tool prints with --audit-json, its exit status rules, and the JSON Schema with examples that pass and fail.
  • Screenshots: each tool's real output on a demo repository, with and without --audit-json.
  • Contributing: running the tests and contributing a change.
  • Reporting a vulnerability

License

Apache License 2.0; see LICENSE.

Reviews

No reviews yet

Be the first to review this server!