Mcp-Omega-Brain
The Mcp-Omega-Brain server is a local, governance-first MCP control plane for AI agents, enforcing policy, auditing operations, and managing context with no external dependencies or cloud services.
π§ Cross-Session Episodic Memory
omega_preload_contextβ Load RAG + vault history + sealed handoff for full continuity at task startomega_rag_query/omega_ingestβ Semantic similarity search and storage with evidence tier metadata (A/B/C/D)omega_vault_searchβ Exact keyword search via SQLite FTS5omega_log_sessionβ Persist complete session records (decisions, files modified)omega_write_handoffβ Create SHA-256 sealed cross-session handoff documents that auto-load on restart
π Cortex Alignment & Governance
omega_cortex_checkβ Read-only gate: checks if a proposed tool call aligns with the declared baseline (approved/blocked)omega_cortex_steerβ Auto-corrects drifting arguments: hard-blocks below 0.45 similarity, steers between 0.45β0.65, passes above 0.65omega_executeβ Cortex-governed execution wrapper: checks alignment, steers if needed, executes, and auto-logs to the audit ledger
π Cryptographic Audit Ledger (S.E.A.L.)
omega_seal_runβ Append tamper-proof SHA-3-256 hash-chained entries to the immutable audit ledgeromega_brain_reportβ Generate human-readable audit reports (SEAL chain, Cortex verdicts, vault stats)omega_brain_statusβ Quick health summary of all subsystems
ποΈ VERITAS 10-Gate Build Pipeline
veritas_run_pipelineβ Full deterministic evaluation returning a verdict:PASS/MODEL_BOUND/INCONCLUSIVE/VIOLATIONIndividual gates: Intake (parse/canonicalize), Type (type correctness), Dependency (SBOM/CVE/license), Evidence (sufficiency via MIS_GREEDY), Math (interval arithmetic), Cost (resource budgets), Incentive (evidence monoculture bias), Security (SAST/secrets/injection/TLS), Adversary (stress-test via attack transforms), Seal (final cryptographic seal)
π¬ VERITAS Utility & State Machine Tools
veritas_nafe_scanβ Detect AI narrative failure signatures (Narrative Rescue, Moral Override, Authority Drift, Intent Inference)veritas_claeg_resolve/veritas_claeg_transitionβ Map verdicts to CLAEG states (STABLE_CONTINUATION,ISOLATED_CONTAINMENT,TERMINAL_SHUTDOWN) and validate permitted transitionsveritas_compute_quality/veritas_mis_greedyβ Evidence quality scoring and maximum independent set computation
All operations run entirely on-device with no API keys or network egress, ensuring full data sovereignty.
Integrates with CrewAI as an MCP host, allowing CrewAI agents to utilize Omega Brain's governance, memory, and audit tools.
Integrates with VS Code Copilot as an MCP client, allowing AI agents to use Omega Brain's governance, memory, and audit tools.
Integrates with LangChain as an MCP host, enabling LangChain-based agents to access Omega Brain's governance, memory, and audit resources.
Ecosystem Canon
Omega Brain MCP is the governing cognitive substrate of the VERITAS & Sovereign Ecosystem (Omega Universe). Where other memory layers persist context, Omega Brain enforces it: every execution path passes through the Cortex approval gate, every state transition is sealed to a tamper-proof SHA-3-256 audit ledger, and every artifact claim must survive a 10-gate deterministic build pipeline before a verdict is issued. It does not make trust decisions on behalf of the operator β it enforces the constraints the operator has declared, cryptographically and without exception. In the Omega Universe, Omega Brain MCP is the control plane: the point where agent autonomy ends and declared policy begins.
SYSTEM INVARIANT: VERITAS Build does not determine whether code is 'good.' VERITAS Build determines whether code survives disciplined attempts to break it under explicitly declared primitives, constraints, test regimes, boundaries, cost models, evidence, and policy.
Table of Contents
Overview
What It Is
Omega Brain MCP is a self-contained Model Context Protocol (MCP) server that runs as a local process alongside any MCP-compatible AI client. It exposes 26 tools and 9 resources covering four governance domains:
Cross-session episodic memory β SQLite vault with full-text search, persisted across all restarts
10-gate VERITAS build pipeline β deterministic artifact evaluation from INTAKE through TRACE/SEAL
Cryptographic S.E.A.L. audit ledger β append-only SHA-3-256 hash chain; every operation is sealed
Cortex approval gate β Tri-Node similarity gate that enforces declared baseline policy on every tool call
Two Python files. One pip dependency. Zero external services.
Compatible clients: Claude Desktop, VS Code Copilot, Cursor, Windsurf, AutoGen, LangChain, CrewAI, LlamaIndex, and any MCP-compliant host.
What It Is Not
Not a cloud service. No network egress, no API keys, no telemetry. All data remains on the operator's machine under
~/.omega-brain/(orOMEGA_BRAIN_DATA_DIR).Not a language model. Omega Brain does not generate text. It governs, routes, stores, and audits agent operations.
Not a policy authority. VERITAS gates enforce what the operator declares. The system cannot determine correctness beyond what its evidence and constraints describe.
Not a firewall or OS-level isolation layer. See the Threat Model for explicit out-of-scope boundaries.
Features
Cross-Session Episodic Memory
Vault (SQLite + FTS5) β sessions, entries, and events persist across restarts; auto-loaded at startup via
omega://session/preloadSemantic RAG provenance β 3-tier embedding engine:
sentence-transformersβfastembedONNX β TF-IDF n-gram; always available with no GPU requirementSealed handoff β SHA-256 signed cross-session memory file; auto-loaded on restart, auto-written on task seal
10-Gate VERITAS Build Pipeline
Full deterministic evaluation pipeline: INTAKE β TYPE β DEPENDENCY β EVIDENCE β MATH β COST β INCENTIVE β SECURITY β ADVERSARY β TRACE/SEAL
Every gate returns a structured verdict (PASS, MODEL_BOUND, INCONCLUSIVE, or VIOLATION). The pipeline seals the final result as a cryptographically identified record. Fail-fast on VIOLATION by default.
Cryptographic Audit Ledger (S.E.A.L.)
Append-only SHA-3-256 hash chain
Every Cortex check, ingest, session log, gate run, and execution is automatically sealed
Chain integrity is verifiable at any point; any tampered entry breaks the chain
Persisted to
omega_ledger.jsonunder the data directory
Cortex Approval Gate
Tri-Node similarity gate evaluates every tool call against the operator-declared baseline prompt
Hard-block window
< 0.45β execution is refused; event sealed to ledgerSteer window
0.45β0.65β arguments are corrected toward baseline alignment before executionBlocks NAFE drift (narrative rescue, moral override, authority drift, intent inference) before execution
CLAEG state machine governs terminal states:
STABLE_CONTINUATION,ISOLATED_CONTAINMENT,TERMINAL_SHUTDOWN; absence of allowed transition is prohibition
Operational Characteristics
Two transports β stdio (default, MCP standard) and SSE (HTTP streaming for web clients)
Docker-ready β single
Dockerfile, non-root user, unbuffered I/OSingle dependency β
mcp>=1.0.0; optionalfastembedorsentence-transformersfor higher-quality embeddingsFully local β no cloud, no API keys, no external server required
Architecture
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β MCP CLIENT β
β (Claude Desktop / VS Code Copilot / Cursor / AutoGen / ...) β
βββββββββββββββββββββββββββββ¬ββββββββββββββββββββββββββββββββββββββ
β MCP stdio / SSE (JSON-RPC 2.0)
βΌ
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β OMEGA BRAIN MCP SERVER β
β omega_brain_mcp_standalone.py β
β β
β ββββββββββββββββββββββββββββ ββββββββββββββββββββββββββββββββ β
β β BRAIN CORE β β VERITAS BUILD GATES β β
β β β β β β
β β Cortex Approval Gate β β 10-Gate Pipeline β β
β β (Tri-Node, steer/block) β β INTAKE β TYPE β DEPENDENCY β β
β β β β β EVIDENCE β MATH β COST β β
β β RAG Provenance Store β β β INCENTIVE β SECURITY β β
β β (3-tier embeddings) β β β ADVERSARY β TRACE/SEAL β β
β β β β β β
β β S.E.A.L. Audit Ledger β β Evidence Engine β β
β β (SHA-3-256 hash chain) β β (Quality(e), MIS_GREEDY) β β
β β β β β β
β β Sealed Handoff β β CLAEG State Machine β β
β β (SHA-256 cross-session) β β NAFE Scanner β β
β ββββββββββββ¬ββββββββββββββββ ββββββββββββββββββ¬ββββββββββββββ β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β β
βΌ SQLite βΌ Pure Python
βββββββββββββββββββββββ βββββββββββββββββββββββββββ
β ~/.omega-brain/ β β veritas_build_gates.py β
β omega_vault.db β β (stateless, no I/O, β
β omega_ledger.json β β reproducible verdicts)β
β omega_handoff.jsonβ βββββββββββββββββββββββββββ
βββββββββββββββββββββββComponent Roles
Layer | Component | Role |
Brain Core | Vault (SQLite) | Persistent session/entry storage with FTS5 full-text search |
Brain Core | S.E.A.L. Ledger | Append-only SHA-3-256 hash chain for tamper-proof audit |
Brain Core | RAG Provenance | Semantic embedding store β 3-tier engine (ST / fastembed / TF-IDF) |
Brain Core | Cortex | Tri-Node approval gate with steer/block modes |
Brain Core | Handoff | SHA-256 sealed cross-session memory transfer |
Build Gates | 10-Gate Pipeline | INTAKEβTYPEβDEPENDENCYβEVIDENCEβMATHβCOSTβINCENTIVEβSECURITYβADVERSARYβTRACE/SEAL |
Build Gates | Evidence Engine | Quality(e) formula, MIS_GREEDY independence scoring, Agreement computation |
Build Gates | CLAEG | Constraint-locked state machine with 3 terminal states |
Build Gates | NAFE Scanner | Narrative failure signature detection and auto-seal |
ποΈ Protocol Standard: The
omega-brain-mcpis the official execution engine for the VERITAS Ξ©-CODE v2.0 specification. The structural gates here enforce the deterministic claims that power veritas-vault session capture, AEGIS remediation, and Sovereign artifacts.
Verdict System
Verdict | Precedence | Meaning |
| 0 (lowest) | All gates satisfied. Artifact is deployable under declared regime. |
| 1 | Gates pass but resource/coverage/confidence near redline. Deploy with monitoring. |
| 2 | Insufficient evidence or timeout. Cannot affirm or deny. Block deploy. |
| 3 (highest) | Constraint failure, security vulnerability, or test failure. Block deploy. |
Requirements
Requirement | Details |
Python | 3.11 or 3.12 |
Core dependency |
|
OS | Linux, macOS, Windows (WSL2 recommended on Windows) |
Disk | ~5 MB for source + SQLite data dir (default |
Optional |
|
Optional |
|
Embedding engine auto-selection: The server probes for
sentence-transformersfirst, thenfastembed, then falls back to built-in TF-IDF n-gram. You always get semantic search β richer models improve recall quality.
Installation
From PyPI
pip install omega-brain-mcpFrom Source
git clone https://github.com/VrtxOmega/omega-brain-mcp.git
cd omega-brain-mcp
pip install mcp
# Optional: better embeddings
pip install fastembed # recommended β fast ONNX, no GPU
pip install sentence-transformers numpy # best quality, larger downloadDocker
docker build -t omega-brain-mcp .
docker run --rm -i omega-brain-mcp # stdio mode (MCP standard)
docker run --rm -p 8055:8055 omega-brain-mcp --sse --port 8055 # SSE modeRun Tests
pip install pytest pytest-asyncio pytest-cov
PYTHONUTF8=1 OMEGA_BRAIN_DATA_DIR=/tmp/omega-test pytest tests/ -v --tb=shortQuickstart
1 β Verify the server starts
python omega_brain_mcp_standalone.py --help2 β Run in stdio mode (default)
The server reads JSON-RPC 2.0 messages from stdin and writes responses to stdout. MCP clients manage this process automatically via the config below.
python omega_brain_mcp_standalone.py3 β Run in SSE mode (HTTP streaming)
python omega_brain_mcp_standalone.py --sse --port 8055
# GET http://localhost:8055/sse β event stream
# POST http://localhost:8055/messages β send tool calls4 β Test a tool call manually (stdio)
echo '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"omega_brain_status","arguments":{}}}' \
| python omega_brain_mcp_standalone.py5 β Configure your MCP client (see Configuration)
Configuration
Claude Desktop
Edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"omega-brain": {
"command": "python",
"args": ["/absolute/path/to/omega_brain_mcp_standalone.py"],
"env": { "PYTHONUTF8": "1" }
}
}
}VS Code / GitHub Copilot
Add to .vscode/mcp.json in your workspace (or user settings):
{
"servers": {
"omega-brain": {
"type": "stdio",
"command": "python",
"args": ["/absolute/path/to/omega_brain_mcp_standalone.py"],
"env": { "PYTHONUTF8": "1" }
}
}
}Cursor
In Cursor Settings β MCP β Add Server:
{
"mcpServers": {
"omega-brain": {
"command": "python",
"args": ["/absolute/path/to/omega_brain_mcp_standalone.py"],
"env": { "PYTHONUTF8": "1" }
}
}
}Windsurf / Cascade
In ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"omega-brain": {
"command": "python",
"args": ["/absolute/path/to/omega_brain_mcp_standalone.py"],
"env": { "PYTHONUTF8": "1" }
}
}
}SSE / HTTP Client
{
"mcpServers": {
"omega-brain": {
"type": "sse",
"url": "http://localhost:8055/sse"
}
}
}Environment Variables
Variable | Default | Description |
|
| Set to |
|
| Override the data directory for vault, ledger, and handoff files |
Integrations
Omega Brain MCP integrates with any MCP-compatible client using standard JSON-RPC 2.0 over stdio or SSE. For framework-specific integration patterns (LangChain, CrewAI, AutoGen, LlamaIndex) see INTEGRATIONS.md and the examples/ directory.
Recommended Integration Pattern
For production use, keep one persistent server process across all calls. This avoids the 2β3s cold-start cost of loading the embedding model and SQLite on every call.
from omega_client import OmegaBrainClient
client = OmegaBrainClient() # starts server subprocess once
# Governance-first: always run a Cortex check before executing
check = client.call("omega_cortex_check", {
"tool": "omega_rag_query",
"args": {"query": "sensitive project data"},
"baseline_prompt": "You are a data analysis agent. Only access approved datasets."
})
# {"approved": true, "similarity": 0.71, "verdict": "APPROVED", "node_votes": [1, 1, 1]}
# Memory retrieval
result = client.call("omega_rag_query", {"query": "VERITAS evidence thresholds", "top_k": 5})
# Run VERITAS build gate pipeline
verdict = client.call("veritas_run_pipeline", {"claim": {...}, "regime": "baseline"})
# Session persistence β always seal before terminating
client.call("omega_seal_task", {})
client.close()Quick-Reference Pattern Table
Goal | Tool | Notes |
Pre-action guard (binary) |
| Returns |
Pre-action guard + auto-fix |
| Returns steered args if in 0.45β0.65 window |
Full Cortex-wrapped execution |
| Omega Brain tools only; returns steered_args for external tools |
Memory / context retrieval |
| Use at agent task start |
Human-readable audit |
| SEAL chain tail, blocked count, VERITAS avg |
Session persistence |
| One call, no fields required |
Full artifact evaluation |
| 10-gate deterministic verdict + seal hash |
Usage Examples
All examples use JSON-RPC 2.0. In practice, your MCP client sends these automatically when you invoke a tool. The shell one-liner form is useful for testing.
Check server health
echo '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"omega_brain_status","arguments":{}}}' \
| python omega_brain_mcp_standalone.pyResponse (abbreviated):
{
"result": {
"content": [{
"type": "text",
"text": "{\"vault_sessions\": 3, \"vault_entries\": 42, \"rag_fragments\": 18, \"ledger_entries\": 127, \"embedding_engine\": \"fastembed\", \"omega_status\": \"OK\"}"
}]
}
}Cortex approval check
{
"jsonrpc": "2.0", "id": 4,
"method": "tools/call",
"params": {
"name": "omega_cortex_check",
"arguments": {
"tool": "omega_rag_query",
"args": {"query": "sensitive user data"},
"baseline_prompt": "You are a data analysis agent. Only access approved datasets."
}
}
}Response:
{"approved": true, "similarity": 0.71, "verdict": "APPROVED", "node_votes": [1, 1, 1]}Run the full VERITAS pipeline
{
"jsonrpc": "2.0", "id": 5,
"method": "tools/call",
"params": {
"name": "veritas_run_pipeline",
"arguments": {
"claim": {
"claim_id": "claim-001",
"artifact_type": "function",
"description": "Validates user authentication tokens",
"primitives": ["jwt", "hmac-sha256"],
"evidence": [
{
"id": "e1", "type": "test_suite",
"provenance": 0.9, "repeatability": 0.95,
"freshness": 0.85, "env_match": 1.0
}
],
"constraints": [{"op": "lte", "left": "latency_ms", "right": 50}],
"cost": {"cpu_p95": 0.3, "memory_gb_p95": 0.1},
"security": {"sast_findings": [], "secrets_found": false}
},
"regime": "baseline"
}
}
}Response:
{
"verdict": "PASS",
"gates_passed": 10,
"seal_hash": "a3f9c2...",
"pipeline_ms": 12,
"omega_status": "OK"
}NAFE scan (detect AI narrative failures)
{
"jsonrpc": "2.0", "id": 6,
"method": "tools/call",
"params": {
"name": "veritas_nafe_scan",
"arguments": {
"text": "Although the tests failed, the developer clearly intended the function to work correctly, so we can assume it passes."
}
}
}Response:
{
"nafe_detected": true,
"signatures": ["NARRATIVE_RESCUE", "INTENT_INFERENCE"],
"seal_hash": "b7d1e4...",
"omega_status": "NAFE_VIOLATION"
}Tools Reference (26 Tools)
Brain Core (12)
Tool | Purpose |
| Episodic task briefing: RAG + vault + sealed handoff + VERITAS score |
| Semantic search over RAG provenance store |
| Add text fragment to RAG store |
| Full-text keyword search across vault entries |
| Tri-Node approval gate with similarity scoring |
| Cortex correction mode β steer drifting args or hard block |
| Append tamper-proof S.E.A.L. entry to audit ledger |
| Write session record to vault |
| SHA-256 sealed cross-session handoff |
| Cortex-wrapped meta-tool β default execution path |
| Human-readable audit report |
| Unified brain health: vault stats, fragment count, ledger entries |
Build Gates (15)
Tool | Purpose |
| Gate 1/10: Canonicalize, validate fields, compute ClaimID |
| Gate 2/10: Primitives, domains, operators, symbols |
| Gate 3/10: SBOM, CVE, integrity, licenses, depth |
| Gate 4/10: MIS_GREEDY, Quality(e), K/A/Q thresholds |
| Gate 5/10: Constraint satisfaction via interval arithmetic |
| Gate 6/10: Resource utilization vs redline thresholds |
| Gate 7/10: Source dominance and vendor concentration |
| Gate 8/10: SAST, secrets, injection, auth, crypto |
| Gate 9/10: Fuzz, mutation, exploit, outage, spike |
| Full 10-gate pipeline β final verdict + seal hash |
| Compute Quality(e) for single evidence item |
| Run MIS_GREEDY algorithm on evidence items |
| Map verdict to CLAEG terminal state |
| Validate state transition (absence = prohibition) |
| Scan for NAFE failure signatures in AI text |
Resources (9)
URI | Description |
| Auto-fetched at startup: RAG + handoff + vault context |
| SHA-256 verified cross-session handoff |
| Session ID, call count, data directory |
| DB stats, embedding engine, ledger count |
| Full canonical VERITAS Omega Build Spec v2.0.0 |
| Terminal states, transitions, invariants, prohibitions |
| The 10-gate pipeline sequence |
| Dev/baseline regime numeric thresholds |
| Escalated production regime thresholds |
CLAEG State Machine
INIT β { STABLE_CONTINUATION | ISOLATED_CONTAINMENT | TERMINAL_SHUTDOWN }
STABLE_CONTINUATION β { STABLE_CONTINUATION | ISOLATED_CONTAINMENT | TERMINAL_SHUTDOWN }
ISOLATED_CONTAINMENT β { STABLE_CONTINUATION | TERMINAL_SHUTDOWN }
TERMINAL_SHUTDOWN β {} (absorbing)Invariant: Absence of an allowed transition is treated as prohibition. TERMINAL_SHUTDOWN is absorbing β there are no exit transitions.
State | Meaning |
| Normal operation; execution proceeds |
| Anomaly detected; execution continues under isolation |
| Critical failure; execution halted, no recovery |
File Structure
omega-brain-mcp/
βββ omega_brain_mcp_standalone.py # MCP server β Brain Core + tool dispatch (~1430 lines)
βββ veritas_build_gates.py # Gate engine β pure deterministic logic (~1430 lines)
βββ omega_client.py # Python client helper (persistent process)
βββ requirements.txt # mcp>=1.0.0
βββ pyproject.toml # Package config + optional deps
βββ Dockerfile # Non-root, unbuffered, stdio + SSE
βββ INTEGRATIONS.md # LangChain, CrewAI, AutoGen, LlamaIndex guides
βββ SECURITY.md # Vulnerability reporting policy
βββ CHANGELOG.md # Release history
βββ docs/
β βββ integration.md # Detailed integration reference
βββ examples/
β βββ langchain_quickstart.py
β βββ crewai_quickstart.py
β βββ autogen_quickstart.py
β βββ llamaindex_quickstart.py
βββ tests/
βββ test_build_gates.py # Gate pipeline tests
βββ test_veritas.py # VERITAS scoring tests
βββ test_seal.py # SEAL chain integrity tests
βββ test_handoff.py # Handoff seal/context tests
βββ test_cortex.py # Cortex approval tests
βββ test_vault.py # Vault persistence testsTroubleshooting
Server does not start / ModuleNotFoundError: mcp
pip install mcpUnicodeDecodeError on Windows
Set the environment variable before running:
set PYTHONUTF8=1
python omega_brain_mcp_standalone.pyOr add "env": { "PYTHONUTF8": "1" } to your MCP client config.
Client shows "Server disconnected" immediately
Confirm the path in your client config is absolute (e.g.,
C:\Users\you\omega-brain-mcp\omega_brain_mcp_standalone.py), not relative.Run the server manually in a terminal to see startup errors:
python /path/to/omega_brain_mcp_standalone.pyCheck Python version:
python --versionmust be 3.11+.
Embeddings are slow / low quality
Install a better embedding backend:
pip install fastembed # fast, no GPU, ~30MB download β recommended
# or
pip install sentence-transformers numpy # highest qualityThe server auto-selects the best available engine at startup and logs which tier is active.
NAFE_VIOLATION returned unexpectedly
The NAFE scanner detected a narrative failure pattern (rescue framing, intent inference, moral override, or authority drift) in the text passed to veritas_nafe_scan. Review the signatures field in the response for the specific pattern detected, then revise the input text to state facts without narrative interpretation.
Vault / ledger corruption
Delete the data directory and restart to rebuild from scratch (all persisted memory will be lost):
rm -rf ~/.omega-brain/
python omega_brain_mcp_standalone.pyTo use a separate data directory per project:
OMEGA_BRAIN_DATA_DIR=/path/to/project-brain python omega_brain_mcp_standalone.pySSE mode: Connection refused on port 8055
Ensure the server is running with --sse --port 8055 and that the port is not blocked by a firewall. Check with:
curl -N http://localhost:8055/sseSecurity & Sovereignty
All data is local. The vault, S.E.A.L. ledger, RAG store, and handoff file are stored in
~/.omega-brain/(orOMEGA_BRAIN_DATA_DIR). No data is transmitted to any external service.No API keys required. The server requires only a local Python installation and the
mcppackage.Cryptographic integrity. The S.E.A.L. ledger uses SHA-3-256 hash chaining; any tampering with a past entry breaks the chain. Handoff files are SHA-256 sealed.
Cortex blocks drift. The Cortex gate hard-blocks tool calls with similarity below
0.45to the declared baseline prompt, preventing prompt injection from steering the agent off its declared mission.NAFE guardrails. The NAFE scanner detects and seals AI narrative failures β including attempts to override constraints via ethical framing or authority assertions β before they propagate.
Non-root Docker. The provided
Dockerfileruns as a non-rootomegauser.VERITAS gates are stateless and deterministic.
veritas_build_gates.pyhas no network calls, no file I/O, and no side effects. All verdicts are reproducible given the same input.Sensitive data handling. Do not ingest secrets, credentials, or PII into the RAG store or vault. The vault is unencrypted SQLite on disk; protect it with OS-level file permissions.
For vulnerability reporting, see SECURITY.md.
Threat Model
In Scope
Threat | Mitigation |
Tampered audit records | S.E.A.L. SHA-3-256 hash chain; any modified entry breaks chain verification |
Agent prompt injection steering execution off declared baseline | Cortex Tri-Node gate hard-blocks calls below similarity threshold |
AI narrative failures bypassing constraints | NAFE scanner detects and seals rescue framing, moral override, intent inference, authority drift |
Unapproved state transitions in agent execution | CLAEG state machine; absence of allowed transition is prohibition |
Artifact deployment without declared evidence | VERITAS 10-gate pipeline requires structured evidence, constraints, and cost model before issuing a verdict |
Unsigned or tampered cross-session memory | Handoff files are SHA-256 sealed; tampering is detected on load |
Out of Scope
The following threats are not addressed by Omega Brain MCP:
Compromised host or operating system β if the process environment is controlled by an adversary, no application-layer protection is sufficient
Stolen or leaked vault encryption keys β the vault is unencrypted SQLite; OS-level access controls are the operator's responsibility
Malicious administrator β an operator with filesystem access can modify or delete the data directory directly
Supply-chain compromise of
mcpor Python itself β dependency integrity verification is the operator's responsibility; use lock files and hash verificationNetwork-level attacks β SSE mode exposes an HTTP endpoint; TLS termination and network access control are the operator's responsibility
Model-level jailbreaks β Cortex gates on declared tool calls; it does not govern the language model's internal reasoning or responses
Trust Boundaries
[ MCP Client / AI Agent ]
β
β Trust: MCP client is the operator's declared agent.
β Baseline prompt defines the trust contract.
βΌ
[ Omega Brain MCP Server ] β Enforcement boundary
β
β Trust: Local filesystem is operator-controlled.
β No external services are contacted.
βΌ
[ ~/.omega-brain/ (vault, ledger, handoff) ]The Cortex gate is the primary trust enforcement point. All tool calls cross this boundary. The VERITAS pipeline enforces evidence-based policy on artifact claims. The S.E.A.L. ledger provides a tamper-evident record of all crossings.
Roadmap
Milestone | Status | Description |
v2.1 β Core governance stack | Released | Cortex gate, S.E.A.L. ledger, 10-gate VERITAS pipeline, CLAEG, NAFE |
v2.2 β Vault encryption | Planned | Optional AES-256-GCM encryption for the local SQLite vault |
v2.3 β Ledger export & attestation | Planned | Structured ledger export for external audit tools; Merkle root attestation |
v2.4 β Multi-agent handoff | Planned | Verified cross-agent memory transfer with provenance chain |
v3.0 β Ecosystem bridge | Planned | Native integration with Aegis policy engine and Veritas Vault retention layer |
Community contributions are welcome. See CONTRIBUTING.md for invariants that must not be broken.
Omega Universe
Omega Brain MCP is the governance control plane of the VERITAS & Sovereign Ecosystem. The following repositories form the broader Omega Universe:
Repository | Role |
This repo β Governance control plane: Cortex gate, VERITAS pipeline, S.E.A.L. ledger | |
Retention substrate β deterministic storage under VERITAS constraints | |
Policy enforcement engine β sovereign access control layer | |
Next-generation Aegis rewrite | |
Semantic drift detection and correction for agent pipelines | |
Sovereign desktop media application | |
Local LLM bridge β Ollama integration with Omega governance layer | |
Sovereign application arcade |
π Read the master narrative: Why Sovereign AI?
π VERITAS Omega Ecosystem
This project is part of the VERITAS Omega Universe β a sovereign AI infrastructure stack.
VERITAS-Omega-CODE β Deterministic verification spec (10-gate pipeline)
Gravity-Omega β Desktop AI operator platform
Ollama-Omega β Ollama MCP bridge for any IDE
OmegaWallet β Desktop Ethereum wallet (renderer-cannot-sign)
veritas-vault β Local-first AI knowledge engine
sovereign-arcade β 8-game arcade with VERITAS design system
SSWP β Deterministic build attestation protocol
License
MIT β see LICENSE for full text.
Maintenance
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/VrtxOmega/omega-brain-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server