nucleus-mcp 1.0.7 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -4
- package/.github/workflows/ci.yml +0 -72
- package/.smithery/shttp/module.js +0 -3
- package/.smithery/shttp/module.js.map +0 -7
- package/.smithery/stdio/index.cjs +0 -74
- package/.smithery/stdio/index.cjs.map +0 -7
- package/CHANGELOG.md +0 -65
- package/CODE_OF_CONDUCT.md +0 -34
- package/COMPARISON.md +0 -20
- package/CONTRIBUTING.md +0 -137
- package/DEVELOPMENT.md +0 -109
- package/LICENSE +0 -21
- package/README.md +0 -319
- package/ROADMAP.md +0 -24
- package/SECURITY.md +0 -88
- package/docs/COMMUNITY_FAQ.md +0 -48
- package/docs/COMPETITIVE_ANALYSIS.md +0 -90
- package/docs/DEMO_SCRIPT.md +0 -86
- package/docs/ENTERPRISE.md +0 -169
- package/docs/FAQ.md +0 -228
- package/docs/QUICK_START.md +0 -155
- package/docs/README.md +0 -67
- package/docs/RECURSIVE_SNAP_DEMO.gif +0 -0
- package/docs/social-preview-hq.png +0 -0
- package/docs/social-preview.png +0 -0
- package/examples/basic_usage.py +0 -84
- package/package.json.real +0 -24
- package/pyproject.toml +0 -50
- package/registry-server.json +0 -20
- package/scripts/demo_governance.py +0 -109
- package/scripts/sse_bridge.py +0 -87
- package/scripts/verify_windows_paths.py +0 -48
- package/server.json +0 -20
- package/src/mcp_server_nucleus/__init__.py +0 -8583
- package/src/mcp_server_nucleus/__main__.py +0 -9
- package/src/mcp_server_nucleus/cli.py +0 -1225
- package/src/mcp_server_nucleus/commitment_core.py +0 -146
- package/src/mcp_server_nucleus/commitment_ledger.py +0 -841
- package/src/mcp_server_nucleus/core/__init__.py +0 -6
- package/src/mcp_server_nucleus/core/orchestrator.py +0 -9
- package/src/mcp_server_nucleus/core/tool_registration_impl.py +0 -99
- package/src/mcp_server_nucleus/daemon/safety/lock.py +0 -121
- package/src/mcp_server_nucleus/deployment/render_integration.py +0 -4
- package/src/mcp_server_nucleus/hypervisor/__init__.py +0 -0
- package/src/mcp_server_nucleus/hypervisor/injector.py +0 -83
- package/src/mcp_server_nucleus/hypervisor/locker.py +0 -130
- package/src/mcp_server_nucleus/hypervisor/watchdog.py +0 -71
- package/src/mcp_server_nucleus/runtime/__init__.py +0 -58
- package/src/mcp_server_nucleus/runtime/agent.py +0 -517
- package/src/mcp_server_nucleus/runtime/agent_pool.py +0 -797
- package/src/mcp_server_nucleus/runtime/agents/base.py +0 -34
- package/src/mcp_server_nucleus/runtime/agents/oracle/manifest.json +0 -28
- package/src/mcp_server_nucleus/runtime/auth.py +0 -98
- package/src/mcp_server_nucleus/runtime/autopilot.py +0 -1057
- package/src/mcp_server_nucleus/runtime/broker.py +0 -126
- package/src/mcp_server_nucleus/runtime/budget.py +0 -153
- package/src/mcp_server_nucleus/runtime/capabilities/base.py +0 -20
- package/src/mcp_server_nucleus/runtime/capabilities/brain_ops.py +0 -253
- package/src/mcp_server_nucleus/runtime/capabilities/code_ops.py +0 -192
- package/src/mcp_server_nucleus/runtime/capabilities/depth_tracker.py +0 -81
- package/src/mcp_server_nucleus/runtime/capabilities/feature_map.py +0 -274
- package/src/mcp_server_nucleus/runtime/capabilities/marketing_engine.py +0 -205
- package/src/mcp_server_nucleus/runtime/capabilities/memory_ops.py +0 -79
- package/src/mcp_server_nucleus/runtime/capabilities/proof_system.py +0 -127
- package/src/mcp_server_nucleus/runtime/capabilities/render_ops.py +0 -80
- package/src/mcp_server_nucleus/runtime/capabilities/render_poller_cap.py +0 -266
- package/src/mcp_server_nucleus/runtime/capabilities/self_healing.py +0 -110
- package/src/mcp_server_nucleus/runtime/capabilities/strategy.py +0 -138
- package/src/mcp_server_nucleus/runtime/capabilities/synthesizer.py +0 -134
- package/src/mcp_server_nucleus/runtime/capabilities/web_ops.py +0 -94
- package/src/mcp_server_nucleus/runtime/common.py +0 -134
- package/src/mcp_server_nucleus/runtime/context_manager.py +0 -342
- package/src/mcp_server_nucleus/runtime/context_rules.json +0 -86
- package/src/mcp_server_nucleus/runtime/crdt_task_store.py +0 -349
- package/src/mcp_server_nucleus/runtime/critic.py +0 -150
- package/src/mcp_server_nucleus/runtime/daemon.py +0 -142
- package/src/mcp_server_nucleus/runtime/dashboard.py +0 -1087
- package/src/mcp_server_nucleus/runtime/depth_ops.py +0 -339
- package/src/mcp_server_nucleus/runtime/event_ops.py +0 -103
- package/src/mcp_server_nucleus/runtime/event_stream.py +0 -213
- package/src/mcp_server_nucleus/runtime/export.py +0 -64
- package/src/mcp_server_nucleus/runtime/factory.py +0 -594
- package/src/mcp_server_nucleus/runtime/federation.py +0 -1040
- package/src/mcp_server_nucleus/runtime/fetcher.py +0 -92
- package/src/mcp_server_nucleus/runtime/file_monitor.py +0 -208
- package/src/mcp_server_nucleus/runtime/firestore_bridge.py +0 -91
- package/src/mcp_server_nucleus/runtime/gcloud_ops.py +0 -186
- package/src/mcp_server_nucleus/runtime/hooks.py +0 -246
- package/src/mcp_server_nucleus/runtime/identity/gatekeeper.py +0 -106
- package/src/mcp_server_nucleus/runtime/identity/keygen.py +0 -147
- package/src/mcp_server_nucleus/runtime/identity/manifest.py +0 -62
- package/src/mcp_server_nucleus/runtime/identity/trust.py +0 -27
- package/src/mcp_server_nucleus/runtime/inspector.py +0 -74
- package/src/mcp_server_nucleus/runtime/installer.py +0 -81
- package/src/mcp_server_nucleus/runtime/ipc_auth.py +0 -377
- package/src/mcp_server_nucleus/runtime/lifecycle.py +0 -129
- package/src/mcp_server_nucleus/runtime/llm_client.py +0 -408
- package/src/mcp_server_nucleus/runtime/llm_tiers.json +0 -88
- package/src/mcp_server_nucleus/runtime/locking.py +0 -228
- package/src/mcp_server_nucleus/runtime/loops/fixer.py +0 -110
- package/src/mcp_server_nucleus/runtime/memory.py +0 -158
- package/src/mcp_server_nucleus/runtime/mounter.py +0 -210
- package/src/mcp_server_nucleus/runtime/mounter_ops.py +0 -250
- package/src/mcp_server_nucleus/runtime/nuke_protocol.py +0 -147
- package/src/mcp_server_nucleus/runtime/orchestrator.py +0 -370
- package/src/mcp_server_nucleus/runtime/orchestrator_unified.py +0 -263
- package/src/mcp_server_nucleus/runtime/orchestrator_v3.py +0 -617
- package/src/mcp_server_nucleus/runtime/plugin_loader.py +0 -84
- package/src/mcp_server_nucleus/runtime/policy.py +0 -117
- package/src/mcp_server_nucleus/runtime/profiling.py +0 -219
- package/src/mcp_server_nucleus/runtime/prometheus.py +0 -286
- package/src/mcp_server_nucleus/runtime/proposals.py +0 -101
- package/src/mcp_server_nucleus/runtime/publisher.py +0 -109
- package/src/mcp_server_nucleus/runtime/pulse.py +0 -516
- package/src/mcp_server_nucleus/runtime/registry.py +0 -82
- package/src/mcp_server_nucleus/runtime/render_ops.py +0 -83
- package/src/mcp_server_nucleus/runtime/schema_gen.py +0 -140
- package/src/mcp_server_nucleus/runtime/session_ops.py +0 -224
- package/src/mcp_server_nucleus/runtime/stdio_server.py +0 -633
- package/src/mcp_server_nucleus/runtime/storage.py +0 -83
- package/src/mcp_server_nucleus/runtime/strategy.py +0 -91
- package/src/mcp_server_nucleus/runtime/swarm.py +0 -170
- package/src/mcp_server_nucleus/runtime/sync_ops.py +0 -878
- package/src/mcp_server_nucleus/runtime/task_ingestion.py +0 -1020
- package/src/mcp_server_nucleus/runtime/task_ops.py +0 -449
- package/src/mcp_server_nucleus/runtime/task_scheduler.py +0 -488
- package/src/mcp_server_nucleus/runtime/team.py +0 -59
- package/src/mcp_server_nucleus/runtime/triggers.py +0 -237
- package/src/mcp_server_nucleus/runtime/vector_store.py +0 -125
- package/src/mcp_server_nucleus/runtime/watcher.py +0 -112
- package/src/mcp_server_nucleus/tool_tiers.py +0 -243
- package/tests/__init__.py +0 -1
- package/tests/conftest.py +0 -42
- package/tests/test_core.py +0 -235
- package/tests/test_search.py +0 -69
package/docs/FAQ.md
DELETED
|
@@ -1,228 +0,0 @@
|
|
|
1
|
-
# Nucleus MCP: Frequently Asked Questions
|
|
2
|
-
|
|
3
|
-
## General
|
|
4
|
-
|
|
5
|
-
### What is Nucleus MCP?
|
|
6
|
-
|
|
7
|
-
Nucleus is a local-first, cross-platform memory system for AI coding assistants. It syncs your context, decisions, and learnings across Claude Desktop, Cursor, Windsurf, and any MCP-compatible tool.
|
|
8
|
-
|
|
9
|
-
### Why should I use Nucleus instead of just using each tool separately?
|
|
10
|
-
|
|
11
|
-
Every time you switch between AI tools, you lose context. You re-explain your codebase, repeat decisions, and waste time. Nucleus creates one "brain" that all your tools share, so they remember everything together.
|
|
12
|
-
|
|
13
|
-
### Is Nucleus free?
|
|
14
|
-
|
|
15
|
-
Yes. Nucleus is MIT licensed and 100% free. No subscription, no account required, no cloud fees.
|
|
16
|
-
|
|
17
|
-
---
|
|
18
|
-
|
|
19
|
-
## Privacy & Security
|
|
20
|
-
|
|
21
|
-
### Does Nucleus send my data to the cloud?
|
|
22
|
-
|
|
23
|
-
**No.** Nucleus is 100% local-first. All your data stays in the `.brain/` folder on your machine. Zero cloud calls, zero telemetry.
|
|
24
|
-
|
|
25
|
-
### Where is my data stored?
|
|
26
|
-
|
|
27
|
-
By default, your data is stored in `~/.brain/` (or `$NUCLEAR_BRAIN_PATH` if set). This includes:
|
|
28
|
-
- `engrams/` - Your memories and learnings
|
|
29
|
-
- `ledger/` - Audit trail and task history
|
|
30
|
-
- `state.json` - Current session state
|
|
31
|
-
|
|
32
|
-
### Can I back up my Nucleus data?
|
|
33
|
-
|
|
34
|
-
Yes! Just copy your `.brain/` folder. You can also commit it to git for version control:
|
|
35
|
-
|
|
36
|
-
```bash
|
|
37
|
-
cd ~/.brain
|
|
38
|
-
git init
|
|
39
|
-
git add .
|
|
40
|
-
git commit -m "Backup brain"
|
|
41
|
-
```
|
|
42
|
-
|
|
43
|
-
### Is Nucleus HIPAA/SOC2 compliant?
|
|
44
|
-
|
|
45
|
-
Nucleus stores all data locally, which satisfies data residency requirements. Full compliance depends on your infrastructure and policies. See [ENTERPRISE.md](ENTERPRISE.md) for details.
|
|
46
|
-
|
|
47
|
-
---
|
|
48
|
-
|
|
49
|
-
## Installation
|
|
50
|
-
|
|
51
|
-
### What are the system requirements?
|
|
52
|
-
|
|
53
|
-
- Python 3.10+
|
|
54
|
-
- Any MCP-compatible tool (Claude Desktop, Cursor, Windsurf)
|
|
55
|
-
- ~10MB disk space for the package
|
|
56
|
-
- Minimal RAM usage (runs as a subprocess)
|
|
57
|
-
|
|
58
|
-
### I installed Nucleus but my AI tool doesn't see it
|
|
59
|
-
|
|
60
|
-
1. Restart your AI tool completely
|
|
61
|
-
2. Check your MCP config file includes Nucleus
|
|
62
|
-
3. Run `nucleus-init` again to reconfigure
|
|
63
|
-
4. Verify with: `python -c "from mcp_server_nucleus import brain_health; print(brain_health())"`
|
|
64
|
-
|
|
65
|
-
### How do I update Nucleus?
|
|
66
|
-
|
|
67
|
-
```bash
|
|
68
|
-
pip install --upgrade nucleus-mcp
|
|
69
|
-
```
|
|
70
|
-
|
|
71
|
-
---
|
|
72
|
-
|
|
73
|
-
## Usage
|
|
74
|
-
|
|
75
|
-
### What are "engrams"?
|
|
76
|
-
|
|
77
|
-
Engrams are Nucleus's memory units. Each engram has:
|
|
78
|
-
- **Key**: Unique identifier
|
|
79
|
-
- **Value**: The actual content/memory
|
|
80
|
-
- **Context**: Category (Feature, Architecture, Brand, Strategy, Decision)
|
|
81
|
-
- **Intensity**: Importance (1-10)
|
|
82
|
-
|
|
83
|
-
### How do I write a memory?
|
|
84
|
-
|
|
85
|
-
Via MCP tool in your AI assistant:
|
|
86
|
-
```
|
|
87
|
-
brain_write_engram(key="my_decision", value="Chose React for frontend", context="Architecture", intensity=7)
|
|
88
|
-
```
|
|
89
|
-
|
|
90
|
-
### How do I retrieve memories?
|
|
91
|
-
|
|
92
|
-
```
|
|
93
|
-
brain_query_engrams(context="Architecture", min_intensity=5)
|
|
94
|
-
```
|
|
95
|
-
|
|
96
|
-
This returns all Architecture engrams with intensity >= 5.
|
|
97
|
-
|
|
98
|
-
### What's the difference between contexts?
|
|
99
|
-
|
|
100
|
-
| Context | Use For | Example |
|
|
101
|
-
|---------|---------|---------|
|
|
102
|
-
| `Feature` | Product features | "Added dark mode toggle" |
|
|
103
|
-
| `Architecture` | Technical decisions | "Using PostgreSQL for persistence" |
|
|
104
|
-
| `Brand` | Messaging, positioning | "Tagline: The Sovereign Brain" |
|
|
105
|
-
| `Strategy` | Business decisions | "Target enterprise market first" |
|
|
106
|
-
| `Decision` | General choices | "Approved PR #123" |
|
|
107
|
-
|
|
108
|
-
---
|
|
109
|
-
|
|
110
|
-
## Integration
|
|
111
|
-
|
|
112
|
-
### How do I connect Cursor?
|
|
113
|
-
|
|
114
|
-
Add to your Cursor MCP config (`~/.config/cursor/mcp.json`):
|
|
115
|
-
|
|
116
|
-
```json
|
|
117
|
-
{
|
|
118
|
-
"mcpServers": {
|
|
119
|
-
"nucleus": {
|
|
120
|
-
"command": "python",
|
|
121
|
-
"args": ["-m", "mcp_server_nucleus"]
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
```
|
|
126
|
-
|
|
127
|
-
### How do I connect Claude Desktop?
|
|
128
|
-
|
|
129
|
-
Run `nucleus-init` and restart Claude Desktop. It auto-configures.
|
|
130
|
-
|
|
131
|
-
Or manually add to `~/.config/Claude/claude_desktop_config.json`:
|
|
132
|
-
|
|
133
|
-
```json
|
|
134
|
-
{
|
|
135
|
-
"mcpServers": {
|
|
136
|
-
"nucleus": {
|
|
137
|
-
"command": "python",
|
|
138
|
-
"args": ["-m", "mcp_server_nucleus"]
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
|
-
```
|
|
143
|
-
|
|
144
|
-
### Can I use Nucleus with multiple AI tools simultaneously?
|
|
145
|
-
|
|
146
|
-
Yes! That's the whole point. Write a memory in Claude → it's instantly available in Cursor. All tools share the same `.brain/` folder.
|
|
147
|
-
|
|
148
|
-
---
|
|
149
|
-
|
|
150
|
-
## Troubleshooting
|
|
151
|
-
|
|
152
|
-
### "Module not found" error
|
|
153
|
-
|
|
154
|
-
```bash
|
|
155
|
-
pip uninstall nucleus-mcp
|
|
156
|
-
pip install nucleus-mcp
|
|
157
|
-
```
|
|
158
|
-
|
|
159
|
-
### "Brain path not found"
|
|
160
|
-
|
|
161
|
-
Set the environment variable:
|
|
162
|
-
```bash
|
|
163
|
-
export NUCLEAR_BRAIN_PATH=~/.brain
|
|
164
|
-
```
|
|
165
|
-
|
|
166
|
-
### Engrams not syncing between tools
|
|
167
|
-
|
|
168
|
-
1. Both tools must point to the same `.brain/` path
|
|
169
|
-
2. Check `NUCLEAR_BRAIN_PATH` is consistent
|
|
170
|
-
3. Verify engrams were written: `ls ~/.brain/engrams/`
|
|
171
|
-
|
|
172
|
-
### Tests failing with import errors
|
|
173
|
-
|
|
174
|
-
This is an IDE linting issue, not a real error. Tests pass with:
|
|
175
|
-
```bash
|
|
176
|
-
PYTHONPATH=src pytest tests/
|
|
177
|
-
```
|
|
178
|
-
|
|
179
|
-
---
|
|
180
|
-
|
|
181
|
-
## Comparison
|
|
182
|
-
|
|
183
|
-
### How is Nucleus different from ContextStream?
|
|
184
|
-
|
|
185
|
-
| Aspect | Nucleus | ContextStream |
|
|
186
|
-
|--------|---------|---------------|
|
|
187
|
-
| Data location | 100% local | Cloud |
|
|
188
|
-
| Account required | No | Yes |
|
|
189
|
-
| Cross-platform | All MCP tools | Limited |
|
|
190
|
-
| Price | Free (MIT) | Paid tiers |
|
|
191
|
-
| Air-gap support | Yes | No |
|
|
192
|
-
|
|
193
|
-
### How is Nucleus different from OpenClaw?
|
|
194
|
-
|
|
195
|
-
| Aspect | Nucleus | OpenClaw |
|
|
196
|
-
|--------|---------|----------|
|
|
197
|
-
| Platform support | All MCP tools | Claude only |
|
|
198
|
-
| Security focus | Built-in | Post-breach |
|
|
199
|
-
| Stability | Production | "Hype stage" |
|
|
200
|
-
| Data sovereignty | 100% local | Cloud bridge |
|
|
201
|
-
|
|
202
|
-
---
|
|
203
|
-
|
|
204
|
-
## Contributing
|
|
205
|
-
|
|
206
|
-
### How can I contribute?
|
|
207
|
-
|
|
208
|
-
See [CONTRIBUTING.md](../CONTRIBUTING.md). We welcome:
|
|
209
|
-
- Bug reports
|
|
210
|
-
- Feature requests
|
|
211
|
-
- Documentation improvements
|
|
212
|
-
- Code contributions
|
|
213
|
-
|
|
214
|
-
### Where do I report bugs?
|
|
215
|
-
|
|
216
|
-
[GitHub Issues](https://github.com/eidetic-works/nucleus-mcp/issues)
|
|
217
|
-
|
|
218
|
-
---
|
|
219
|
-
|
|
220
|
-
## Support
|
|
221
|
-
|
|
222
|
-
- **Discord**: [Nucleus Vanguard](https://discord.gg/RJuBNNJ5MT)
|
|
223
|
-
- **GitHub**: [Issues & Discussions](https://github.com/eidetic-works/nucleus-mcp)
|
|
224
|
-
- **Enterprise**: [enterprise@nucleusos.dev](mailto:enterprise@nucleusos.dev)
|
|
225
|
-
|
|
226
|
-
---
|
|
227
|
-
|
|
228
|
-
*The Sovereign Brain - Cross-platform AI memory that never leaves your machine.*
|
package/docs/QUICK_START.md
DELETED
|
@@ -1,155 +0,0 @@
|
|
|
1
|
-
# Nucleus MCP: Quick Start Guide
|
|
2
|
-
|
|
3
|
-
Get cross-platform AI memory syncing in under 2 minutes.
|
|
4
|
-
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
## Prerequisites
|
|
8
|
-
|
|
9
|
-
- Python 3.10+
|
|
10
|
-
- Claude Desktop, Cursor, or any MCP-compatible tool
|
|
11
|
-
|
|
12
|
-
---
|
|
13
|
-
|
|
14
|
-
## Installation
|
|
15
|
-
|
|
16
|
-
```bash
|
|
17
|
-
pip install nucleus-mcp
|
|
18
|
-
nucleus-init
|
|
19
|
-
```
|
|
20
|
-
|
|
21
|
-
This creates:
|
|
22
|
-
- `~/.brain/` directory (your sovereign brain)
|
|
23
|
-
- Auto-configures Claude Desktop if installed
|
|
24
|
-
|
|
25
|
-
---
|
|
26
|
-
|
|
27
|
-
## Verify Installation
|
|
28
|
-
|
|
29
|
-
```bash
|
|
30
|
-
# Check brain health
|
|
31
|
-
python -c "from mcp_server_nucleus import brain_health; print(brain_health())"
|
|
32
|
-
```
|
|
33
|
-
|
|
34
|
-
Expected output:
|
|
35
|
-
```json
|
|
36
|
-
{"status": "healthy", "version": "1.0.5", "brain_path": "/Users/you/.brain"}
|
|
37
|
-
```
|
|
38
|
-
|
|
39
|
-
---
|
|
40
|
-
|
|
41
|
-
## First Memory (Engram)
|
|
42
|
-
|
|
43
|
-
Write your first cross-platform memory:
|
|
44
|
-
|
|
45
|
-
```python
|
|
46
|
-
from mcp_server_nucleus import brain_write_engram
|
|
47
|
-
|
|
48
|
-
# Save a decision
|
|
49
|
-
brain_write_engram(
|
|
50
|
-
key="tech_stack_choice",
|
|
51
|
-
value="Using FastAPI + SQLite for MVP backend",
|
|
52
|
-
context="Architecture",
|
|
53
|
-
intensity=8
|
|
54
|
-
)
|
|
55
|
-
```
|
|
56
|
-
|
|
57
|
-
This engram is now available in **all** your MCP tools.
|
|
58
|
-
|
|
59
|
-
---
|
|
60
|
-
|
|
61
|
-
## Query Memory
|
|
62
|
-
|
|
63
|
-
Retrieve engrams by context:
|
|
64
|
-
|
|
65
|
-
```python
|
|
66
|
-
from mcp_server_nucleus import brain_query_engrams
|
|
67
|
-
|
|
68
|
-
# Get all Architecture decisions
|
|
69
|
-
engrams = brain_query_engrams(context="Architecture", min_intensity=5)
|
|
70
|
-
print(engrams)
|
|
71
|
-
```
|
|
72
|
-
|
|
73
|
-
---
|
|
74
|
-
|
|
75
|
-
## Available Contexts
|
|
76
|
-
|
|
77
|
-
| Context | Use For |
|
|
78
|
-
|---------|---------|
|
|
79
|
-
| `Feature` | Product features, implementations |
|
|
80
|
-
| `Architecture` | Technical decisions, stack choices |
|
|
81
|
-
| `Brand` | Messaging, positioning, identity |
|
|
82
|
-
| `Strategy` | Business decisions, roadmap |
|
|
83
|
-
| `Decision` | General decisions, choices made |
|
|
84
|
-
|
|
85
|
-
---
|
|
86
|
-
|
|
87
|
-
## Connect Multiple Tools
|
|
88
|
-
|
|
89
|
-
### Claude Desktop
|
|
90
|
-
|
|
91
|
-
Already configured by `nucleus-init`. Restart Claude Desktop to activate.
|
|
92
|
-
|
|
93
|
-
### Cursor
|
|
94
|
-
|
|
95
|
-
Add to your Cursor MCP config:
|
|
96
|
-
|
|
97
|
-
```json
|
|
98
|
-
{
|
|
99
|
-
"mcpServers": {
|
|
100
|
-
"nucleus": {
|
|
101
|
-
"command": "python",
|
|
102
|
-
"args": ["-m", "mcp_server_nucleus"]
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
```
|
|
107
|
-
|
|
108
|
-
### Windsurf
|
|
109
|
-
|
|
110
|
-
Add to your Windsurf MCP config (same format as Cursor).
|
|
111
|
-
|
|
112
|
-
---
|
|
113
|
-
|
|
114
|
-
## Next Steps
|
|
115
|
-
|
|
116
|
-
- **[Enterprise Guide](ENTERPRISE.md)** - Air-gap deployment, compliance
|
|
117
|
-
- **[Competitive Analysis](COMPETITIVE_ANALYSIS.md)** - Why Nucleus
|
|
118
|
-
- **[Full API Reference](https://github.com/eidetic-works/nucleus-mcp#-complete-tool-reference)** - All 15+ tools
|
|
119
|
-
|
|
120
|
-
---
|
|
121
|
-
|
|
122
|
-
## Troubleshooting
|
|
123
|
-
|
|
124
|
-
### "brain_path not found"
|
|
125
|
-
|
|
126
|
-
```bash
|
|
127
|
-
# Manually set brain path
|
|
128
|
-
export NUCLEAR_BRAIN_PATH=~/.brain
|
|
129
|
-
```
|
|
130
|
-
|
|
131
|
-
### Import errors
|
|
132
|
-
|
|
133
|
-
```bash
|
|
134
|
-
# Reinstall
|
|
135
|
-
pip uninstall nucleus-mcp
|
|
136
|
-
pip install nucleus-mcp
|
|
137
|
-
```
|
|
138
|
-
|
|
139
|
-
### Claude Desktop not seeing Nucleus
|
|
140
|
-
|
|
141
|
-
1. Restart Claude Desktop
|
|
142
|
-
2. Check `~/.config/Claude/claude_desktop_config.json` includes Nucleus
|
|
143
|
-
3. Run `nucleus-init` again
|
|
144
|
-
|
|
145
|
-
---
|
|
146
|
-
|
|
147
|
-
## Support
|
|
148
|
-
|
|
149
|
-
- **Discord**: [Join Nucleus Vanguard](https://discord.gg/RJuBNNJ5MT)
|
|
150
|
-
- **GitHub Issues**: [Report a bug](https://github.com/eidetic-works/nucleus-mcp/issues)
|
|
151
|
-
- **Enterprise**: [enterprise@nucleusos.dev](mailto:enterprise@nucleusos.dev)
|
|
152
|
-
|
|
153
|
-
---
|
|
154
|
-
|
|
155
|
-
*The Sovereign Brain - Cross-platform AI memory that never leaves your machine.*
|
package/docs/README.md
DELETED
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
# Nucleus MCP Documentation
|
|
2
|
-
|
|
3
|
-
Welcome to the Nucleus MCP documentation. This index provides quick access to all available guides and resources.
|
|
4
|
-
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
## 📚 Documentation Index
|
|
8
|
-
|
|
9
|
-
### Getting Started
|
|
10
|
-
|
|
11
|
-
| Document | Description |
|
|
12
|
-
|----------|-------------|
|
|
13
|
-
| [Quick Start](QUICK_START.md) | Install and write your first engram in 2 minutes |
|
|
14
|
-
| [FAQ](FAQ.md) | Frequently asked questions |
|
|
15
|
-
|
|
16
|
-
### Enterprise & Compliance
|
|
17
|
-
|
|
18
|
-
| Document | Description |
|
|
19
|
-
|----------|-------------|
|
|
20
|
-
| [Enterprise Guide](ENTERPRISE.md) | Air-gap deployment, compliance, security architecture |
|
|
21
|
-
| [Competitive Analysis](COMPETITIVE_ANALYSIS.md) | Feature comparison vs ContextStream, OpenClaw, etc. |
|
|
22
|
-
|
|
23
|
-
### Community
|
|
24
|
-
|
|
25
|
-
| Document | Description |
|
|
26
|
-
|----------|-------------|
|
|
27
|
-
| [Community FAQ](COMMUNITY_FAQ.md) | Community-contributed questions |
|
|
28
|
-
| [Demo Script](DEMO_SCRIPT.md) | Video demo reference script |
|
|
29
|
-
| [Social Preview](SOCIAL_PREVIEW.md) | Brand assets and social media guidelines |
|
|
30
|
-
|
|
31
|
-
---
|
|
32
|
-
|
|
33
|
-
## 🔗 Quick Links
|
|
34
|
-
|
|
35
|
-
- **Main README**: [../README.md](../README.md)
|
|
36
|
-
- **GitHub**: [github.com/eidetic-works/nucleus-mcp](https://github.com/eidetic-works/nucleus-mcp)
|
|
37
|
-
- **PyPI**: [pypi.org/project/nucleus-mcp](https://pypi.org/project/nucleus-mcp/)
|
|
38
|
-
- **Discord**: [Nucleus Vanguard](https://discord.gg/RJuBNNJ5MT)
|
|
39
|
-
- **Website**: [nucleusos.dev](https://nucleusos.dev)
|
|
40
|
-
|
|
41
|
-
---
|
|
42
|
-
|
|
43
|
-
## 📖 Document Map
|
|
44
|
-
|
|
45
|
-
```
|
|
46
|
-
docs/
|
|
47
|
-
├── README.md # This index
|
|
48
|
-
├── QUICK_START.md # 2-minute getting started
|
|
49
|
-
├── FAQ.md # Comprehensive FAQ
|
|
50
|
-
├── ENTERPRISE.md # Enterprise deployment
|
|
51
|
-
├── COMPETITIVE_ANALYSIS.md # Market positioning
|
|
52
|
-
├── COMMUNITY_FAQ.md # Community questions
|
|
53
|
-
├── DEMO_SCRIPT.md # Video script
|
|
54
|
-
└── SOCIAL_PREVIEW.md # Brand assets
|
|
55
|
-
```
|
|
56
|
-
|
|
57
|
-
---
|
|
58
|
-
|
|
59
|
-
## 🆘 Need Help?
|
|
60
|
-
|
|
61
|
-
- **Discord**: [Join Nucleus Vanguard](https://discord.gg/RJuBNNJ5MT)
|
|
62
|
-
- **GitHub Issues**: [Report a bug](https://github.com/eidetic-works/nucleus-mcp/issues)
|
|
63
|
-
- **Enterprise**: [enterprise@nucleusos.dev](mailto:enterprise@nucleusos.dev)
|
|
64
|
-
|
|
65
|
-
---
|
|
66
|
-
|
|
67
|
-
*The Sovereign Brain - Cross-platform AI memory that never leaves your machine.*
|
|
Binary file
|
|
Binary file
|
package/docs/social-preview.png
DELETED
|
Binary file
|
package/examples/basic_usage.py
DELETED
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
"""
|
|
2
|
-
Basic Usage Example for Nucleus MCP
|
|
3
|
-
|
|
4
|
-
This example demonstrates how to use Nucleus MCP programmatically.
|
|
5
|
-
Typically, you'd use it via an MCP client like Claude Desktop or Cursor,
|
|
6
|
-
but this shows the underlying API.
|
|
7
|
-
"""
|
|
8
|
-
|
|
9
|
-
import os
|
|
10
|
-
import tempfile
|
|
11
|
-
from pathlib import Path
|
|
12
|
-
|
|
13
|
-
# Set up a temporary brain for this example
|
|
14
|
-
with tempfile.TemporaryDirectory() as tmpdir:
|
|
15
|
-
os.environ["NUCLEAR_BRAIN_PATH"] = tmpdir
|
|
16
|
-
|
|
17
|
-
# Import after setting env var
|
|
18
|
-
from mcp_server_nucleus import (
|
|
19
|
-
brain_write_engram,
|
|
20
|
-
brain_query_engrams,
|
|
21
|
-
brain_get_state,
|
|
22
|
-
brain_set_state,
|
|
23
|
-
brain_identify_agent,
|
|
24
|
-
brain_sync_now,
|
|
25
|
-
brain_health,
|
|
26
|
-
)
|
|
27
|
-
|
|
28
|
-
print("🧠 Nucleus MCP - Basic Usage Example")
|
|
29
|
-
print("=" * 50)
|
|
30
|
-
|
|
31
|
-
# 1. Check health
|
|
32
|
-
print("\n1. Checking brain health...")
|
|
33
|
-
health = brain_health()
|
|
34
|
-
print(health)
|
|
35
|
-
|
|
36
|
-
# 2. Identify as an agent
|
|
37
|
-
print("\n2. Registering as an agent...")
|
|
38
|
-
agent = brain_identify_agent("example_agent", "python_script")
|
|
39
|
-
print(agent)
|
|
40
|
-
|
|
41
|
-
# 3. Store some knowledge
|
|
42
|
-
print("\n3. Storing knowledge (engrams)...")
|
|
43
|
-
engram1 = brain_write_engram(
|
|
44
|
-
content="We decided to use PostgreSQL for the user database",
|
|
45
|
-
category="decision",
|
|
46
|
-
tags=["database", "architecture"]
|
|
47
|
-
)
|
|
48
|
-
print(engram1)
|
|
49
|
-
|
|
50
|
-
engram2 = brain_write_engram(
|
|
51
|
-
content="The API should use REST with JSON responses",
|
|
52
|
-
category="decision",
|
|
53
|
-
tags=["api", "architecture"]
|
|
54
|
-
)
|
|
55
|
-
print(engram2)
|
|
56
|
-
|
|
57
|
-
# 4. Query knowledge
|
|
58
|
-
print("\n4. Querying knowledge...")
|
|
59
|
-
results = brain_query_engrams(query="database")
|
|
60
|
-
print(results)
|
|
61
|
-
|
|
62
|
-
# 5. Set some state
|
|
63
|
-
print("\n5. Setting project state...")
|
|
64
|
-
state = brain_set_state("current_sprint", "MVP Genesis")
|
|
65
|
-
print(state)
|
|
66
|
-
|
|
67
|
-
state = brain_set_state("team_size", "1")
|
|
68
|
-
print(state)
|
|
69
|
-
|
|
70
|
-
# 6. Get state
|
|
71
|
-
print("\n6. Getting current state...")
|
|
72
|
-
current_state = brain_get_state()
|
|
73
|
-
print(current_state)
|
|
74
|
-
|
|
75
|
-
# 7. Sync
|
|
76
|
-
print("\n7. Syncing brain...")
|
|
77
|
-
sync = brain_sync_now()
|
|
78
|
-
print(sync)
|
|
79
|
-
|
|
80
|
-
print("\n" + "=" * 50)
|
|
81
|
-
print("✅ Example complete!")
|
|
82
|
-
print(f"Brain location: {tmpdir}")
|
|
83
|
-
print("\nIn real usage, other AI tools (Claude, Cursor, Windsurf)")
|
|
84
|
-
print("would be able to access this same brain and share context.")
|
package/package.json.real
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "nucleus-mcp",
|
|
3
|
-
"version": "1.0.7",
|
|
4
|
-
"description": "The Universal Brain for AI Agents - Cross-platform memory sync for Cursor, Claude, Windsurf",
|
|
5
|
-
"main": "index.js",
|
|
6
|
-
"module": "index.js",
|
|
7
|
-
"bin": {
|
|
8
|
-
"nucleus-mcp": "./index.js",
|
|
9
|
-
"nucleus-init": "./index.js"
|
|
10
|
-
},
|
|
11
|
-
"scripts": {
|
|
12
|
-
"test": "echo \"Error: no test specified\" && exit 1"
|
|
13
|
-
},
|
|
14
|
-
"keywords": [
|
|
15
|
-
"mcp",
|
|
16
|
-
"ai",
|
|
17
|
-
"agents",
|
|
18
|
-
"memory",
|
|
19
|
-
"nucleus"
|
|
20
|
-
],
|
|
21
|
-
"author": "Nucleus Team",
|
|
22
|
-
"license": "MIT",
|
|
23
|
-
"dependencies": {}
|
|
24
|
-
}
|
package/pyproject.toml
DELETED
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
[build-system]
|
|
2
|
-
requires = ["hatchling"]
|
|
3
|
-
build-backend = "hatchling.build"
|
|
4
|
-
|
|
5
|
-
[project]
|
|
6
|
-
name = "nucleus-mcp"
|
|
7
|
-
version = "1.0.5"
|
|
8
|
-
description = "The Sovereign Agent Control Plane with Governance & Engrams"
|
|
9
|
-
readme = "README.md"
|
|
10
|
-
authors = [
|
|
11
|
-
{ name = "Nucleus Team", email = "hello@nucleusos.dev" }
|
|
12
|
-
]
|
|
13
|
-
urls = { Homepage = "https://github.com/eidetic-works/nucleus-mcp", Repository = "https://github.com/eidetic-works/nucleus-mcp" }
|
|
14
|
-
requires-python = ">=3.10"
|
|
15
|
-
dependencies = [
|
|
16
|
-
"pydantic",
|
|
17
|
-
"watchdog>=3.0.0",
|
|
18
|
-
"google-cloud-firestore>=2.11.0",
|
|
19
|
-
"duckduckgo-search>=4.0.0",
|
|
20
|
-
"beautifulsoup4>=4.12.0",
|
|
21
|
-
"nest_asyncio",
|
|
22
|
-
"cryptography>=41.0.0"
|
|
23
|
-
]
|
|
24
|
-
|
|
25
|
-
[project.optional-dependencies]
|
|
26
|
-
full = [
|
|
27
|
-
"fastmcp",
|
|
28
|
-
"google-genai"
|
|
29
|
-
]
|
|
30
|
-
dev = [
|
|
31
|
-
"pytest>=7.0",
|
|
32
|
-
"pytest-cov",
|
|
33
|
-
"ruff"
|
|
34
|
-
]
|
|
35
|
-
|
|
36
|
-
[project.scripts]
|
|
37
|
-
nucleus-mcp = "mcp_server_nucleus:main"
|
|
38
|
-
nucleus-init = "mcp_server_nucleus.cli:main"
|
|
39
|
-
|
|
40
|
-
[tool.hatch.build.targets.wheel]
|
|
41
|
-
packages = ["src/mcp_server_nucleus"]
|
|
42
|
-
|
|
43
|
-
[tool.pytest.ini_options]
|
|
44
|
-
testpaths = ["tests"]
|
|
45
|
-
pythonpath = ["src"]
|
|
46
|
-
|
|
47
|
-
[tool.ruff]
|
|
48
|
-
line-length = 100
|
|
49
|
-
target-version = "py310"
|
|
50
|
-
|
package/registry-server.json
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
|
|
3
|
-
"name": "io.github.eidetic-works/nucleus",
|
|
4
|
-
"description": "Sovereign agent control plane with task ledger, hypervisor security, and long-term memory.",
|
|
5
|
-
"repository": {
|
|
6
|
-
"url": "https://github.com/eidetic-works/nucleus-mcp",
|
|
7
|
-
"source": "github"
|
|
8
|
-
},
|
|
9
|
-
"version": "1.0.2",
|
|
10
|
-
"packages": [
|
|
11
|
-
{
|
|
12
|
-
"registryType": "npm",
|
|
13
|
-
"identifier": "nucleus-mcp",
|
|
14
|
-
"version": "1.0.2",
|
|
15
|
-
"transport": {
|
|
16
|
-
"type": "stdio"
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
]
|
|
20
|
-
}
|