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 分