# Sentinel MCP

> Sentinel MCP is an open-source MCP server for security. MCP server that verifies claims, gates tool calls by policy, and keeps a tamper-evident. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, API, Self-hosted
- **Repository:** https://github.com/sandeep-hipparagi/sentinel-mcp
- **MCP Registry name:** io.github.Sandeep-Hipparagi/sentinel-mcp
- **Categories:** [security](https://ai-powered.com/categories/security)
- **Listing updated:** 2026-11-27

## About

Sentinel MCP adds a governance layer to AI agents running through the Model Context Protocol. It exposes tools that score how citable a claim is based on source tiering, check proposed tool calls against a declarative allowlist with argument bounds, and record events in an append-only ledger chained with SHA-256 hashes.

The verification and policy logic is deterministic rules code with no network calls or API keys, and any failure to evaluate a request results in denial. Memory is handled as a graph with FalkorDB as the primary backend and an embedded SQLite fallback so the server still starts when FalkorDB is unavailable.

It suits developers building agents that need auditable decisions, such as teams who want to prove what an agent checked and why a tool call was allowed or blocked. It installs from PyPI and runs over stdio or streamable HTTP with clients like Claude Desktop and Cursor.

## Features

- **Claim source tiering:** Scores a claim and its URL into one of five source tiers, flagging risks such as typosquat lookalike domains.
- **Fail-closed policy gate:** Allows a tool call only when it matches a declarative allowlist and argument bounds, denying everything else.
- **Tamper-evident audit ledger:** Appends events to a JSONL log where each entry hashes the previous one, and verification pinpoints the first altered entry.
- **Graph memory with fallback:** Stores nodes, edges and queries in FalkorDB, switching to embedded SQLite when the graph database is unreachable.
- **Built-in conformance self-test:** Runs a command-line check covering tamper detection and latency budgets to confirm the install works.

## Good for

- Checking whether facts an agent cites come from reliable sources before it reports them
- Restricting which tools and arguments an agent can invoke through MCP
- Keeping a verifiable record of agent actions for later review
- Giving an agent a persistent graph of entities and relationships

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add sentinel-mcp -- uvx sentinel-mcp-guard
```

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

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "sentinel-mcp": {
      "command": "uvx",
      "args": [
        "sentinel-mcp-guard"
      ]
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "sentinel-mcp": {
      "command": "uvx",
      "args": [
        "sentinel-mcp-guard"
      ]
    }
  }
}
```

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

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "sentinel-mcp": {
      "command": "uvx",
      "args": [
        "sentinel-mcp-guard"
      ]
    }
  }
}
```

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

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "sentinel-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "sentinel-mcp-guard"
      ]
    }
  }
}
```

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

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add sentinel-mcp -- uvx sentinel-mcp-guard
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.sentinel-mcp]
command = "uvx"
args = ["sentinel-mcp-guard"]
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "sentinel-mcp": {
      "command": "uvx",
      "args": [
        "sentinel-mcp-guard"
      ]
    }
  }
}
```

Or run: gemini mcp add -s user sentinel-mcp uvx -- sentinel-mcp-guard

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "sentinel-mcp": {
      "command": "uvx",
      "args": [
        "sentinel-mcp-guard"
      ]
    }
  }
}
```

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

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "sentinel-mcp": {
      "command": "uvx",
      "args": [
        "sentinel-mcp-guard"
      ]
    }
  }
}
```

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

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "sentinel-mcp": {
      "command": "uvx",
      "args": [
        "sentinel-mcp-guard"
      ]
    }
  }
}
```

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

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "sentinel-mcp": {
      "command": "uvx",
      "args": [
        "sentinel-mcp-guard"
      ]
    }
  }
}
```

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

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "sentinel-mcp": {
      "command": "uvx",
      "args": [
        "sentinel-mcp-guard"
      ]
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "sentinel-mcp": {
      "command": "uvx",
      "args": [
        "sentinel-mcp-guard"
      ]
    }
  }
}
```

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

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "sentinel-mcp": {
      "command": "uvx",
      "args": [
        "sentinel-mcp-guard"
      ]
    }
  }
}
```

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

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "sentinel-mcp": {
      "command": "uvx",
      "args": [
        "sentinel-mcp-guard"
      ]
    }
  }
}
```

## Tools

From the tool list in its README, going by the names, 1 of 7 tools changes data; 4 names don't say. From the server's own tool labels and tool names; not verified by us.

- `verify_claim`: Scores a claim's source tier and risk flags.
- `policy_check` (name suggests: reads): Allows or denies a tool call against a declarative policy.
- `audit_append`: Appends an event to the hash-chained audit ledger.
- `audit_verify`: Replays the audit chain and reports the first bad sequence.
- `memory_upsert`: Creates or updates a graph node idempotently.
- `memory_add_edge` (name suggests: changes): Adds a validated relation between two nodes.
- `memory_query` (name suggests: reads): Returns nodes and edges around a node up to a given depth.

## FAQ

### How do I install Sentinel MCP?

Install from PyPI as sentinel-mcp-guard or from source with pip, then run the sentinel-mcp serve command with stdio or HTTP transport.

### Does Sentinel MCP call external services or need API keys?

The verification and policy tools make no network calls and require no API keys.

### Which MCP SDK versions are supported?

It detects the installed mcp SDK and works with both the 1.x FastMCP API and the 2.x MCPServer API.

### What happens if FalkorDB is not running?

Memory operations fall back to an embedded SQLite database so the server still boots and works.

### Is Sentinel MCP free?

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

### How do I add Sentinel MCP to Claude Code?

Run this command in your terminal: claude mcp add sentinel-mcp -- uvx sentinel-mcp-guard

### What are the best alternatives to Sentinel MCP?

The closest alternatives to Sentinel MCP are epistemic-guard: Signed Tool Receipts & Verification, Protect MCP, MCP Sentinel, Assay MCP Server and MCPSentinel.

## Where this comes from

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

## Alternatives

- [epistemic-guard: Signed Tool Receipts & Verification](https://ai-powered.com/mcp/epistemic-guard-signed-tool-receipts-and-verification): epistemic-guard: Signed Tool Receipts & Verification is an open-source MCP server for security.
- [Protect MCP](https://ai-powered.com/mcp/protect-mcp): Protect MCP is an open-source MCP server for security.
- [MCP Sentinel](https://ai-powered.com/mcp/mcp-sentinel): MCP Sentinel is an open-source MCP server for security.
- [Assay MCP Server](https://ai-powered.com/mcp/assay-mcp-server): Assay MCP Server is an open-source MCP server for security.
- [MCPSentinel](https://ai-powered.com/mcp/mcpsentinel): MCPSentinel is an open-source MCP server for security.
- [AISentinel by BizDNAi](https://ai-powered.com/mcp/aisentinel-by-bizdnai): AISentinel by BizDNAi is an open-source MCP server for security.
- [signet-eval](https://ai-powered.com/mcp/signet-eval): signet-eval is an open-source MCP server for security.
- [MCP Safety Warden](https://ai-powered.com/mcp/mcp-safety-warden): MCP Safety Warden is an open-source MCP server for security.

---
Source: https://ai-powered.com/mcp/sentinel-mcp
