@datacore-one/mcp 1.5.2 → 1.6.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/README.md CHANGED
@@ -1,14 +1,16 @@
1
1
  # @datacore-one/mcp
2
2
 
3
- Persistent memory for AI assistants.
3
+ A plain-text second brain for AI assistants — journal, knowledge, and productivity tools over MCP.
4
4
 
5
5
  ## Why
6
6
 
7
- AI assistants are stateless. Every conversation starts from zero. Your AI forgets your preferences, your domain knowledge, your past decisions.
7
+ AI assistants are great at reasoning but have nowhere to put what matters: your decisions, your notes, your day.
8
8
 
9
- Datacore changes that. It gives AI assistants persistent memory through **engrams** -- typed knowledge units that get injected into context when relevant. Your AI remembers your coding patterns, learns your domain, and builds on previous work.
9
+ Datacore gives them a structured, plain-text second brain capture journal entries and knowledge notes, search them back, get canonical date handling, and extend with modules (GTD, health, trading, and more).
10
10
 
11
- Not a RAG system. Not a vector database you have to manage. Just an MCP server that makes your AI smarter over time.
11
+ Persistent **memory** engrams, learning, and recall is handled by Datacore's companion server, [PLUR](https://www.npmjs.com/package/@plur-ai/mcp) (`plur_*` tools). Run the two side by side: PLUR remembers, Datacore organizes.
12
+
13
+ Not a RAG system. Not a vector database you have to manage. Just plain-text files and an MCP server.
12
14
 
13
15
  ## Quick Start
14
16
 
@@ -20,10 +22,10 @@ npm install -g @datacore-one/mcp
20
22
 
21
23
  Then connect from any MCP-compatible client. On first use, the server creates `~/Datacore/` with:
22
24
 
23
- - `engrams.yaml` — Your learned knowledge
24
25
  - `journal/` — Daily session logs
25
26
  - `knowledge/` — Ingested reference material
26
- - `packs/`Engram packs (starter packs installed automatically)
27
+ - `engrams.yaml`Shared engram store, read and written by the companion PLUR MCP
28
+ - `packs/` — Engram packs used by PLUR
27
29
  - `config.yaml` — Configuration (all fields optional)
28
30
  - `CLAUDE.md`, `AGENTS.md`, `.cursorrules`, `.github/copilot-instructions.md` — Editor context files so any AI assistant immediately understands Datacore
29
31
 
@@ -60,7 +62,7 @@ Then allow Datacore tools in `.claude/settings.json` (or `.claude/settings.local
60
62
  }
61
63
  ```
62
64
 
63
- This auto-approves all Datacore MCP tools (session, learn, inject, etc.) so you don't get prompted on every call. The `enableAllProjectMcpServers` setting ensures the MCP server defined in `.mcp.json` is activated automatically.
65
+ This auto-approves all Datacore MCP tools (capture, search, status, etc.) so you don't get prompted on every call. The `enableAllProjectMcpServers` setting ensures the MCP server defined in `.mcp.json` is activated automatically.
64
66
 
65
67
  ### Claude Desktop
66
68
 
@@ -94,58 +96,36 @@ Then point your MCP client to `http://127.0.0.1:3100/mcp`. See [HTTP Transport](
94
96
 
95
97
  | Mode | Storage | What You Get |
96
98
  |------|---------|--------------|
97
- | **Core** (`~/Datacore`) | Flat files | Engrams, journal, knowledge, packs |
99
+ | **Core** (`~/Datacore`) | Flat files | Journal, knowledge, dates, packs |
98
100
  | **Full** (`~/Data`) | Datacore system | + modules, GTD, spaces, Datacortex |
99
101
 
100
102
  Mode is auto-detected. If you have a full [Datacore](https://github.com/datacore-one/datacore) installation at `~/Data`, it uses that. Otherwise it creates a lightweight `~/Datacore` directory.
101
103
 
102
104
  Override with environment variables: `DATACORE_PATH` (full) or `DATACORE_CORE_PATH` (core).
103
105
 
104
- ## Tools (18 core + 3 full-mode)
105
-
106
- ### Session
106
+ ## Tools (5 core + 3 full-mode)
107
107
 
108
- | Tool | Description |
109
- |------|-------------|
110
- | `datacore.session.start` | Begin a session — injects relevant engrams, shows today's journal |
111
- | `datacore.session.end` | End a session — captures journal summary and creates engrams |
108
+ Datacore exposes productivity tools. **Memory — engrams, learning, recall, packs — is provided by the companion [PLUR MCP](https://www.npmjs.com/package/@plur-ai/mcp) server (`plur_*` tools), not by Datacore.**
112
109
 
113
110
  ### Core
114
111
 
115
112
  | Tool | Description |
116
113
  |------|-------------|
117
- | `datacore.capture` | Write a journal entry or knowledge note |
118
- | `datacore.learn` | Create an engram from a statement |
119
- | `datacore.inject` | Get relevant engrams for a task |
120
- | `datacore.recall` | Search all sources (engrams + journal + knowledge) |
121
- | `datacore.search` | Search journal and knowledge by keyword or semantic |
122
- | `datacore.ingest` | Ingest text as a knowledge note with engram extraction |
123
- | `datacore.status` | System status, counts, actionable recommendations |
124
-
125
- ### Lifecycle
126
-
127
- | Tool | Description |
128
- |------|-------------|
129
- | `datacore.promote` | Activate candidate engrams |
130
- | `datacore.feedback` | Signal whether engrams were helpful (single or batch) |
131
- | `datacore.forget` | Retire an engram by ID or search |
132
- | `datacore.resolve` | Resolve engagement events (reconsolidations, discoveries, challenges) |
133
-
134
- ### Packs
135
-
136
- | Tool | Description |
137
- |------|-------------|
138
- | `datacore.packs.discover` | Browse available engram packs |
139
- | `datacore.packs.install` | Install a pack |
140
- | `datacore.packs.export` | Export your engrams as a shareable pack |
114
+ | `datacore_capture` | Write a journal entry or knowledge note |
115
+ | `datacore_search` | Search journal and knowledge by keyword or semantic |
116
+ | `datacore_ingest` | Ingest text as a knowledge note |
117
+ | `datacore_status` | System status, counts, actionable recommendations |
118
+ | `datacore_date` | Canonical date operations (today, day-of-week, validate, add/sub, parse, org-stamp) |
141
119
 
142
120
  ### Modules (full mode only)
143
121
 
144
122
  | Tool | Description |
145
123
  |------|-------------|
146
- | `datacore.modules.list` | List installed modules |
147
- | `datacore.modules.info` | Detailed info about a module |
148
- | `datacore.modules.health` | Health check for modules |
124
+ | `datacore_modules_list` | List installed modules |
125
+ | `datacore_modules_info` | Detailed info about a module |
126
+ | `datacore_modules_health` | Health check for modules |
127
+
128
+ Tool names use underscores to satisfy the MCP tool-name rule `^[a-zA-Z0-9_-]{1,64}$`. Legacy dot-namespaced names (`datacore.capture`) are still accepted as aliases for backward compatibility.
149
129
 
150
130
  ## Prompts
151
131
 
@@ -153,11 +133,10 @@ The server provides MCP prompts — workflow templates your AI can discover and
153
133
 
154
134
  | Prompt | Description |
155
135
  |--------|-------------|
156
- | `datacore-session` | Start a working session with context injection |
157
- | `datacore-learn` | Record a learning through the engram lifecycle |
158
- | `datacore-guide` | Complete guide to all tools and workflows |
136
+ | `datacore-capture` | Capture a journal entry or knowledge note |
137
+ | `datacore-guide` | Complete guide to Datacore tools and workflows |
159
138
 
160
- Prompts are the primary way the AI understands Datacore. When your AI connects, it can list available prompts and immediately knows the session lifecycle, engram workflow, and how all tools relate.
139
+ Prompts are the primary way the AI understands Datacore. When your AI connects, it can list available prompts and immediately knows how to capture, search, and organize and that persistent memory lives in PLUR.
161
140
 
162
141
  ## Resources
163
142
 
@@ -165,62 +144,18 @@ Prompts are the primary way the AI understands Datacore. When your AI connects,
165
144
  |----------|-------------|
166
145
  | `datacore://guide` | Agent workflow reference (markdown) |
167
146
  | `datacore://status` | System status summary (JSON) |
168
- | `datacore://engrams/active` | All active engrams (JSON) |
169
147
  | `datacore://journal/today` | Today's journal entry (markdown) |
170
148
  | `datacore://journal/{date}` | Journal entry by date |
171
- | `datacore://engrams/{id}` | Specific engram by ID |
172
-
173
- ## How Engrams Work
174
-
175
- Engrams are typed knowledge units with activation dynamics:
176
-
177
- ```yaml
178
- id: ENG-2026-0221-001
179
- statement: "Always run tests before deploying"
180
- type: behavioral
181
- scope: global
182
- activation:
183
- retrieval_strength: 0.8
184
- storage_strength: 1.0
185
- ```
186
-
187
- When your AI starts a task, `datacore.inject` returns the most relevant engrams based on tags, scope, and activation strength. Engrams that prove useful get reinforced through `datacore.feedback`; unused ones naturally decay.
188
-
189
- This creates a learning loop: your AI gets better at its job over time without you managing anything.
190
-
191
- ## Pack System
192
-
193
- Engram packs are curated knowledge bundles you can install and share.
194
-
195
- ```
196
- datacore.packs.discover -- browse available packs
197
- datacore.packs.install -- install a pack
198
- datacore.packs.export -- export your engrams as a pack
199
- ```
200
-
201
- Bundled starter packs are installed automatically on first run.
202
-
203
- ## Engagement System
204
-
205
- Datacore includes an optional engagement layer that tracks your AI's learning progress through XP, tiers, and gameplay mechanics. Enable it in `config.yaml`:
206
-
207
- ```yaml
208
- engagement:
209
- enabled: true
210
- inline_xp: false # show XP gains inline in tool responses
211
- ```
212
149
 
213
- When enabled, you earn XP for learning actions (creating engrams, giving feedback, reviewing contradictions). The system surfaces:
150
+ ## Memory (via PLUR)
214
151
 
215
- - **Reconsolidations** — detects contradictions between engrams and prompts you to defend, revise, or retire
216
- - **Discoveries** — finds unexpected connections across knowledge domains
217
- - **Challenges** — weekly goals that reward consistent usage
152
+ Datacore organizes; **[PLUR](https://www.npmjs.com/package/@plur-ai/mcp) remembers.**
218
153
 
219
- Progress is visible in `datacore.session.start` and `datacore.status`. Use `datacore.resolve` to act on reconsolidations, discoveries, and challenges.
154
+ Persistent memory engrams, learning, recall, feedback, and engram packs — lives in the companion PLUR MCP server (`plur_*` tools). Datacore scaffolds the shared, plain-text data directory (including `engrams.yaml` and `packs/`) that PLUR reads and writes, so both servers work against the same `~/Data` or `~/Datacore` store.
220
155
 
221
- Tiers: Seed (0 XP) -> Cipher (100) -> Sage (500) -> Adept (1200) -> Visionary (2500) -> Oracle (5000).
156
+ Connect both in your MCP client and your AI gets a second brain (Datacore) plus persistent memory (PLUR). See the [PLUR docs](https://www.npmjs.com/package/@plur-ai/mcp) for the memory toolset and engram lifecycle.
222
157
 
223
- All engagement is gated behind `engagement.enabled` when disabled, behavior is identical to v1.2.
158
+ > **Upgrading from ≤1.5?** The engram engine (`learn`, `inject`, `recall`, `promote`, `feedback`, `forget`, packs, and the engagement/XP layer) moved out of Datacore into PLUR. Install [`@plur-ai/mcp`](https://www.npmjs.com/package/@plur-ai/mcp) alongside Datacore to keep that functionality.
224
159
 
225
160
  ## Configuration
226
161
 
@@ -243,21 +178,14 @@ Create `config.yaml` in your Datacore directory (or `.datacore/config.yaml` in f
243
178
 
244
179
  ```yaml
245
180
  version: 2
246
- engrams:
247
- auto_promote: false # true: learn creates active engrams immediately
248
- packs:
249
- trusted_publishers: [] # publisher IDs whose packs are flagged for auto-install
250
181
  search:
251
182
  max_results: 20
252
183
  snippet_length: 500 # chars around match
253
184
  hints:
254
185
  enabled: true # include _hints in tool responses for agent guidance
255
- engagement:
256
- enabled: true # enable XP, tiers, and gameplay mechanics
257
- inline_xp: false # show XP gains inline in tool responses
258
186
  ```
259
187
 
260
- All fields have defaults -- the file is optional.
188
+ All fields have defaults -- the file is optional. Memory-related settings (engrams, packs, engagement) are configured in PLUR, not here.
261
189
 
262
190
  ## HTTP Transport
263
191
 
@@ -273,7 +201,7 @@ DATACORE_HTTP_PORT=8080 datacore-mcp --http
273
201
 
274
202
  ## Module System (Full Mode)
275
203
 
276
- Full Datacore installations extend the MCP server with module-provided tools. Modules are discovered from `.datacore/modules/` and space-scoped directories. Each module can register its own tools under the `datacore.[module].[tool]` namespace.
204
+ Full Datacore installations extend the MCP server with module-provided tools. Modules are discovered from `.datacore/modules/` and space-scoped directories. Each module can register its own tools under the `datacore_[module]_[tool]` namespace.
277
205
 
278
206
  ## License
279
207