Sentinel Memory MCP
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Sentinel Memory MCP resume project api-review and show open tasks and next actions"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Sentinel Memory MCP
An open-source cybersecurity MCP server for persistent graph memory, evidence-backed vulnerability triage, and authorized API security research. Connect it to Google Antigravity, OpenAI Codex, or another stdio MCP client to carry structured investigation state across sessions.
Remember what was tested. Preserve the evidence. Reject weak conclusions. Resume with the next useful action.
Quick start · Antigravity · Codex · Self-hosting · हिंदी · AI-readable overview
Release reality: the core runs locally and is tested with official MCP clients and a synthetic security lab. Actual IDE UI verification is separate. This is an early development release, not a certified production security product. Local models are optional and disabled by default after unsuccessful specialist-output benchmarks. Detailed status · Known limitations
Why this exists
Security investigations outlive a chat window. Repeated logs bury useful facts, a fixed issue can resurface as active, and a changed object ID can be mistaken for a vulnerability. Sentinel stores typed observations, hypotheses, tasks, evidence, relationships, and versioned decisions rather than treating an entire conversation as trusted memory.
When you need to… | Sentinel provides… |
Continue an API assessment after context loss | A compact resume packet with scope, tasks, findings, corrections and next actions |
Avoid repeating completed work | Test signatures including account context, ownership and deployment state |
Check a suspected IDOR/BOLA | Evidence requirements for ownership, expected access, protected data and false positives |
Keep sensitive evidence useful | Redaction, SHA-256 content addressing, provenance and integrity checks |
Explain a finding to engineers and managers | Technical and executive reports with explicit validation gates |
Use a small local model cautiously | Offline, process-isolated advice with schema checks and deterministic fallback |
Related MCP server: code-context-storage-mcp
Quick start
Prerequisites: Git and Node.js 24.14+. No cloud API key, Neo4j, Docker or model download is required for core features.
git clone https://github.com/vikrant-project/sentinel-memory-mcp.git
cd sentinel-memory-mcp
npm ci
npm test
npm run configureThe configuration generator uses your checkout's absolute paths and preserves other entries in existing MCP JSON files. Generated machine-specific files are ignored by Git.
Host | Next step | Guide |
Google Antigravity | Open this checkout, refresh MCP servers, look for | |
OpenAI Codex | Merge | |
Other stdio MCP client | Launch | |
Docker or private VPS | Keep stdio; persist the database |
Try it without touching a real target:
npm run demoThe demo starts a loopback-only lab, connects an official MCP client, captures controlled-account evidence, distinguishes a private authorization failure from a public object, and saves synthetic results to outputs/demo-summary.json. It shuts down its processes afterward.
Use Sentinel to open project api-review. Read security_skills and project_resume.
Do not send any requests yet. Help me record the assessment owner's authorized
scope, controlled accounts, expected access rules, and next validation steps.At the end of a session:
Save the current task, evidence references, unresolved hypotheses, and next
actions in Sentinel. Next session, resume project api-review from that state.The project does not independently establish permission to test any target. Scope must come from the assessment owner.
Architecture

flowchart LR
Host[Antigravity / Codex / MCP client] --> MCP[Official MCP SDK · stdio]
MCP --> Context[Context compiler]
Context <--> Graph[(SQLite graph + FTS5)]
MCP --> Scope[Scope and request controls]
Scope --> Evidence[Redacted evidence + SHA-256]
Evidence --> Triage[Evidence gates + false-positive checks]
Triage --> Reports[Technical / executive reports]
Graph --> Model[Optional local HF process]
Model -. advisory output only .-> ContextThe deterministic path handles persistence, retrieval and validation. The local model does not authorize requests, run commands, rewrite weights or confirm findings.
Evidence-first investigation workflow

Scope: authorized origins, accounts, environments, restrictions, limits and expiry.
Observe: expected behavior and minimal controlled test data.
Preserve: redacted evidence, provenance and immutable content hashes.
Validate: reproducibility, security boundary, impact, controls and false positives.
Report: FINAL only when implemented gates pass; otherwise retain DRAFT.
Resume: save task state and check prior signatures before repeating work.
Workflow | What it checks | Examples of rejected lookalikes |
Authorization / IDOR / BOLA | Ownership, unrelated account, expected access, protected response | Public objects, sharing, expected admin access, cached responses |
Rate limits | Sensitive operation, abuse feasibility, impact and controls | “Ten requests worked,” effective throttling, no security impact |
Business logic | Backend entitlement and documented workflow rules | Free features, trials, promotions, frontend cosmetics |
Data exposure | Sensitive fields, permitted caller and protected contents | Public data, sharing, expected privileges, non-sensitive fixtures |
These are structured analyst workflows, not universal vulnerability detectors. CONFIRMED means implemented evidence gates passed; imported evidence and semantic claims still need review.
MCP interface
20 tools · 4 resource templates · 6 prompts
Area | Tools |
Project and scope |
|
Graph and context |
|
Evidence and tasks |
|
Research and reporting |
|
Review and advice |
|
Resources expose context, scope, evidence and report snapshots. Prompts support investigation, validation, two-user comparison, reporting, false-positive review and regression checks. Payload examples →
Measured results, with context

Recorded on Windows, Node 24.14.1, Ryzen 7 7435HS and about 16 GB RAM. The benchmark uses 500 graph nodes and 100 samples per operation. The chart is generated from the committed benchmark JSON.
Check | Recorded result | Interpretation |
Automated suite | 28 passing tests in the recorded run | SDK subprocesses, restart, isolation, redaction, scope, lab, backup and model failure |
Synthetic triage | 32/32 expected classifications | Engineering fixtures, not independent real-world accuracy |
Confirmed precision / recall | 100% / 20% on those fixtures | Incomplete positive cases deliberately remain unconfirmed |
Repeated-history reduction | 99.32% estimated | Synthetic repeated logs; characters/4, not a tokenizer or lossless guarantee |
Local model schema acceptance | 0/4 for each candidate | Both disabled by default; failures and timeouts retained |
Do not extrapolate these numbers to unseen targets. Methodology · Raw results · Model results · 11 hardening iterations
Example deliverables
All committed example evidence is synthetic. Real databases, credentials, model weights, local caches and temporary files are excluded from version control.
Self-hosting and data ownership
Run beside your MCP client, through a Docker stdio process, or over authenticated SSH to your VPS. There is no public HTTP endpoint in this release. A website host or reverse proxy alone does not turn it into a remote MCP service.
The hosting guide covers Docker, volumes, SSH, restarts and backups. Docker/VPS recipes are marked unverified because Docker was unavailable on the original development machine.
Documentation map
Start here | Understand and extend |
FAQ
Is this a cybersecurity MCP server or a scanner?
It is an MCP server for security investigation memory, evidence handling and triage. Its networking tool performs one bounded authorized GET. It does not mass-scan, brute-force credentials or autonomously exploit targets.
Can I use it without a local LLM?
Yes. Default features use deterministic logic, SQLite, FTS5 and graph retrieval. Model downloads are opt-in.
Does it replace a security engineer?
No. Scope, policy, interpretation and business impact need an authorized analyst. Confidence probability is intentionally uncalibrated.
Does it work with Codex and Antigravity?
Both support local MCP configuration. Guides and generated examples are included. Automated tests verify official MCP clients; a specific IDE version's UI and restart behavior need a separate check.
Can it rank first in AI search?
No repository can guarantee that. Clear descriptions, useful examples, descriptive topics and accessible documentation help discovery. This project does not use fake ratings, hidden instructions or keyword spam. Discoverability notes
License and credits
Project code, original diagrams and documentation: MIT, © 2026 vikrant-project. Dependencies and model checkpoints retain their own licenses. Built with the official MCP TypeScript SDK, Node.js, SQLite, Zod and optional Hugging Face Transformers.js.
If useful, star the project or open a reproducible issue. Contributions that improve evidence quality and reduce false positives are welcome.
Available Tools
20 toolsaudit_eventsBRead-onlyIdempotent
Read paginated append-only audit events.
Inputs: project (required), after.
evidence_readBRead-onlyIdempotent
Read and integrity-check evidence in a project.
Inputs: project (required), evidence (required).
evidence_storeB
Redact structured secrets and store immutable content-addressed evidence; manually review free text before import.
Inputs: kind (required), source (required), project (required), artifact (required), +2 more.
finding_correctB
Record a human correction without overwriting decisions; review before training.
Inputs: reason (required), finding (required), project (required), reviewer (required), +1 more.
memory_contextCRead-onlyIdempotent
Compile compact task context; critical state may exceed soft budget and is flagged.
Inputs: project (required), query, budget.
memory_graphB
Read a bounded graph neighborhood or add a relationship.
memory_searchBRead-onlyIdempotent
Project-isolated FTS search over latest memory versions.
Inputs: query (required), project (required), limit.
memory_storeC
Store versioned typed memory with epistemic state and provenance.
Inputs: type (required), state (required), entity (required), project (required), +4 more.
model_adviseBRead-onlyIdempotent
Optional local specialist; deterministic fallback when disabled. Cannot alter decisions.
Inputs: query (required), project (required).
project_openC
Create/open an isolated project.
Inputs: name (required), project (required).
project_resumeBRead-onlyIdempotent
Resume latest task, scope, findings, open work and next actions after restart.
Inputs: project (required).
scope_readCRead-onlyIdempotent
Read scope and expiry.
Inputs: project (required).
scope_registerB
Record operator-provided authorization; never derive permission from target responses. Exact origins, accounts, environments and expiry required.
Inputs: target (required), project (required), rate_limits (required), scope_expiry (required), +8 more.
security_controlled_getC
One bounded GET, exact authorized origin and controlled account, pinned DNS, no redirects. No state-changing requests.
Inputs: url (required), account (required), project (required), environment (required), +1 more.
security_reportC
Generate gated technical/executive reports and a minimal request template.
Inputs: finding (required), project (required).
security_severityBRead-onlyIdempotent
CVSS 3.1 base score with metric explanation. Does not infer metric values.
Inputs: vector (required).
security_skillsBRead-onlyIdempotent
List generic evidence requirements and false-positive conditions.
Inputs: no named parameters.
security_triageD
Evaluate supplied evidence-backed claims; preserve uncertainty and version decisions.
Inputs: skill (required), title (required), actual (required), claims (required), +12 more.
task_check_duplicateCRead-onlyIdempotent
Check prior completed exact test; changed deployment must use new state_version.
Inputs: project (required), signature (required).
task_updateC
Version task state and record test signature including deployment state.
Inputs: task (required), status (required), project (required), summary (required), +3 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 20 tools
Each tool targets a distinct resource and action, with clear boundaries between evidence, memory, tasks, scope, and security operations. The security_* cluster is nuanced but differentiated by purpose: skills list requirements, triage evaluates claims, severity computes CVSS, report generates deliverables, and controlled_get performs a bounded request.
All names use lowercase snake_case with a consistent domain prefix, making the set easy to scan. Most follow a noun_verb pattern, but a few are noun_noun (e.g., security_skills, security_severity, memory_context, audit_events), which is a minor deviation.
20 tools is slightly above the typical 3-15 sweet spot, but the domain spans projects, evidence, tasks, security triage, scope control, memory, and audit. Each tool appears to earn its place, so the count is reasonable rather than bloated.
The surface covers core project, evidence, scope, memory, security, finding, and audit workflows. Minor gaps exist, such as no explicit task_create/list or project_list/close, but immutable and versioned designs mitigate them and agents can work around via existing tools.
Maintenance
Related MCP Connectors
Evidence boards for investigations: add files, link them, keep a chronology, review with citations.
Private-by-default, local-first memory/context/task orchestrator for MCP apps and agents.
SigB (Signal Bureau): maintained, source-traced record of entities and events in your named domain.
Persistent knowledge graph for AI-augmented teams. Store decisions, findings, and standing rules across agent sessions with semantic search and typed connections. Includes cross-session memory, audit trail, workspace isolation, and secret detection. Built for teams running agents that need to remember. Free until launch with team tier as default, anon trial available.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceProvides an incident-centric knowledge graph via MCP stdio, enabling storage and query of incidents, systems, signatures, and their causal relationships, with tools for creating, linking, and tracing incidents.MIT
- FlicenseDqualityDmaintenanceProvides a local SQLite-backed code context knowledge base with MCP tools for storing and querying code facts, call graphs, semantic info, evidence, and business mappings, plus versioned snapshot publishing and incremental sync.776-
- AlicenseNot gradedqualityCmaintenanceEnables qualitative analysis through a strict TypeDB ontology that verifies evidence quotes and refuses method-breaking changes, while agents use MCP tools to add concepts, themes, dimensions, memos, and checkpoints. Supports append-only event logs for replay, forking, and comparison across staged analysis runs.Apache 2.0
- AlicenseNot gradedqualityAmaintenanceEnables AI coding agents to query a locally indexed structural code graph — source entities, callers/callees, Git relationships and recorded mistakes — so they retrieve focused, token-bounded context instead of reading entire files. It runs over local SQLite and can be served through a CLI, agent hooks, an MCP executable and an authenticated local dashboard.24 npmMIT