Nucleus Mcp

SSE

by eidetic-works

4 8.5k downloads Not rated yet MIT

About

Nucleus MCP server by Eidetic Works — persistent memory and governance for Claude, Cursor, Windsurf — file-based, no vendor lock-in.

Details

Transport
SSE
License
MIT

Explore

- 114 MCP tools across 13 facades
- GROUND: 5-tier execution verification (diff, syntax, imports, tests, runtime)
- ALIGN: One-call human corrections with verdict + delta + DPO
- Persistent engram memory across sessions and tools
- Governance with kill switch, HITL gates, and compliance configs
- Multi-brain orchestration, agent slots, and task dispatch

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Nucleus Mcp
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Option A — No install (ChatGPT, Claude, Perplexity):

Add https://relay.nucleusos.dev/mcp as a remote MCP server in your platform's connector settings. That's it — your AI now has persistent memory.

Option B — Local install (Cursor, Windsurf, Claude Desktop):

pip install nucleus-mcp
nucleus init --recipe founder

Two commands. Nucleus is running. AI outputs are now verified. nucleus init auto-configures your MCP client — just restart it.

---

nucleus-rabbithole


Claude Code .mcp.json snippet:
json
{
"mcpServers": {
"nucleus-rabbithole": {
"command": "nucleus-rabbithole",
"args": []
}
}
}
```

Full documentation: docs/RABBITHOLE.md

---

nucleus_governance

Governance, Hypervisor & security tools for the Nucleus Agent OS. Actions: auto_fix_loop - Auto-fix loop: Verify->Diagnose->Fix->Verify (3 retries). params: {file_path, verification_command} lock - [HYPERVISOR] Lock a file/dir immutable (chflags uchg). params: {path} unlock - [HYPERVISOR] Unlock a file/dir. params: {path} set_mode - [HYPERVISOR] Switch IDE context: "red" or "blue". params: {mode} list_directory - [GOVERNANCE] List files in a directory.…

nucleus_features

Feature tracking, proof generation & MCP server mounting. Actions: add - Add a feature. params: {product, name, description, source, version, how_to_test, expected_result, status?, tags?} list - List features. params: {product?, status?, tag?} get - Get feature by ID. params: {feature_id} update - Update feature fields. params: {feature_id, status?, description?, version?} validate - Mark feature validated. params: {feature_id, res…

nucleus_sessions

Session management, events, state & checkpoint tools. Actions: save - Save session for later. params: {context, active_task?, pending_decisions?, breadcrumbs?, next_steps?} resume - Resume a saved session. params: {session_id?} list - List all saved sessions check_recent - Check for recent session to resume (alias: "current") end - End work session. params: {summary?, learnings?, mood?} start - Mandatory session start …

nucleus_tasks

Task management, depth tracking & ADHD context-switch tools. Actions: list - List tasks. params: {status?, priority?, skill?, claimed_by?} get_next - Get highest-priority unblocked task. params: {skills} claim - Atomically claim a task. params: {task_id, agent_id} update - Update task fields. params: {task_id, updates} add - Create a new task. params: {description, priority?, blocked_by?, required_skills?, source?, task_id?…

nucleus_sync

Sync, artifact, trigger & deploy management for multi-agent coordination. Actions: identify_agent - Register agent identity. params: {role, provider, session_id} (per ADR-0005 §D1) OR legacy {agent_id, environment, role?} (coerced per §D5 until end of Cycle C+2) sync_status - Check current multi-agent sync status sync_now - Manually trigger sync. params: {force?} sync_auto - Enable/disable file watching. params: {enable} sync_resolve -…

nucleus_relay_subscribe

Long-poll subscription that pushes ctx.info() on each new inbox file. Replaces bash polling daemons (watch-relay-*.sh) with server-initiated push. Call once at session start (e.g. via SessionStart hook). Server holds the subscription, watches the calling agent's role-specific inbox dir, and fires info-level notifications on each new relay file arrival. Client re-calls this in a loop for persistent coverage. Per PR #1 (CCR-inversion-for-relay-pickup): `inbox_filter` parameter added to BYPASS…

nucleus_ccr_arm

One-shot convenience: resolve canonical inbox + arm long-poll subscription. Per PR #2 (CCR server-side auto-arm) — IDE-agnostic relay-arrival arming. This is the RECOMMENDED entry point for SessionStart auto-arming across all MCP clients (Claude Code, Antigravity, Cursor, Windsurf, etc.). Equivalent to: 1. resolve_canonical_inbox_name(role) → canonical inbox name 2. nucleus_relay_subscribe(inbox_filter=<canonical>, timeout_seconds=...) Why this exists vs nucleus_relay_subscribe + i…

nucleus_orchestration

Satellite view, commitments, loops, patterns & metrics. Actions: satellite - Unified satellite view. params: {detail_level?} scan_commitments - Scan artifacts for new commitments archive_stale - Auto-archive commitments older than 30 days export - Export brain to zip list_commitments - List open commitments. params: {tier?} close_commitment - Close a commitment. params: {commitment_id, method} commitment_health - Get commitment health summary open_lo…

nucleus_telemetry

LLM tiers, telemetry, PEFS notifications & protocol tools. Actions: set_llm_tier - Set default LLM tier. params: {tier} get_llm_status - Get LLM tier configuration record_interaction - Record user interaction timestamp value_ratio - Get Value Ratio metric check_kill_switch - Check Kill Switch status pause_notifications - Pause PEFS notifications resume_notifications - Resume PEFS notifications record_feedback - Record notification feedback. p…

nucleus_slots

Orchestration slots, sprints & mission management. Actions: orchestrate - THE GOD COMMAND. params: {slot_id?, model?, alias?, mode?} slot_complete - Mark task complete. params: {slot_id, task_id, outcome?, notes?} slot_exhaust - Mark slot exhausted. params: {slot_id, reset_hours?} status_dashboard - ASCII dashboard. params: {detail_level?} autopilot_sprint - Sprint command. params: {slots?, mode?, halt_on_blocker?, halt_on_tier_mismatch?, max_tasks_per_slot?, …

nucleus_infra

Infrastructure: file changes, cloud, marketing & strategy tools. Actions: file_changes - Get pending file change events gcloud_status - Check GCloud auth status gcloud_services - List Cloud Run services. params: {project?, region?} list_services - List Render.com services scan_marketing_log - Scan marketing log for failures synthesize_strategy - Analyze marketing & update strategy. params: {focus_topic?} status_report - Generate State of the Union.…

nucleus_agents

Agent spawning, critic, swarm, memory, ingestion & dashboard tools. Actions: spawn_agent - Spawn Ephemeral Agent. params: {intent, execute_now?, persona?, confirm?}. HITL: requires confirm=true. apply_critique - Apply critique fixes. params: {review_path} orchestrate_swarm - Start multi-agent swarm. params: {mission, agents?} search_memory - Search long-term memory. params: {query} read_memory - Read memory category. params: {category} respond_to…

nucleus_federation

Federation management for multi-brain coordination. Actions: status - Get comprehensive federation status join - Join a federation via seed peer. params: {seed_peer} leave - Leave the federation gracefully peers - List all federation peers with details sync - Force immediate synchronization with all peers route - Route a task to the optimal brain. params: {task_id, profile?} health - Get federation health dashboard

nucleus_engrams

Engrams, health, observability, DSoR & tier system tools. Actions: health - Get system health status version - Get Nucleus version info export_schema - Export MCP toolset as JSON Schema performance_metrics - Get perf metrics. params: {export_to_file?} prometheus_metrics - Get Prometheus metrics. params: {format?} audit_log - View cryptographic interaction log. params: {limit?} write_engram - Write engram to memory. params: {key, …

nucleus_relay

Relay-substrate facade — post / read / ack / status. Actions: post - Send a relay envelope. params: {to, subject, body, sender?, priority?, in_reply_to?, context?, id?, from_session_id?} sender? auto-fills from your session role when omitted. to accepts short role aliases: main, peer, tb, ops, agy, board. "recipient" is accepted as an alias for "to". Returns {sent: bool, id: str (server message_id), error?: str}. inbox - Li…

nucleus_route

W5 tier routing — route a prompt to the optimal model tier. Actions: route - Route a prompt to cheapest capable model. params: {prompt, complexity?, context?, estimated_output_tokens?} complexity ∈ 'routine' | 'complex' | 'sovereign' (default 'routine') Returns: provider, model, cost estimates, sovereignty tier.

nucleus_audit

W8 Team-tier tamper-evident audit log (SHA-256 hash chain). Actions: log_event - Append an audit event to the chain. params: {event_type, actor, resource, outcome, metadata?, team_id?, ts?} query - Single-tenant query. Rejects team_id='*'. params: {team_id, since?, until?, actor?, event_type?, limit?, offset?} admin_query - Cross-tenant query (team_id='*' allowed). Requires NUCLEUS_AUDIT_ADMIN_TOKEN env match. Logs every successfu…

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "nucleus mcp": {
            "nucleus": {
                "command": "python3",
                "args": [
                    "-m",
                    "mcp_server_nucleus"
                ]
            }
        }
    }
}

McpServers

{
    "nucleus": {
        "command": "python3",
        "args": [
            "-m",
            "mcp_server_nucleus"
        ]
    }
}

Already installed with nucleus-mcp — just run:

nucleus-rabbithole

Claude Code .mcp.json snippet:
json { "mcpServers": { "nucleus-rabbithole": { "command": "nucleus-rabbithole", "args": [] } } }

Full documentation: docs/RABBITHOLE.md

---

Three Frontiers

The core loop that makes AI reliability compound over time:


GROUND ALIGN COMPOUND
────── ───── ────────
Machine verifies Human corrects System learns

AI writes code → You fix a mistake → Delta recorded
GROUND checks → Verdict stored → DPO pair created
Receipt logged → Event emitted → Training data grows
│ │ │
└───────────────────┴────────────────────┘
Reliability improves


GROUND — 5-tier execution verification. Syntax, imports, tests, runtime. Goes outside the formal system to check the AI's work.

ALIGN — One-call corrections. nucleus_align(action="correct", params={context, correction}). Each correction automatically records a verdict, creates a training pair, and emits an event.

COMPOUND — Deltas measure the gap between intent and reality. Recurring patterns become strategy. Negative deltas become training signal.

Every tool response shows frontier health:


[frontiers: GROUND 42 | ALIGN 12 | COMPOUND 28]

---

Quick Start

Option A — No install (ChatGPT, Claude, Perplexity):

Add https://relay.nucleusos.dev/mcp as a remote MCP server in your platform's connector settings. That's it — your AI now has persistent memory.

Option B — Local install (Cursor, Windsurf, Claude Desktop):

bash
pip install nucleus-mcp
nucleus init --recipe founder

Two commands. Nucleus is running. AI outputs are now verified. nucleus init auto-configures your MCP client — just restart it.

---

What It Does

114 MCP tools across 13 facades:

- GROUND — Execution verification (5 tiers: diff, syntax, imports, tests, runtime)
- ALIGN — Human corrections (verdict + delta + DPO + event in one call)
- Memory — Engrams that persist across sessions. Write once, recall forever.
- Sessions — Save context, resume later. Session arc shows your last 3 sessions.
- Tasks — Priority queue with escalation, HITL gates, and heartbeat monitoring.
- Governance — Kill switch, compliance configs (EU DORA, MAS TRM, SOC2), audit trails.
- Orchestration — Agent slots, multi-brain sync, task dispatch.
- Archive — Training pipeline (SFT + DPO), delta tracking, frontier health dashboard.

Benchmark: decision-retention-evals — does your AI agent remember why the code is the way it is?

---

Nucleus Pro

Everything above is free (MIT). Nucleus Pro adds verifiable governance:

bash
nucleus trial # 14-day free trial
nucleus compliance-check # Score your AI governance
nucleus audit-report --signed -o report.html # Cryptographically signed report

$19/month or $149/year — nucleusos.dev/pricing

| | Free | Pro |
|---|---|---|
| 13 tools, 10 resources, 3 prompts | Yes | Yes |
| Persistent memory | Yes | Yes |
| Governance & HITL | Yes | Yes |
| Audit trails (DSoR) | Yes | Yes |
| Signed audit reports | - | Ed25519 |
| Compliance exports | Score only | Full PDF/HTML |
| Priority issues | - | Yes |

---

Install

One-Click

| IDE | Install |
|-----|---------|
| Cursor | Add to Cursor |
| Claude Code | npx -y nucleus-mcp |
| Any IDE | pip install nucleus-mcp |

pip / npx

bash
pip install nucleus-mcp

Or use npx (zero Python setup required):

bash
npx -y nucleus-mcp

Configure Your MCP Client

Claude Desktop / Cursor / Windsurf

Add to your MCP config (claude_desktop_config.json or equivalent):

json
{
"mcpServers": {
"nucleus": {
"command": "npx",
"args": ["-y", "nucleus-mcp"]
}
}
}

<details>
<summary>Alternative: use pip install directly</summary>

json
{
"mcpServers": {
"nucleus": {
"command": "python3",
"args": ["-m", "mcp_server_nucleus"],
"env": {
"NUCLEUS_BRAIN_PATH": "/path/to/your/project/.brain"
}
}
}
}
</details>

Claude Code

Add to .mcp.json in your project root:

json
{
"mcpServers": {
"nucleus": {
"command": "npx",
"args": ["-y", "nucleus-mcp"]
}
}
}

Path Discovery

Nucleus finds your .brain automatically:
1. NUCLEUS_BRAIN_PATH environment variable (explicit)
2. Walk up from CWD looking for .brain/ directory
3. Fall back to $HOME/.nucleus/brain

---

CLI

Nucleus has a full CLI alongside the MCP tools. Auto-detects TTY (table output) vs pipe (JSON).

bash

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.