Shrike MCP Server

MCP server for action governance on AI agents — 14 tools that govern tool calls, SQL queries, file writes, shell commands, and agent-to-agent

Local serverstdioPython

What is the Shrike MCP MCP server?

If you already use Shrike MCP, the shrike mcp mcp server is the piece that lets your assistant work with it directly. MCP server for action governance on AI agents — 14 tools that govern tool calls, SQL queries, file writes, shell commands, and agent-to-agent messages server-side, before execution. Allow / approve / block. Session correlation. Works with.

What the server does

Shrike MCP is the Model Context Protocol server for Shrike. From employees using ChatGPT to autonomous agents executing code — Shrike evaluates every AI interaction in real-time with tools to scan prompts, responses, SQL queries, file writes, CLI commands, web searches, and agent-to-agent messages. Detects prompt injection, jailbreaks, data leakage, PII exposure, and multi-turn manipulation before they cause harm.

Available tools

The toolset is worth reading before you wire it up, because it tells you what the integration is really for:

  • scan_prompt — User/system prompts before LLM processing
  • scan_response — LLM outputs before returning to user
  • scan_sql_query — SQL queries before database execution
  • scan_file_write — File paths and content before write
  • scan_command — CLI commands before shell execution
  • scan_web_search — Search queries before execution
  • scan_a2a_message — Agent-to-agent messages before processing
  • scan_agent_card — A2A AgentCard metadata before trusting
  • scan_mcp_schema — MCP tool definitions before trusting them
  • check_approval — Human-in-the-loop approval status
  • report_bypass — User-reported missed detections
  • reset_session — Clear session correlation state

Credentials and setup notes

Configuration is passed through the environment: SHRIKE_API_KEY, SHRIKE_BACKEND_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.

Installation

The server ships on npm as shrike-mcp, so your MCP client can launch it on demand — there is no separate build step. Add the server block to your client's configuration, restart it, and the tools register themselves.

Where it fits

This sits in the database access group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. Shrike MCP's toolset — scan_prompt, scan_response, scan_sql_query and 11 more — is a fair guide to whether it matches your workflow. It is maintained by shrike-security; worth a glance at recent repository activity before you build anything load-bearing on it.

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

Worth knowing first

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • With 14 tools registered it takes up a noticeable share of the context window; turn it off in projects that never touch Shrike MCP.
  • 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
scan_promptUser/system prompts before LLM processing
scan_responseLLM outputs before returning to user
scan_sql_querySQL queries before database execution
scan_file_writeFile paths and content before write
scan_commandCLI commands before shell execution
scan_web_searchSearch queries before execution
scan_a2a_messageAgent-to-agent messages before processing
scan_agent_cardA2A AgentCard metadata before trusting
scan_mcp_schemaMCP tool definitions before trusting them
check_approvalHuman-in-the-loop approval status
report_bypassUser-reported missed detections
reset_sessionClear session correlation state
session_statusRead-only lookup of L9 session state
scan_declare_scopeDeclared operating scope for task-scoped agents

How to install the Shrike MCP MCP server

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

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

Configuration

VariableDescriptionRequired
SHRIKE_API_KEYCredential the server authenticates with.Yes
SHRIKE_BACKEND_URLEndpoint or connection string the server talks to.Yes

Example prompts to try

  • Use Shrike MCP to scan prompt.
  • Use Shrike MCP to scan response.
  • Use Shrike MCP to scan sql query.

Frequently asked questions

It connects Shrike MCP to MCP-compatible AI assistants such as Claude and Cursor, exposing 14 tools (scan_prompt, scan_response, scan_sql_query, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Shrike MCP directly.