mindgraph-mcp 0.24.0 → 0.26.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 +11 -2
- package/dist/cli.js +2027 -1808
- package/dist/index.js +1743 -1515
- package/dist/server.d.mts +19 -3
- package/dist/server.d.ts +19 -3
- package/dist/server.js +1734 -1611
- package/dist/server.mjs +1726 -1605
- package/package.json +7 -3
package/README.md
CHANGED
|
@@ -5,6 +5,9 @@
|
|
|
5
5
|
|
|
6
6
|
Model Context Protocol server for [MindGraph](https://mindgraph.cloud) — plug your persistent, structured knowledge graph into Claude Desktop, Claude Code, Codex, and any MCP-compatible client.
|
|
7
7
|
|
|
8
|
+
Requires Node.js 20 or later. Speaks MCP revision 2026-07-28 and the 2025
|
|
9
|
+
revisions, over stdio and hosted Streamable HTTP.
|
|
10
|
+
|
|
8
11
|
## Install
|
|
9
12
|
|
|
10
13
|
The fastest way to install is the interactive setup:
|
|
@@ -94,8 +97,8 @@ makes: `POST /retrieve/context` with up to 8 keywords from the prompt (obvious
|
|
|
94
97
|
secrets redacted first), 5 items, no source chunks — and injects at most 4,000
|
|
95
98
|
characters headed `MindGraph recall (bounded):`, one line per item (type,
|
|
96
99
|
label, one-line summary, source document). An item is injected only when its
|
|
97
|
-
label or summary mentions two distinct keywords from the prompt
|
|
98
|
-
|
|
100
|
+
label or summary mentions two distinct keywords from the prompt, so a prompt
|
|
101
|
+
can inject nothing (a prompt with a single usable keyword never injects). Prompts under 12 characters and
|
|
99
102
|
slash commands are skipped, a block identical to the last one injected is not re-injected in the same
|
|
100
103
|
session, and the hook gives up after 4 s and injects nothing on any error, so
|
|
101
104
|
it never blocks a prompt. Turn it off with
|
|
@@ -162,6 +165,12 @@ checkouts)? Declare them once in `.mindgraph/workspace.json` at the parent:
|
|
|
162
165
|
Anchoring requires an explicit space — per-repo `space_uid`, a
|
|
163
166
|
`repo_space_uid` argument, or `MINDGRAPH_CODE_SPACE_UID` — so shared code
|
|
164
167
|
identity never lands silently in a private per-agent space.
|
|
168
|
+
- **Work brief**: a session started at the workspace root, or one folder
|
|
169
|
+
above it, selects durable work across every declared repository and lists
|
|
170
|
+
the other eligible tasks by repository. `mindgraph_memory` with
|
|
171
|
+
`mode: "resume"` and `scope: "workspace"` returns the same view on demand.
|
|
172
|
+
Only the brief and that tool look one folder down for a workspace file;
|
|
173
|
+
routing and sync use the upward search described above.
|
|
165
174
|
- **Memory-file sync**: `mindgraph_sync action=scan workspace=true` fans out
|
|
166
175
|
across the declared repositories (and errors with a diagnostic when nothing
|
|
167
176
|
is declared); all other sync actions stay single-repository.
|