Back to Browse

Sentinel MCP Server

SecurityModerate5.3MCP RegistryLocal
Free

Server data from the Official MCP Registry

Deterministic claim verification, fail-closed policy gate, WORM audit ledger, and graph memory.

About

Deterministic claim verification, fail-closed policy gate, WORM audit ledger, and graph memory.

Security Report

5.3
Moderate5.3Moderate Risk

The sentinel-mcp server is a benign, self-contained MCP server with no hardcoded secrets, no shell execution, no outbound data exfiltration, and parameterized SQL. Its main concerns are an unauthenticated streamable-http transport that exposes tools to any local client, and a WORM ledger that is tamper-evident but not truly immutable on disk. Permissions (local file read/write for the ledger and SQLite memory, plus optional local FalkorDB and HTTP serving) match the stated purpose. Supply chain analysis found 5 known vulnerabilities in dependencies (0 critical, 5 high severity). Package verification found 1 issue.

12 files analyzed · 11 issues found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Required

This plugin requests these system permissions. Most are normal for its category.

File System Read

Reads files on your machine. Normal for tools that analyze or process local data.

File System Write

Writes or modifies files on your machine. Check that this is expected for the tool.

HTTP Network Access

Connects to external APIs or services over the internet.

database

Check that this permission is expected for this type of plugin.

How to Install

Add this to your MCP configuration file:

{
  "mcpServers": {
    "sentinel-mcp-guard": {
      "command": "uvx",
      "args": [
        "sentinel-mcp-guard==0.1.1"
      ]
    }
  }
}

Some servers take additional arguments. See the repository for details.

Documentation

View on GitHub

From the project's GitHub README.

sentinel-mcp

mcp-name: io.github.Sandeep-Hipparagi/sentinel-mcp

Registry-ready MCP server for governed agents: deterministic claim verification, a fail-closed policy gate, a Merkle-chained WORM audit ledger, and graph memory that degrades gracefully — installable with one command.

CI Python 3.11+ MCP License: MIT

Product Walkthrough & Architecture Demo

https://github.com/Sandeep-Hipparagi/sentinel-mcp/releases/download/media-v1/brag.mp4

sentinel-mcp demo


Architecture

flowchart LR
    C["MCP Client\n(Claude Desktop · Cursor · OpenCode)"] -->|stdio / streamable-http| S["sentinel-mcp server\n(mcp 1.x FastMCP or 2.x MCPServer)"]
    S --> V["verify_claim\nDeterministic source tiering\n(Tier 1-5, zero network)"]
    S --> P["policy_check\nDeclarative allow/deny gate\n(fail-closed, schema bounds)"]
    S --> W["audit_append / audit_verify\nWORM JSONL ledger\nSHA-256 Merkle chain"]
    S --> M["memory_upsert / memory_add_edge / memory_query\nFalkorDB → SQLite fallback"]
    W -.chain hash.-> W

Measured conformance & throughput (this build)

CheckResult
Conformance self-test12/12 PASS (sentinel-mcp conformance)
verify_claim latency (n=1000)p50 0.013 ms · p95 0.014 ms · p99 0.018 ms (budget: p95 < 5 ms)
policy_check latency (n=1000)p50 0.005 ms · p95 0.005 ms · p99 0.006 ms
Tamper detection (single + multi-block, deletion, append-after-tamper)100% caught, first bad sequence pin-pointed
Tests76/76 pytest · mypy --strict · ruff clean

Reproduce: pip install -e ".[dev]" && pytest && sentinel-mcp conformance.

Quickstart (3 commands)

pip install -e ".[dev]"          # or: pip install sentinel-mcp-guard
sentinel-mcp conformance          # self-test: 12 checks incl. tamper + latency
sentinel-mcp serve                # stdio MCP server

Client setup

Claude Desktop (claude_desktop_config.json):

{"mcpServers": {"sentinel-mcp": {"command": "sentinel-mcp", "args": ["serve", "--transport", "stdio"]}}}

Cursor / OpenCode / any streamable-HTTP client:

sentinel-mcp serve --transport http --port 8000

Full example configs: examples/claude_desktop.json. Registry manifest: server.json.

Tool reference

ToolInputOutputGuarantees
verify_claimclaim_text, url?citable, source_tier (1–5), tier_name, risk_flags, rationaleDeterministic rules; zero network, zero API keys; typosquat lookalikes forced to Tier 5
policy_checktool_name, argsallowed, reason_codeDeclarative allowlist + argument bounds; prototype-pollution keys denied; payload-size cap; fail-closed
audit_appendeventsequence, entry_hash, merkle_rootAppend-only JSONL; SHA-256(prev_hash ‖ canonical(entry))
audit_verify—valid, length, merkle_root, first_bad_sequence?Full chain replay; pin-points the first mutated block
memory_upsertnode_id, labels?, properties?backend, node_idIdempotent; backend observable
memory_add_edgesrc, relation, dstbackend, edgeRelation names validated (^[A-Za-z][A-Za-z0-9_]*$)
memory_querynode_id, max_depth? (1–6)backend, nodes, edgesFalkorDB when reachable, embedded SQLite otherwise

Dual-generation MCP SDK support

sentinel-mcp detects the installed mcp SDK and serves through the matching API: 2.x MCPServer (add_tool + run_stdio_async/run_streamable_http_async) or 1.x FastMCP (add_tool + run(transport=...)). Tool logic is pure Python and identical across generations; conformance verifies the wiring.

Security posture

  • Fail-closed everywhere: unknown tools, out-of-bounds arguments, and infrastructure errors are denied (POL_* / NATIVE_DRIVER_ERROR-style reason codes).
  • Tamper-evident audit: 100% of single-block mutations, multi-block mutations, deletions, and append-after-tamper scenarios are detected in tests.
  • No secrets: no API keys, no network calls in tool logic; the SQLite fallback means the server always boots.
  • Supply chain: two runtime dependencies (mcp, pydantic) plus CLI conveniences; OIDC-only PyPI publishing.

Development

ruff check . && ruff format --check .   # lint + format
mypy --strict src tests                 # full strict typing
pytest                                  # 76 tests
sentinel-mcp conformance                # 12-check self-test

See CONTRIBUTING.md and SECURITY.md.

Ecosystem

Part of the governed-agent stack measured by agent-benchmark-suite.

License

MIT — see LICENSE.

Reviews

No reviews yet

Be the first to review this server!