Skip to content
MCP server

mcpcut

Journal, approve or block, and sandbox every MCP tool call your AI agent makes

Runs locallyStatus and history
Install
Pricing
Open source
Platforms
self-hosted, CLI, macOS
Runs
Locally
Version
0.4.2
Listing updated
2 days ago

About mcpcut

mcpcut is an open-source MCP server for security. It runs locally on your machine and is started by your AI client.

mcpcut sits in front of the MCP servers you already use. The adopt command finds them in Claude Code, Cursor and Claude Desktop and rewrites their config, keeping a copy so it can be undone, and a wrap command does the same for one server by hand. Every request, response and decision is then written to a journal on your machine with secrets redacted, and can optionally fail closed so that no record means no call.

A JSON policy sets allow, deny or require-approval per tool. A held call waits as long as the agent waits and is approved from the CLI, web UI, terminal console or inside a Claude Code session; if the agent gives up, nothing is sent. New tools, or tools whose schema changed after you trusted them, are quarantined with a diff.

The journal is a hash chain with a signed head that can be exported as an audit report and verified offline, and the site says the head should be anchored somewhere the host cannot rewrite. Built-in file tools only touch folders you declare, with per-agent rights, a restorable trash and optional local semantic search. It needs Node.js 24 or later and is self-hosted under Apache-2.0.

Install

Run in a terminal

claude mcp add mcpcut -- npx -y mcpcut

Add to claude_desktop_config.json

{
  "mcpServers": {
    "mcpcut": {
      "command": "npx",
      "args": [
        "-y",
        "mcpcut"
      ]
    }
  }
}
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "mcpcut": {
      "command": "npx",
      "args": [
        "-y",
        "mcpcut"
      ]
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "mcpcut": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "mcpcut"
      ]
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "mcpcut": {
      "command": "npx",
      "args": [
        "-y",
        "mcpcut"
      ]
    }
  }
}

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

{
  "mcpServers": {
    "mcpcut": {
      "command": "npx",
      "args": [
        "-y",
        "mcpcut"
      ]
    }
  }
}

What it does

Redacted journal
Records every call with secrets removed before writing.
Per-tool policy
Allow, deny or require approval for each tool.
Approval routes
Approve from the CLI, web UI, console or inside Claude Code.
Tool quarantine
Holds new or changed tools with a diff.
Tamper-evident audit
Signed hash chain that verifies offline.
Folder-scoped files
Gives agents only the folders you declare, with a restorable trash.

Good for

  • Review exactly what an agent did over MCP
  • Make an agent ask before writing files
  • Restrict an agent to one project folder
  • Export a verifiable audit report
  • Spot an MCP tool whose schema changed

Pricing

Open source

Apache-2.0, self-hosted

Prices change. Check mcpcut.com before you buy.

mcpcut FAQ

What does it need to run?

Node.js 24 or later; it has two runtime dependencies.

Is it hosted?

No, it is self-hosted and runs on your machine.

What licence is it?

Apache-2.0.

How do I add it to existing servers?

Run `npx -y mcpcut adopt` and then `--apply` to rewrite client configs.

Is mcpcut free?

Yes. mcpcut is open source, so you can use and self-host it for free.

How do I add mcpcut to Claude Code?

Run this command in your terminal: claude mcp add mcpcut -- npx -y mcpcut

What are the best alternatives to mcpcut?

The closest alternatives to mcpcut are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.

Alternatives to mcpcut

  1. REA

    MCP server

    CLI and MCP server that lets coding agents reverse engineer apps and binaries

    Runs locally
    • Open source
    • 464K GitHub stars
    • Developer tools
  2. Codebase Memory

    MCP server

    Local MCP server that builds a code knowledge graph for AI coding agents

    Runs locally
    • Open source
    • 48.7K GitHub stars
    • Knowledge and memory
  3. GitHub

    MCP server

    Official MCP server connecting AI assistants to GitHub repos, issues and workflows

    Not checked yet
    • Remote
    • Open source
    • 34.5K GitHub stars
    • Developer tools
  4. MCP toolkit giving coding agents symbol-level code retrieval and editing

    Runs locally
    • Open source
    • 31.5K GitHub stars
    • Developer tools
  5. XERJ

    MCP server

    Local search engine for AI agents with cited answers over your code and docs

    Runs locally
    • Open source
    • 19.2K GitHub stars
    • Knowledge and memory
  6. Ouroboros

    MCP server

    Spec-first layer that pins requirements and verifies results of AI coding agent work

    Runs locally
    • Open source
    • 6.4K GitHub stars
    • Developer tools