Sentinel MCP
MCP server that verifies claims, gates tool calls by policy, and keeps a tamper-evident
Sentinel MCP is an open-source MCP server for security. It runs locally on your machine and is started by your AI client.
- Pricing
- Open source
- Platforms
- CLI, API, Self-hosted
- Runs
- Locally
- What it can do
- Can change data (1 tool)
- Version
- 0.1.1
Similar MCP servers
Install
Add with the CLI
Run in a terminal
claude mcp add sentinel-mcp -- uvx sentinel-mcp-guardAdd --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": {
"sentinel-mcp": {
"command": "uvx",
"args": [
"sentinel-mcp-guard"
]
}
}
}Add to claude_desktop_config.json
{
"mcpServers": {
"sentinel-mcp": {
"command": "uvx",
"args": [
"sentinel-mcp-guard"
]
}
}
}Settings → Developer → Edit Config, then quit and reopen Claude Desktop.
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"sentinel-mcp": {
"command": "uvx",
"args": [
"sentinel-mcp-guard"
]
}
}
}Use .cursor/mcp.json in a project to share it with the project.
Add to ~/.copilot/mcp-config.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.
Add with the CLI
Run in a terminal
codex mcp add sentinel-mcp -- uvx sentinel-mcp-guardOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.sentinel-mcp]
command = "uvx"
args = ["sentinel-mcp-guard"]Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"sentinel-mcp": {
"command": "uvx",
"args": [
"sentinel-mcp-guard"
]
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.json
{ "mcpServers": { "sentinel-mcp": { "command": "uvx", "args": [ "sentinel-mcp-guard" ] } } }Or run: gemini mcp add -s user sentinel-mcp uvx -- sentinel-mcp-guard
Antigravity
Add to ~/.gemini/config/mcp_config.json
{ "mcpServers": { "sentinel-mcp": { "command": "uvx", "args": [ "sentinel-mcp-guard" ] } } }Use .agents/mcp_config.json to add it to one workspace only.
Devin Desktop (formerly Windsurf)
Add to ~/.config/devin/mcp_config.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
Add to cline_mcp_settings.json
{ "mcpServers": { "sentinel-mcp": { "command": "uvx", "args": [ "sentinel-mcp-guard" ] } } }Open it from the MCP Servers icon → Configure → Configure MCP Servers.
Zed
Add to Zed settings.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
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "mcpServers": { "sentinel-mcp": { "command": "uvx", "args": [ "sentinel-mcp-guard" ] } } }Junie
Add to ~/.junie/mcp/mcp.json
{ "mcpServers": { "sentinel-mcp": { "command": "uvx", "args": [ "sentinel-mcp-guard" ] } } }Use .junie/mcp/mcp.json to share it with a project.
Kiro
Add to ~/.kiro/settings/mcp.json
{ "mcpServers": { "sentinel-mcp": { "command": "uvx", "args": [ "sentinel-mcp-guard" ] } } }Use .kiro/settings/mcp.json to add it to one workspace only.
Using several servers? Build one config file with the MCP config generator.
About Sentinel MCP
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.
Tools this server provides (7)
Taken from the project documentation; the running server may differ.
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_checkName 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_edgeName suggests: changes
- Adds a validated relation between two nodes.
- memory_queryName suggests: reads
- Returns nodes and edges around a node up to a given depth.
What it does
- 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
Pricing
Open source
Free and MIT licensed
Sentinel MCP 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.