mindgraph-mcp 0.23.0 → 0.25.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 +8 -2
- package/dist/cli.js +467 -208
- package/dist/index.js +244 -148
- package/dist/server.d.mts +8 -3
- package/dist/server.d.ts +8 -3
- package/dist/server.js +54 -13
- package/dist/server.mjs +57 -19
- 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:
|
|
@@ -93,7 +96,9 @@ bounded topic recall for each prompt — the same request the Hermes provider
|
|
|
93
96
|
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
|
-
label, one-line summary, source document).
|
|
99
|
+
label, one-line summary, source document). An item is injected only when its
|
|
100
|
+
label or summary mentions two distinct keywords from the prompt (one, when the
|
|
101
|
+
prompt yields a single keyword), so a prompt can inject nothing. Prompts under 12 characters and
|
|
97
102
|
slash commands are skipped, a block identical to the last one injected is not re-injected in the same
|
|
98
103
|
session, and the hook gives up after 4 s and injects nothing on any error, so
|
|
99
104
|
it never blocks a prompt. Turn it off with
|
|
@@ -253,6 +258,7 @@ mindgraph-mcp uninstall-code Remove from Claude Code
|
|
|
253
258
|
mindgraph-mcp install-hooks Install coding hooks (--harness claude-code|codex)
|
|
254
259
|
mindgraph-mcp uninstall-hooks Remove MindGraph-owned hook entries
|
|
255
260
|
mindgraph-mcp hooks preview Print what transcript capture would send (sends nothing)
|
|
261
|
+
mindgraph-mcp hooks stats Per-event hook calls, time and injected characters for a session
|
|
256
262
|
mindgraph-mcp skills pull Render published and granted skills into local SKILL.md directories
|
|
257
263
|
mindgraph-mcp skills push Import or update one local SKILL.md as a governed candidate
|
|
258
264
|
mindgraph-mcp status Show installation status
|
|
@@ -261,7 +267,7 @@ mindgraph-mcp status Show installation status
|
|
|
261
267
|
Options: `--api-key <key>`, `--base-url <url>`, `--agent-id <id>`,
|
|
262
268
|
`--scope user|project`, `--project-dir <dir>`, `--harness <name>`,
|
|
263
269
|
`--no-prompt-recall` / `--prompt-recall`, `--capture` / `--no-capture`,
|
|
264
|
-
`--session-id <id>` (for `hooks preview`), `--help`.
|
|
270
|
+
`--session-id <id>` (for `hooks preview` and `hooks stats`), `--help`.
|
|
265
271
|
|
|
266
272
|
**Teams**: when several people share one org graph, give each member a
|
|
267
273
|
distinct identity — `--agent-id claude-code:<name>` on `install-code` /
|