Skip to content
Agent Memory
MCP

prism-mcp

Ships with prism-coder: Give your AI agent memory that lasts — and see the cloud tokens it never had to spend. Persistent sessions, knowledge graphs, offline tool-routing, and an auditable savings meter.…

From plugin
prism-coder
1562 skills1 MCP

Claude Code

> /plugin marketplace add dcostenco/prism-coder
> /plugin install prism-coder@prism

Security report

Found

Low risk

  • Known flaws

    None known

  • Signed build

    Not published

  • Maintained

    Nov 14, 2026

    Last push

  • Licence

    Apache-2.0

  • Runs as

    npx

    On your machine

  • Deprecated

    Not published

Signals from public registries, not an audit. Checked Nov 23, 2026.

prism-mcp README

Prism Coder

Give your AI agent memory that lasts — and see the cloud tokens it never had to spend. Persistent sessions, knowledge graphs, offline tool-routing, and an auditable savings meter. Fully local and free.

Current release: v20.22.4 — oMLX setup and local model roles Install a pinned oMLX server/model pack from the dashboard or CLI, or connect an existing server. Discover installed models and choose coder/reviewer roles for oMLX and Ollama. Controlled oMLX coding remains text-only.

npm MCP Registry License: Apache-2.0 Models on HuggingFace

Prism Mind Palace dashboard v20.8.0 — project state with handoff summary, pending TODOs, intent health, neural graph, and time-travel history

Prism Coder is an MCP server that gives Claude, Cursor, and other AI tools long-term memory that survives across sessions. It ships with the open-weight prism-coder model fleet (2B–27B) for fast, offline tool-routing — no cloud required. And it keeps score: every call served locally is metered, so prism savings shows the token volume that never reached your cloud model — measured honestly, in tokens.

No account needed. No API keys. Runs on your machine.
A paid subscription adds cloud sync, higher model tiers, and team features through the Synalux portal.


What Prism gives you

  • Session memory that survives restarts — resume projects with handoff notes, recent work, open TODOs, and configurable quick, standard, or deep context.
  • Local-first inference — local Ollama models use automatic 2B/4B/9B/27B selection based on installed models, available RAM, context fit, and subscription entitlements. Eligible text-only coding can prefer configured oMLX; explicit task choices override the saved backend preference.
  • A savings meter you can audit — prism savings (or the local_savings tool from any host) reports the token volume local serving kept off your cloud model: headline, local share, per-model breakdown. It reports tokens, never an invented dollar figure, and prints its assumptions and known undercounts inline — a number you can check, not marketing.
  • Route-output enforcement — route mode returns only well-formed calls to tools the host actually advertised. Standard and higher plans can add authenticated deterministic correction; route_guard: "local" disables that correction only. cloud_fallback: false forbids cloud inference fallback and verify: false (with no evidence) disables the grounding verifier. With all three off, no request carries your prompt, draft or evidence; the per-call entitlement check and telemetry still contact the portal and carry neither.
  • One setup for every agent — prism connect configures Claude Code, Claude Desktop, Cursor, Gemini CLI, and Codex while preserving unrelated settings.
  • Subscription-aware skills — entitled skills are synchronized before the host launches, with safe upgrades, downgrades, conflict preservation, and offline last-good recovery.
  • Hook-free startup — MCP metadata and native instructions request Prism's startup context without requiring lifecycle hooks or a Prism-owned launcher. Where a host offers hooks (Claude Code, Codex), prism connect adds two small ones on top: mid-session prompt routing, and a post-compaction re-injection of the protected-floor digest.
  • Prompt-triggered Factory — enabled by default for suitable bounded implementation requests with explicit files, an allowed write list, and a verification command. The host starts and monitors the recommended pipeline; BCBA requests stay with the host. A dashboard toggle or PRISM_DARK_FACTORY_ENABLED=false disables Factory after an MCP restart. Try the three-test filename fix.
  • Safe escalation and observability — inference outcomes are explicit, reserved text remains fail-closed (clinical images are processed locally, never sent to the cloud), and local/cloud usage is recorded for review.

On-device oMLX coding

On Apple Silicon, choose Settings → Local Coding in prism dashboard to install oMLX and its model pack or use an existing server. Auto prefers configured oMLX for eligible coding; a saved preference or explicit task choice can select Ollama instead. This path requires Prism's oMLX integration and its separate classifier; stock oMLX is insufficient. See oMLX setup, tested models, results, and failure handling, or start with the quickstart beside Ollama. Explicit oMLX never falls back to Ollama or cloud inference; drafts still need host review and tests.

Get started

Memory search automatically applies ACT-R ranking: relevance plus recency, frequency and memory associations. No upvote or prompt instruction is required. To opt out, use Account & Settings → Preferences → Automatic Memory Ranking (ACT-R), then restart your AI client. PRISM_ACTR_ENABLED=false also disables it. This ranking is separate from the neural graph's stored importance filter.

npm install -g prism-mcp-server
prism connect
prism dashboard

Use prism connect --dry-run to preview changes, prism connect --all to configure every detected host, or prism connect --refresh to reconcile Prism-managed entries after an upgrade. Restart the host after connecting.

prism dashboard opens the current local Mind Palace without a Synalux login. Prism works locally without an account, API key, or cloud subscription. Add a Synalux subscription when you want cloud memory, paid-tier skills, or team features.

To check your plan, open ⚙ Account & Settings → Account in the dashboard. Free users see Start 14-day trial; paid users see Manage subscription. During a trial, the same panel shows the paid tier and exact end date. No card is required to start. Add payment details before the end date to continue; if you do not, the subscription cancels and local Prism Free remains available. You can also compare plans directly at synalux.ai/pricing#prism-plans.

After a few sessions, ask what it's been worth:

prism savings --period month
💾 Local serving — LAST 30 DAYS
  ~510K tokens kept off your cloud model
  53 call(s) served locally of 58 routed (91%)

Your numbers will differ — that's the point: it reports what your machine actually served, not a projection. Full report anatomy and the honesty rules behind it are in the local_savings section.

Install as a plugin

Prism also ships as a plugin, which registers the MCP server and the startup skill for you.

Both hosts install straight from this repository. There is nothing to host and no server to run: the catalogue is the .claude-plugin/marketplace.json file committed here, and your client clones it from GitHub.

Claude Code:

claude plugin marketplace add dcostenco/prism-coder
claude plugin install prism-coder@prism

Codex:

codex plugin marketplace add dcostenco/prism-coder
codex plugin add prism-coder@prism

The plugin registers prism-mcp via npx -y prism-mcp-server. If you already configured Prism by hand — prism connect writes an mcp_servers.prism-mcp entry — you have that server twice under one key. Install the plugin or run prism connect, not both.

What prism connect changes about host subagents

connect steers bounded work to prism_infer on your machine rather than to host-spawned agents. What it writes differs per host, and it does not disable subagents everywhere — Claude Code keeps them and is pointed at an economy model instead. Prism's local workers stay available over MCP in every case.

HostSetting writtenEffect
Claude Codeenv.CLAUDE_CODE_SUBAGENT_MODEL = "sonnet" in ~/.claude/settings.jsonSubagents stay enabled, pinned to an economy model. Fan-out is discouraged by policy text, not by config
Gemini CLIexperimental.enableAgents = false in ~/.gemini/settings.jsonSubagents off. Gemini exposes one boolean, so that is all there is to set
Codexfeatures.multi_agent = false in $CODEX_HOME/config.toml (default ~/.codex), plus a bounded fallback: 2 threads, depth 1, cheap subagent model, 900s capSubagents off, with a bounded profile underneath so a deliberate re-enable lands somewhere sane

Two things worth knowing:

  • experimental is Gemini's namespace, not ours. Prism is not enabling anything experimental — it writes false to a flag Gemini already defines at that path. Writing anywhere else would have no effect.
  • That namespace is by definition temporary. If Gemini promotes enableAgents out of experimental, Prism keeps writing the old path, Gemini reads the new one, and host subagents quietly turn back on. Nothing errors and the settings file still looks correct. If you see host subagents running while enableAgents reads false, check whether the key has moved before assuming connect failed to write it.

Both writes are idempotent in the sense that a host already configured this way is left untouched — but they are re-applied on every prism connect run, not only on --refresh. If you deliberately re-enable host subagents, the next connect will turn them off again. Keep them on by not re-running connect, or by re-enabling after each run.


Release history (optional)

What's New in v20.22.4

  • Dashboard and CLI setup: Settings → Local Coding and prism local install a pinned oMLX server/model pack with progress, retry and managed startup, or connect an existing server. See the oMLX guide for requirements.
  • Saved coding preference: choose Auto, oMLX or Ollama without restarting Prism. Auto prefers configured oMLX for eligible text-only coding; an explicit per-task backend overrides that preference.
  • Discovered model roles: select installed coder and reviewer models for each backend, including the same model for both roles. Explicit task model choices win. Reported sizes and conservative memory estimates help compare choices; unknown metadata stays unknown and estimates do not guarantee fit.
  • Managed isolation: model discovery, Hub cache and cluster launchers stay private to the managed installation. Competing Ollama residency refuses the call without unloading other jobs.
  • Setup-state hardening: bounded reads use one file handle and reject symlinks, closing the filesystem race reported by CodeQL.
  • Vision boundary: this release does not enable image requests through the controlled oMLX coding path. Picture-recognition tests remain separate work.

What's New in v20.22.3

  • Dependency fixes: Hono 4.13.11 addresses its static-path middleware bypass advisory; Vite 8.2.4 addresses its development editor-launch advisories.
  • Local resource probes use numeric loopback by default. The default Ollama endpoint is now http://127.0.0.1:11434, so a stalled localhost DNS lookup cannot block those probes. Explicit URL overrides are preserved; IPv6-only servers need an explicit URL.
  • Read-only oMLX inspection accepts release-candidate versions. Valid
@dcostenco
Ships withprism-coder
1562 skills1 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
156
Star history of dcostenco/prism-coder on GitHub, a chart by star-history.com

More MCP servers from other plugins.

cmem

cmem

MCP

Ships with claude-mem: Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions,…

@thedotmack@thedotmackInstall MCP
mempalace

mempalace

MCP

Ships with mempalace: Local-first AI memory. Verbatim storage, pluggable backend, 96.6% R@5 raw on LongMemEval — zero API calls.

@mempalace@mempalaceInstall MCP
mempalace

mempalace

MCP

Ships with mempalace: Local-first AI memory. Verbatim storage, pluggable backend, 96.6% R@5 raw on LongMemEval — zero API calls.

@milla-jovovich@milla-jovovichInstall MCP
ai-memory

ai-memory

MCP

Ships with ai-memory: Solution for long term memory for agent coding CLIs and to facilitate handoff between different agent…

@akitaonrails@akitaonrailsInstall MCP

Questions about prism-mcp.

Which coding agents can use prism-mcp?
prism-mcp works in any agent that reads an MCP config file: Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf. Each agent reads it from its own file; this page names the file for each one.
How do I add prism-mcp to Claude Code?
Run these in order, one at a time. 1. In Claude Code: /plugin marketplace add dcostenco/prism-coder 2. In Claude Code: /plugin install prism-coder@prism
Is prism-mcp safe to install?
Low risk. Signals from public registries, not an audit.