prism-mcp-server 2.3.7 → 2.3.8

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
@@ -14,13 +14,15 @@
14
14
 
15
15
  ---
16
16
 
17
- ## What's New in v2.3.5AI Reasoning Engine 🧠
17
+ ## What's New in v2.3.8LangGraph Research Agent 🔬
18
18
 
19
19
  | Feature | Description |
20
20
  |---|---|
21
- | 🕸️ **Neural Graph** | Interactive knowledge graph on the Mind Palace Dashboard visualize how projects connect through shared keywords and categories using Vis.js force-directed layout. |
22
- | 🛡️ **Prompt Injection Shield** | Gemini-powered security scan in `session_health_check` detects system override attempts, jailbreaks, and data exfiltration hidden in agent memory. Tuned to avoid false positives on normal dev commands. |
23
- | 🧬 **Fact Merger** | Async LLM contradiction resolution on every handoff saveif old context says "Postgres" and new says "MySQL", Gemini silently merges the facts in the background. Zero latency impact (fire-and-forget). |
21
+ | 🤖 **LangGraph Research Agent** | New `examples/langgraph-agent/` a 5-node agentic research agent (plan→search→analyze→decide→answer→save) with autonomous looping, MCP integration, and persistent memory. |
22
+ | 🧠 **Agentic Memory** | `save_session` node persists research findings to a ledger the agent doesn't just answer and forget. Routes to Prism's `session_save_ledger` in MCP-connected mode. |
23
+ | 🔌 **MCP Client Bridge** | Raw JSON-RPC 2.0 client (`mcp_client.py`) for Python 3.9+dynamically discovers and wraps Prism MCP tools as LangChain `StructuredTool` objects. |
24
+ | 🔧 **Storage Abstraction Fix** | Resource/Prompt handlers now route through `getStorage()` instead of calling Supabase directly — eliminates EOF crashes when reading `memory://` resources. |
25
+ | 🛡️ **Error Boundaries** | Resource handlers catch errors gracefully and return proper MCP error responses (`isError: true`) instead of crashing the server process. |
24
26
 
25
27
  <details>
26
28
  <summary><strong>What's in v2.2.0</strong></summary>
@@ -251,6 +253,39 @@ Add to your Continue `config.json` or Cline MCP settings:
251
253
 
252
254
  ---
253
255
 
256
+ ## Claude Code + Gemini Startup Compatibility
257
+
258
+ If you want consistent behavior across clients, treat startup in two phases:
259
+
260
+ 1. **Server availability**: ensure `prism-mcp` is enabled in MCP config so tools are available.
261
+ 2. **Context hydration**: explicitly call `session_load_context` at session start.
262
+
263
+ Recommended startup call:
264
+
265
+ ```json
266
+ {
267
+ "projectName": "<your-project>",
268
+ "level": "standard"
269
+ }
270
+ ```
271
+
272
+ Important distinction:
273
+
274
+ - Auto-loading `prism-mcp` makes the server available.
275
+ - It does **not** guarantee memory context is auto-hydrated unless your client runtime/hook invokes `session_load_context`.
276
+
277
+ Client notes:
278
+
279
+ - **Gemini runtimes** may support native startup execution depending on configuration.
280
+ - **Claude Code** should use a local `SessionStart` hook in `~/.claude/settings.json` for deterministic startup context loading.
281
+
282
+ Verification pattern (same for both clients):
283
+
284
+ - Print a startup marker after successful `session_load_context` (for example, `PRISM_CONTEXT_LOADED`).
285
+ - If the marker is missing, startup hydration did not run.
286
+
287
+ ---
288
+
254
289
  ## Use Cases
255
290
 
256
291
  | Scenario | How Prism MCP Helps |
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Mind Palace Dashboard — UI Renderer (v2.3.4)
2
+ * Mind Palace Dashboard — UI Renderer (v2.3.7)
3
3
  *
4
4
  * Pure CSS + Vanilla JS single-page dashboard.
5
5
  * No build step, no Tailwind, no framework — served as a template literal.
@@ -279,7 +279,7 @@ export function renderDashboardHTML() {
279
279
  <div class="logo">
280
280
  <span class="logo-icon">🧠</span>
281
281
  Prism Mind Palace
282
- <span class="version-badge">v2.3.4</span>
282
+ <span class="version-badge">v2.3.7</span>
283
283
  </div>
284
284
  <div class="selector">
285
285
  <select id="projectSelect">
package/dist/server.js CHANGED
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "prism-mcp-server",
3
- "version": "2.3.7",
3
+ "version": "2.3.8",
4
4
  "mcpName": "io.github.dcostenco/prism-mcp",
5
5
  "description": "The Mind Palace for AI Agents — local-first MCP server with persistent memory (SQLite/Supabase), visual dashboard, time travel, multi-agent sync, Morning Briefings, reality drift detection, code mode templates, semantic vector search, and Brave Search + Gemini analysis. Zero-config local mode.",
6
6
  "module": "index.ts",