The Sovereign Agent Control Plane with Governance & Engrams
Project description
๐ง nucleus-mcp
โ ๏ธ official repository โ nucleus-mcp
the sovereign agent control plane โ one brain that syncs cursor, claude, windsurf, and any mcp-compatible tool.
[!CAUTION] after the OpenClaw security crisis (1.5M API keys leaked, sleeper agents in skills), agent security is no longer optional. built nucleus security-first: hypervisor controls, resource locking, and full audit trails โ all 100% local.
๐ live on product hunt: nucleus is the local-first agentic identity & security layer. join the strike โ
๐จ v1.0.8 monolith: the "infrastructure" update
immediate value. zero friction.
New in v1.0.8: Monolith Decomposition completed. Core logic migrated to the
runtime/module for modular growth. New in v1.0.7: Nucleus now welcomes you with a Sovereign Brain Card and pre-seeded memories.
- Brain Card:
cold_startnow returns a rich summary of your memory, active tasks, and connected tools.- Welcome Engrams: Your brain connects with pre-loaded context, so you never start from zero.
- Smart Config:
nucleus-initgives you OS-specific paths (macOS/Windows/Linux) for 1-second setup.
๐ฆ Installation
The clean, open source version of Nucleus is now available at:
โ github.com/eidetic-works/nucleus-mcp
pip install nucleus-mcp
nucleus-init
This repository (mcp-server-nucleus) is the internal development monorepo. For production use, please use the official open source package above.
๐ฏ the problem
you use multiple ai tools daily:
- cursor for coding
- claude desktop for thinking
- windsurf for exploration
- chatgpt for quick answers
but they don't share memory.
every time you switch tools, you lose context. you re-explain decisions. you repeat yourself.
โจ the solution
nucleus syncs them with one brain.
Tell Claude about a decision โ Cursor knows it
Make a plan in Windsurf โ Claude remembers it
One brain. All your tools.
๐ What Makes Nucleus Different? (The Fractal Architecture)
| Feature | Zapier / iPaaS | LangChain | Nucleus (v0.5) |
|---|---|---|---|
| Architecture | Centralized Hub | Code Library | Recursive Client |
| Scaling | O(N) (Manual) | O(N) (Code) | O(1) (Fractal) |
| Data Locality | Cloud Only | App Dependent | 100% Local |
| Agent Network | Walled Garden | Static Graph | Dynamic "Internet of Agents" |
๐ What Makes Nucleus Different
| Feature | Other Solutions | Nucleus |
|---|---|---|
| Cross-Platform Sync | Single platform only | โ Syncs ALL your AI tools |
| Sovereignty | Cloud-dependent | โ 100% local, your data stays on your machine |
| Protocol | Proprietary | โ MCP standard (Anthropic-backed) |
| Security | Often misconfigured | โ Secure by default, audit logs included |
| Lock-in | Platform-specific | โ MIT license, open standard |
๐ 140+ MCP Tools Included
- Engrams โ Persistent knowledge that survives sessions
- Tasks โ Track work across agents
- Sessions โ Save and resume context
- Sync โ Multi-agent brain synchronization
- Hypervisor โ File locking, security, audit trails
- Orchestration โ Coordinate multiple agents
โก Comparison: Nucleus vs Alternatives
| OpenClaw | Claude Code | Nucleus | |
|---|---|---|---|
| Security | โ Sleeper agents, key leaks | โ ๏ธ Cloud-managed | โ Hypervisor + audit trail |
| What it syncs | OpenClaw โ OpenClaw | Claude โ Claude | Everything โ Everything |
| Cross-platform | โ | โ | โ |
| Local-first | โ ๏ธ Some cloud | โ ๏ธ Some cloud | โ 100% local |
| MCP Native | โ Custom protocol | โ ๏ธ Limited | โ Full MCP |
| Open Source | โ MIT | โ Closed | โ MIT |
openclaw trades security for capability. nucleus gives you both. nucleus connects ALL your platforms with one shared brain.
๐ Quick Start (2 Minutes)
1. Install
pip install nucleus-mcp
2. Initialize (Smart Config)
The nucleus-init command automatically detects your system and configures Claude Desktop for you.
# Create your .brain/ and auto-configure Claude Desktop
nucleus-init
3. Ask Claude
Restart Claude Desktop and try:
"Use the cold_start prompt from nucleus to see our current sprint focus."
You will see the Sovereign Brain Card: a live dashboard of your engrams, tasks, and connected tools.
v1.0.7+: Smart Init automatically detects your OS and provides the exact config block for your editor.
Configuration (Claude Desktop)
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"nucleus": {
"command": "python3",
"args": ["-m", "nucleus_mcp"],
"env": {
"NUCLEAR_BRAIN_PATH": "/path/to/your/.brain"
}
}
}
}
Restart Claude Desktop and try: "What's my current sprint focus?"
Configuration (Windsurf)
Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"nucleus": {
"command": "python3",
"args": ["-m", "nucleus_mcp"],
"env": {
"NUCLEAR_BRAIN_PATH": "/path/to/your/.brain"
}
}
}
}
Configuration (Cursor)
Add to ~/.cursor/mcp.json:
{
"mcpServers": {
"nucleus": {
"command": "python3",
"args": ["-m", "nucleus_mcp"],
"env": {
"NUCLEAR_BRAIN_PATH": "/path/to/your/.brain"
}
}
}
}
โ Troubleshooting
"Show me all tasks" returns nothing? Check your config pointer! You might be pointing to an old or temp brain.
- Check config: Open
~/Library/Application Support/Claude/claude_desktop_config.json - Verify path: Ensure
NUCLEAR_BRAIN_PATHpoints to your active project (e.g.,/Users/me/my-project/.brain) - Restart: You MUST restart Claude Desktop after any config change.
โจ Core Features (Included)
- Persistent Engrams โ
brain_write_engram/brain_query_engrams(Vector-lite). - Audit Ledger โ Immutable SHA-256 logs of every action (
brain_audit_log). - Recursive Mounting โ
brain_mount_server(Basic). - Local Sovereignty โ Zero cloud. All data in
~/.nucleus/brain.
๐ Multi-Agent Sync (New in v0.7.0)
The killer feature: Multiple agents, one brain.
# Agent A (Claude Desktop) makes a decision
brain_sync_now() # Syncs to shared .brain/
# Agent B (Cursor) automatically sees it
brain_sync_status() # Shows last sync, active agents
Features:
- Intent-Aware Locking โ Files locked with WHO/WHEN/WHY metadata
- Conflict Detection โ Last-write-wins with manual resolution option
- Auto-Sync โ Optional file watcher for real-time sync
- Audit Trail โ Every sync logged to events.jsonl
๐ Tool Categories
๐ง Core (Public)
| Tool | Description |
|---|---|
brain_write_engram |
Store persistent knowledge |
brain_query_engrams |
Retrieve knowledge |
brain_audit_log |
Verify ledger integrity |
brain_mount_server |
Mount sub-MCP servers |
๐ Sync Tools
| Tool | Description |
|---|---|
brain_sync_now |
Manually trigger brain sync |
brain_sync_status |
Check sync state and conflicts |
brain_sync_auto |
Enable/disable auto-sync |
brain_identify_agent |
Register agent identity |
๐ Enterprise Features
| Feature | Capabilities |
|---|---|
| Audit Logs | Full decision trail with context hashing |
| RBAC | Role-based access control (coming soon) |
| SSO | Enterprise SSO integration (coming soon) |
| Compliance | SOC2/HIPAA export reports (coming soon) |
โ How is Nucleus Different?
See the full comparison: Nucleus vs ContextStream vs mem0 vs OpenClaw โ
| Nucleus | ContextStream | mem0 | |
|---|---|---|---|
| Architecture | 100% Local (Git-native) | Cloud SaaS | Cloud API |
| Audit Trail | โ Full | โ | โ |
| Governance | โ Policy engine | โ | โ |
| Pricing | Free (MIT) | Freemium โ Paid | Freemium โ Paid |
๐ค Community & Contributing
We're building the universal brain for AI agents. Join us!
- ๐ Found a bug? Open an Issue
- ๐ก Feature idea? Start a Discussion
- ๐ง Want to contribute? See CONTRIBUTING.md
- ๐ฌ Join Discord โ discord.gg/nucleus (coming soon)
๏ฟฝ๐ License
MIT ยฉ Nucleus Team
Built for the AI-native developer. Star us on GitHub if Nucleus saves you from context amnesia! โญ
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nucleus_mcp-1.0.9.tar.gz.
File metadata
- Download URL: nucleus_mcp-1.0.9.tar.gz
- Upload date:
- Size: 7.6 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1272b2932785c21bdd767340d4c3c896e848c571b8f915bfbcfcb5c7ef960d3f
|
|
| MD5 |
e87d0fa76bf3dc67ad9893a923dccee4
|
|
| BLAKE2b-256 |
6630094d7f3bf6dec8ec7e9262e698d2bb37127c9868b249382edfa10b7bc656
|
File details
Details for the file nucleus_mcp-1.0.9-py3-none-any.whl.
File metadata
- Download URL: nucleus_mcp-1.0.9-py3-none-any.whl
- Upload date:
- Size: 387.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a70ec66c5f34b658503bcb652b951057d91ad909c85ac98bec35a85f8b99059a
|
|
| MD5 |
cf796b9c8fa26b717d207a329a40795d
|
|
| BLAKE2b-256 |
34520ab41c099b3a182273e71e32059395f78f886c85dfade718a12d20331373
|