Prism

io.github.Shailesh200由 GitHub 帳號 Shailesh200 發布v1.1.1更新於 Nov 3, 2026

Local-first repo intelligence for agents: DNA, health, blast radius, and Dispatch jobs.

已驗證STDIO僅桌面知識與記憶開發者工具

概覽

AI 產生的概覽

面向編碼代理的本地優先儲存庫智慧工具:儲存庫概覽、變更準備、影響範圍、測試影響與審查回執。

可以做什麼
  • 檢視儲存庫概覽,了解結構與慣例
  • 為某項任務準備變更,找出相關檔案、測試與可重用的輔助程式碼
  • 分析影響範圍:哪些程式碼依賴某個檔案或符號,哪些測試會涵蓋它
  • 透過程式碼圖定位符號及其呼叫端
  • 以 Dev、Architect、QA 視角審查變更,並管理已儲存的例行流程與停止回執
適用情境
適合編碼代理在不熟悉或較大的儲存庫中修改程式碼時使用,協助它先找到正確的檔案、發現遺漏的呼叫端,並對變更給出可否發布的結論。
執行需求
以 stdio 在本機執行,通常透過 npx 使用已發布的 npm 套件;文件另說明可全域安裝 CLI 並在儲存庫內執行安裝步驟。首次執行會在使用者主目錄下建立索引。不需帳號。
安裝前請注意
選用的 CURSOR_API_KEY 密鑰可用來啟動本機 Cursor SDK 工作程序,README 建議日常使用不要把它寫進 MCP 用戶端設定。伺服器會在本機讀取並索引儲存庫,並將索引與安裝紀錄寫入主目錄;每日一次的 npm 更新檢查可用 PRISM_SKIP_SELF_UPDATE 關閉。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Prism,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

[Prism: your agent’s second pair of eyes. Know before you ship.]

Prism

[Website] [npm @prismapp/cli] [License: MIT]

Your agent's second pair of eyes. Know before you ship.

Local software intelligence that catches what the agent missed. Prism gives your coding agent the right files before it edits, then flags the code it skipped and the code no test covers. Free, MIT, and it runs on your machine: no account, and your code never leaves it.

Website: prismhq.in · Docs: prismhq.in/docs · Contact: [email protected]


Get started

bash
npm install -g @prismapp/cli && prism install all

Run the second command inside your repository. prism install all connects every agent it finds. Quit the agent and open it again. The first use builds the index under ~/.prism/. One agent only: pass its name to prism install. The install records what it wrote in ~/.prism/install.json, and prism uninstall removes exactly that. A new version is npm install -g @prismapp/cli then prism upgrade. Memories, receipts, and habits stay.

Wiring another MCP host by hand? Use this server entry:

json
{ "mcpServers": { "prism": { "command": "npx", "args": ["-y", "@prismapp/mcp-server"], "env": { "PRISM_EXTRA_TOOLS": "receipt" } } } }

Then ask your agent in plain language, for example "what breaks if I change src/index.ts?" or "review my changes". You never type tool names.

What it does

  • Prepare, before the agent edits. The files and tests that matter for the task, and the helpers to reuse instead of rewriting.
  • Match the code, during the edit. Prism points at a file from your repo to copy, so the new code looks like the rest.
  • Lens review, after. Dev, Architect and QA lenses flag the callers the change left behind and the code no test covers. Add your own with prism lens.
  • The receipt, when the agent stops. Prism runs the checks the change reaches and gives one verdict: SHIP, NOT PROVEN (with the cheapest check to prove it) or NO-SHIP.

Nine default MCP tools; more are opt-in through extraTools in ~/.prism/config.json. Full list: MCP tools.

You sayThe agent calls
"What is this repo?"repository_overview
"I want to change X"prepare_change
"What breaks if I edit this file?"blast_radius, test_impact
"Where is this symbol, who uses it?"graph
"Review my changes"guard_session (review: true)
"Start my day" (a saved routine)habits
"Did I break anything?"the stop receipt, run by the hook

CLI

Every command answers from the same local index. Highlights:

CommandWhat it answers
prism prepare <task>The files to open and the helpers to reuse
prism review [paths] --lens qaA lens review of a change
prism blast <target>What depends on a file or symbol
prism test-impact <target>Which tests reach a file
prism receiptsThe last stop receipts
prism lens, prism habitYour review lenses and saved routines
prism doctorWhat is wired, and whether it works

Full list: CLI reference.

Privacy

Analysis makes no network requests; a trap test suite fails the build if one appears. The only request Prism makes is a once-a-day update check against the npm registry, which never relaunches anything and is off with PRISM_SKIP_SELF_UPDATE=1. → PRIVACY.md · SECURITY.md

Build from source

bash
git clone https://github.com/Shailesh200/prismcd prismnvm use          # the version in .nvmrcbun installbun run buildbun run verify:milestone

See CONTRIBUTING.md and the changelog.

License

MIT

來源:README.md,提交 9f67df5

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v1.1.1最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分