Skip to content
MCP server

Shrike

Policy checkpoint that scans agent tool calls, SQL and commands before they run

Runs locally

Shrike is a freemium MCP server for security. It runs locally on your machine and is started by your AI client.

Pricing
Freemium
Platforms
CLI, API
Runs
Locally
What it can do
Can change data (1 tool)
Version
4.2.0

Similar MCP servers

Install

Add with the CLI

Run in a terminal

claude mcp add shrike-mcp -- npx -y shrike-mcp

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": {
    "shrike-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "shrike-mcp"
      ]
    }
  }
}

Claude Code setup guide

Add to claude_desktop_config.json

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

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": {
    "shrike-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "shrike-mcp"
      ]
    }
  }
}

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": {
    "shrike-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "shrike-mcp"
      ]
    }
  }
}

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 shrike-mcp -- npx -y shrike-mcp

Or add to config.toml

Add to ~/.codex/config.toml

[mcp_servers.shrike-mcp]
command = "npx"
args = ["-y", "shrike-mcp"]

Codex setup guide

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

{
  "mcpServers": {
    "shrike-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "shrike-mcp"
      ]
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.json

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

    Or run: gemini mcp add -s user shrike-mcp npx -- -y shrike-mcp

    Antigravity

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

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

    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": {
        "shrike-mcp": {
          "command": "npx",
          "args": [
            "-y",
            "shrike-mcp"
          ]
        }
      }
    }

    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": {
        "shrike-mcp": {
          "command": "npx",
          "args": [
            "-y",
            "shrike-mcp"
          ]
        }
      }
    }

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

    Cline setup guide

  • Zed

    Add to Zed settings.json

    {
      "context_servers": {
        "shrike-mcp": {
          "command": "npx",
          "args": [
            "-y",
            "shrike-mcp"
          ]
        }
      }
    }

    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": {
        "shrike-mcp": {
          "command": "npx",
          "args": [
            "-y",
            "shrike-mcp"
          ]
        }
      }
    }

    Junie

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

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

    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": {
        "shrike-mcp": {
          "command": "npx",
          "args": [
            "-y",
            "shrike-mcp"
          ]
        }
      }
    }

    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 Shrike

Shrike sits in the path of an agent's actions. Before a SQL query, file write, shell command, web search or agent-to-agent message goes out, the agent hands it to a scan tool and gets back a verdict: allowed, flagged for human approval, or blocked.

The README describes a scan-sandwich pattern: inbound scans catch prompt injection, outbound scans catch leaked keys or PII, and action-specific scans catch things like SQL tautologies, path traversal and reverse shells. A nine-layer pipeline sits underneath, from regex and encoding-bypass checks to LLM semantic analysis and multi-turn session correlation. Most scans are said to finish in under 10 ms because the cascade exits early.

It runs through npx and works with no key, but anonymous use only gets the pattern-based layers L1 to L5. A free account adds a dashboard and higher limits, while the deeper layers L6 to L9 require a paid tier. The README is explicit that the package is npm only and that a PyPI package of the same name is unrelated.

Tools this server provides (15)

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

From the tool list in its README, going by the names, 1 of 15 tools changes data; 10 names don't say.

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

scan_prompt
Scans user and system prompts before LLM processing.
scan_response
Scans model outputs before they reach the user.
scan_sql_queryName suggests: reads
Checks SQL queries before database execution.
scan_file_writeName suggests: changes
Checks file paths and content before a write.
scan_command
Checks CLI commands before shell execution.
scan_web_searchName suggests: reads
Checks search queries before they run.
scan_a2a_message
Scans agent-to-agent messages before processing.
scan_agent_card
Scans A2A AgentCard metadata before it is trusted.
scan_mcp_schema
Checks MCP tool definitions for tool poisoning.
check_approvalName suggests: reads
Polls and submits decisions for flagged actions.
report_bypass
Reports detections the scanner missed.
reset_session
Clears session correlation state.
session_statusName suggests: reads
Reads the current session risk state.
scan_declare_scope
Declares allowed and forbidden tools and an expiry for a task-scoped agent.
report_outcome
Reports whether an allowed action ran, failed or was skipped.

What it does

Fifteen governance tools
Nine scanners, a scope declaration, an outcome report and session and approval tools.
Allow, flag or block
Each scan returns a verdict, and flagged actions can wait for human approval.
Tool-poisoning checks
scan_mcp_schema inspects other MCP tool definitions for hidden instructions.
Agent-to-agent scanning
Messages and AgentCards are scanned before an agent trusts them.
Tiered detection depth
Anonymous and free tiers get L1 to L5, paid tiers add LLM analysis and session correlation.

Good for

  • Block a coding agent from running a destructive shell command
  • Check generated SQL for injection before it hits a database
  • Scan prompts and responses for leaked secrets or PII
  • Vet an unfamiliar MCP server's tool descriptions
  • Hold risky agent actions for human approval

Pricing

Freemium

Anonymous and free Community tiers; Pro and Enterprise are paid and prices are not published

Shrike FAQ

Do I need an API key?

No. It works anonymously with pattern-based detection, and a free key adds a dashboard and higher limits.

How is Shrike installed?

Run it with npx -y shrike-mcp; the README stresses there is no pip package under that name.

What do the tiers limit?

Community allows 1,000 scans a month, Pro 25,000 and Enterprise 1,000,000, per the README table.

Which clients does Shrike target?

The README lists Claude Desktop, Cursor, Windsurf and Cline.

Is Shrike open source?

The README carries an Apache 2.0 licence badge.

Is Shrike free?

Shrike has a free plan, with paid plans for more usage or features.

How do I add Shrike to Claude Code?

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

What are the best alternatives to Shrike?

The closest alternatives to Shrike are REA, AiSOC, x64dbg-mcp-server, redamon and Treasure Map.

Where this comes from

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

How AIPoweredBot checks servers