Skip to content
MCP server

Marlowe CI / Guard

Guardrails for AI coding agents and pull requests, with host-enforced hooks and security

Runs locally

Marlowe CI / Guard is an open-source MCP server for developer tools. It runs locally on your machine and is started by your AI client.

Pricing
Open source
Platforms
CLI, API, VS Code
Runs
Locally
Version
0.7.2
Listing updated

Similar MCP servers

Install

Add with the CLI

Run in a terminal

claude mcp add marlowe-ci -- npx -y @zerotheory-labs/marlowe-ci

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

Or share it with your project

Add to .mcp.json

{
  "mcpServers": {
    "marlowe-ci": {
      "command": "npx",
      "args": [
        "-y",
        "@zerotheory-labs/marlowe-ci"
      ]
    }
  }
}

Claude Code setup guide

Add to claude_desktop_config.json

{
  "mcpServers": {
    "marlowe-ci": {
      "command": "npx",
      "args": [
        "-y",
        "@zerotheory-labs/marlowe-ci"
      ]
    }
  }
}

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

Claude Desktop setup guide

Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "marlowe-ci": {
      "command": "npx",
      "args": [
        "-y",
        "@zerotheory-labs/marlowe-ci"
      ]
    }
  }
}

Use .cursor/mcp.json in a project to share it with the project.

Cursor setup guide

Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to ~/.copilot/mcp-config.json

{
  "mcpServers": {
    "marlowe-ci": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@zerotheory-labs/marlowe-ci"
      ]
    }
  }
}

Or put the same entry in .mcp.json at your workspace root to share it.

VS Code setup guide

Add with the CLI

Run in a terminal

codex mcp add marlowe-ci -- npx -y @zerotheory-labs/marlowe-ci

Or add to config.toml

Add to ~/.codex/config.toml

[mcp_servers.marlowe-ci]
command = "npx"
args = ["-y", "@zerotheory-labs/marlowe-ci"]

Codex setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "marlowe-ci": {
      "command": "npx",
      "args": [
        "-y",
        "@zerotheory-labs/marlowe-ci"
      ]
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.json

    {
      "mcpServers": {
        "marlowe-ci": {
          "command": "npx",
          "args": [
            "-y",
            "@zerotheory-labs/marlowe-ci"
          ]
        }
      }
    }

    Or run: gemini mcp add -s user marlowe-ci npx -- -y @zerotheory-labs/marlowe-ci

    Antigravity

    Add to ~/.gemini/config/mcp_config.json

    {
      "mcpServers": {
        "marlowe-ci": {
          "command": "npx",
          "args": [
            "-y",
            "@zerotheory-labs/marlowe-ci"
          ]
        }
      }
    }

    Use .agents/mcp_config.json to add it to one workspace only.

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.json

    {
      "mcpServers": {
        "marlowe-ci": {
          "command": "npx",
          "args": [
            "-y",
            "@zerotheory-labs/marlowe-ci"
          ]
        }
      }
    }

    On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.json

    {
      "mcpServers": {
        "marlowe-ci": {
          "command": "npx",
          "args": [
            "-y",
            "@zerotheory-labs/marlowe-ci"
          ]
        }
      }
    }

    Open it from the MCP Servers icon → Configure → Configure MCP Servers.

    Cline setup guide

  • Zed

    Add to Zed settings.json

    {
      "context_servers": {
        "marlowe-ci": {
          "command": "npx",
          "args": [
            "-y",
            "@zerotheory-labs/marlowe-ci"
          ]
        }
      }
    }

    Open it with zed: open settings file. Merge context_servers into the settings you already have.

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

    {
      "mcpServers": {
        "marlowe-ci": {
          "command": "npx",
          "args": [
            "-y",
            "@zerotheory-labs/marlowe-ci"
          ]
        }
      }
    }

    Junie

    Add to ~/.junie/mcp/mcp.json

    {
      "mcpServers": {
        "marlowe-ci": {
          "command": "npx",
          "args": [
            "-y",
            "@zerotheory-labs/marlowe-ci"
          ]
        }
      }
    }

    Use .junie/mcp/mcp.json to share it with a project.

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.json

    {
      "mcpServers": {
        "marlowe-ci": {
          "command": "npx",
          "args": [
            "-y",
            "@zerotheory-labs/marlowe-ci"
          ]
        }
      }
    }

    Use .kiro/settings/mcp.json to add it to one workspace only.

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

About Marlowe CI / Guard

Marlowe CI / Guard sits between an AI coding agent and the files, shell and network it can reach. In Claude Code it installs PreToolUse, PostToolUse and Stop hooks that deny reads of credential paths, block cloud metadata SSRF and risky shell pipes, mask secrets in edits, and ask before force pushes or live Shirudo commands.

The same engine runs as a read-only MCP server for Cursor, VS Code, Codex CLI and Windsurf, and as a GitHub Action that scans pull request diffs, uploads SARIF v2.1.0 to Code Scanning and posts a sticky verdict comment. Every check ends in one of three verdicts: Holds up, Fails, or Can't tell, so unknown results are never reported as a pass.

It suits developers who let coding agents edit code and run commands and want those actions bounded, and teams that want diff-scoped security gates in CI. The npm package is free for personal, academic and research use under PolyForm Noncommercial, and commercial use requires a separate license.

Tools this server provides (13)

Taken from the project documentation; the running server may differ.

From the tool list in its README, going by the names, 4 of 13 tools read data; 9 names don't say.

From the server's own tool labels and tool names; not verified by us.

marlowe_scan_diff
Diff-scoped security scan
marlowe_scan_workspace
Workspace security scan
marlowe_audit_dependencies
Dependency CVE audit via OSV
marlowe_doctor
Checks local security CLI availability
marlowe_check_scopeName suggests: reads
Checks a target against the ScopeGate scope
marlowe_inspect_httpName suggests: reads
HTTP inspection for an in-scope target
marlowe_inspect_tlsName suggests: reads
TLS inspection for an in-scope target
marlowe_dns_recon
DNS reconnaissance for an in-scope target
marlowe_triage_artifact
DFIR artifact triage
marlowe_analyze_logsName suggests: reads
DFIR log analysis
marlowe_extract_iocs
IOC extraction from artifacts
marlowe_shirudo_audit
Shirudo eBPF and Beefile audit
marlowe_shirudo_verify_attestation
Shirudo TPM 2.0 attestation verification

What it does

Claude Code hook enforcement
Pre, post and stop hooks check file paths, URLs and shell commands before and after each agent action.
Secret masking on edits
Detected secret values are masked before the result is returned to the agent so it can correct itself.
Diff-scoped GitHub Action
Scans pull request changes and reports Holds up, Fails or Can't tell with SARIF upload to Code Scanning.
Read-only MCP security tools
Thirteen tools cover diff and OSV scans, HTTP and TLS recon, DFIR log triage and Shirudo attestation audits.
Trojan Source and injection checks
Flags bidi override characters, indirect prompt injection in context files and npm postinstall changes.
Offline git pre-commit hook
Runs the scanner locally on staged changes without requiring an LLM key.

Good for

  • Stop a coding agent from reading .env files or calling cloud metadata endpoints during a session
  • Gate pull requests on hardcoded secrets, reachable injection sinks and disabled TLS verification
  • Triage access logs or incident artifacts for indicators of compromise from an MCP client
  • Audit eBPF upatch manifests and TPM 2.0 attestation evidence for Shirudo deployments

Pricing

Open source

Free for noncommercial use under PolyForm Noncommercial 1.0.0; commercial use requires a license.

Prices change. Check zerotheorylabs.com before you buy.

Marlowe CI / Guard FAQ

Which clients can use the MCP server?

It speaks stdio JSON-RPC and is set up for Claude Code, Cursor, VS Code, Codex CLI, Windsurf and Antigravity.

Does Marlowe CI / Guard need an LLM API key?

No. The checks run as local static analysis with no LLM key required.

What license applies?

PolyForm Noncommercial 1.0.0, free for personal, academic and research use. Commercial or internal business CI/CD use needs a commercial license.

What does Can't tell mean?

It means the evidence is incomplete, such as unverified local sinks or suppression directives, so the result is not rounded up to a pass.

Is Marlowe CI / Guard free?

Yes. Marlowe CI / Guard is open source, so you can use and self-host it for free.

How do I add Marlowe CI / Guard to Claude Code?

Run this command in your terminal: claude mcp add marlowe-ci -- npx -y @zerotheory-labs/marlowe-ci

What are the best alternatives to Marlowe CI / Guard?

The closest alternatives to Marlowe CI / Guard are MCP Security Guard, vetcode, Ci Guard MCP, GuardGit MCP and Swarm.

Where this comes from

  • Description: written from the project's README, the project's website and its MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers