@syndash/research-vault-mcp 1.1.2 → 1.1.3

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/CHANGELOG.md ADDED
@@ -0,0 +1,35 @@
1
+ # Changelog
2
+
3
+ ## Unreleased
4
+
5
+ ## 1.1.3 — 2026-05-10
6
+
7
+ ### Added
8
+
9
+ - HTTP transport now supports Streamable HTTP at `POST /mcp`, while keeping the legacy `/sse` + `/messages` endpoints.
10
+ - Added a Streamable HTTP regression test that initializes a session and lists MCP tools through `/mcp`.
11
+ - Documented the default read-only MCP profile, including the public-safe read/evidence tool surface and the `full`/`admin` opt-in for mutation-capable tools.
12
+ - Added public guidance for the provenance/freshness response envelope, including `agent_guidance` and evidence metadata on search, status, and batch responses.
13
+
14
+ ### Changed
15
+
16
+ - `vault_get` is documented as bounded by default, with operator-approved `include_content:true` and `max_chars` caps for larger reads.
17
+ - Mutation blocking guidance now tells operators to restart in `MCP_PROFILE=full` or `MCP_PROFILE=admin` before using write/configure tools.
18
+ - Public-surface safety redaction is documented for local paths, credential markers, and private network values.
19
+
20
+ ## 1.1.2 — 2026-04-26
21
+
22
+ ### Changed
23
+
24
+ - Default MCP transport is now `stdio`, matching command-launched MCP clients.
25
+ - The npm bin is a Node-compatible launcher that delegates server execution to Bun.
26
+ - Published package includes `dist/server.js` via `prepack` build and `files` allowlist.
27
+ - README now documents Evensong hub vs Research Vault module, install commands, Claude config, Bun runtime requirement, and explicit SSE mode.
28
+ - Package metadata now uses Evensong module wording and Apache-2.0 package license.
29
+
30
+ ### Verified
31
+
32
+ - `bun --filter @syndash/research-vault-mcp test`
33
+ - `bun --filter @syndash/research-vault-mcp build`
34
+ - `npm pack --dry-run --json`
35
+ - stdio smoke returning 13 MCP tools
package/README.md CHANGED
@@ -17,12 +17,15 @@ bunx @syndash/research-vault-mcp --transport=stdio
17
17
 
18
18
  Default transport is `stdio`, because command-launched MCP servers are expected to speak JSON-RPC over stdin/stdout. Install [Bun](https://bun.sh) before using either `npx` or `bunx`; the server itself is Bun-native.
19
19
 
20
- Use SSE only when you explicitly want a long-running HTTP server:
20
+ **Runtime note:** `@syndash/research-vault-mcp` is Bun-native. `npx` is supported as an install/launch shim, but the target machine must have `bun` available on `PATH`. If you need a pure Node runtime, treat that as a separate compatibility track rather than assuming this package already provides it.
21
+
22
+ Use HTTP only when you explicitly want a long-running remote MCP server. The HTTP server exposes both the current Streamable HTTP endpoint and the legacy SSE endpoint:
21
23
 
22
24
  ```bash
23
- MCP_PORT=8765 npx @syndash/research-vault-mcp --transport=sse
24
- # health: http://127.0.0.1:8765/health
25
- # sse: http://127.0.0.1:8765/sse
25
+ MCP_PORT=8765 npx @syndash/research-vault-mcp --transport=http
26
+ # streamable: http://127.0.0.1:8765/mcp
27
+ # legacy sse: http://127.0.0.1:8765/sse
28
+ # health: http://127.0.0.1:8765/health
26
29
  ```
27
30
 
28
31
  ## Configure an MCP client
@@ -76,6 +79,20 @@ export VAULT_ROOT=/path/to/research-vault
76
79
 
77
80
  The package is designed for markdown-based knowledge bases. Keep private vault contents outside the public Evensong repo.
78
81
 
82
+ ## MCP Profiles
83
+
84
+ `MCP_PROFILE=readonly` is the default public-safe autonomous-agent profile. It exposes only read/evidence tools:
85
+
86
+ - `vault_status`
87
+ - `vault_taxonomy`
88
+ - `vault_search`
89
+ - `vault_get`
90
+ - `vault_batch_analyze`
91
+
92
+ Mutation tools are hidden and blocked in `readonly`. `MCP_PROFILE=full` enables non-destructive mutators such as `vault_raw_ingest` and `vault_note_save`. `MCP_PROFILE=admin` is required for destructive or admin tools such as `vault_delete`.
93
+
94
+ `vault_get` is bounded by default: it returns an excerpt unless the operator approves `include_content:true`, and even full-content requests are capped by `max_chars`. Search, status, and batch responses include `agent_guidance` plus evidence metadata for provenance, freshness, profile, and public-safety state.
95
+
79
96
  ## Tools exposed
80
97
 
81
98
  Current MCP contract:
@@ -84,12 +101,14 @@ Current MCP contract:
84
101
  - `vault_status` — registry, retention, and decay health
85
102
  - `vault_taxonomy` — category tree and item counts
86
103
  - `vault_batch_analyze` — raw queue status and preview
87
- - `vault_note_save` — persist a markdown note into the vault
88
104
  - `vault_get` — retrieve a saved vault item by id
89
- - `vault_delete` — delete a saved vault item
90
- - `vault_raw_ingest` — queue a raw URL/text ingest job
105
+ - `vault_raw_ingest` — queue a raw URL/text ingest job (`full` or `admin` profile only)
106
+ - `vault_note_save` — persist a markdown note into the vault (`full` or `admin` profile only)
107
+ - `vault_delete` — delete a saved vault item (`admin` profile only; destructive)
91
108
  - `amplify_*` — optional remote RAG query layer when Amplify credentials are configured
92
109
 
110
+ Public MCP responses are redacted before they leave the server if they contain local paths, credential markers, or private network values. Use a private operator session for diagnostics that need raw source details.
111
+
93
112
  ## Package mechanics
94
113
 
95
114
  Published packages include:
@@ -116,6 +135,14 @@ score(d, q, t) = lexical(q,d)
116
135
 
117
136
  The Evensong benchmark evidence for hybrid retrieval and Dense RAR lives in the parent repo under `benchmarks/`.
118
137
 
138
+ ## Node compatibility status
139
+
140
+ The package is intentionally Bun-native today because the server uses Bun APIs and the parent Evensong repo is Bun-only. The npm bin is Node-compatible only as a launcher: it locates `dist/server.js` or `src/server.ts`, then delegates execution to `bun`. This keeps package installation convenient while avoiding a misleading claim that the MCP server itself runs under plain Node.js.
141
+
119
142
  ## License
120
143
 
121
144
  Apache-2.0 for package code. Research artifacts in the parent repo may use separate licenses; check the repository root license files.
145
+
146
+ ## Releases
147
+
148
+ See [CHANGELOG.md](./CHANGELOG.md). Current npm release: `1.1.2`.