
Prism — Crossdeck
com.cross-deck由 cross-deck.com 发布官方发布者v0.4.0更新于 Nov 22, 2026
Ask your app anything — revenue, errors, read-cost, growth — and get rendered charts back.
概览
Prism 是 Crossdeck 的只读智能层,让助手用自然语言回答应用收入、错误、分析与数据库读取成本的问题,并返回渲染好的图表。
- 可以做什么
- 列出项目、查看覆盖情况并切换当前应用
- 报告 MRR、付费客户数、各支付渠道收入拆分与数据库读取成本
- 分析错误影响范围,以及受影响的具名付费用户及其风险收入
- 查看单个客户在付费、权益与读取成本上的跨层情况
- 读取指定域名的页面浏览量、独立访客、热门页面与来源
- 在支持 MCP Apps 的客户端中渲染增长折线图与客户仪表盘
- 适用场景
- 当应用数据已接入 Crossdeck,并希望助手直接回答跨层问题(例如某次崩溃影响了哪些付费客户、收入与数据库读取成本走势)而无需手写查询时适用。
- 运行要求
- 可使用托管远程端点,通过 OAuth 登录 Crossdeck 账号并选择项目;或在本地用 npx 运行 npm 包,需要 Node.js,并设置环境变量 CROSSDECK_SECRET_KEY 为仪表盘中的密钥。CROSSDECK_API_BASE 可覆盖接口地址。按域名分析需该域名为已验证来源。
安装
在 SourceWeft 中
- 打开 控制台中的 Prism — Crossdeck,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。
交给智能体安装
把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。
阅读 https://sourceweft.com/mcp/com.cross-deck%2Fprism/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。其他 MCP 客户端
把它添加到你客户端的 mcpServers 配置中。
{
"mcpServers": {
"prism-crossdeck": {
"type": "http",
"url": "https://api.cross-deck.com/mcp"
}
}
}README
Prism — Crossdeck's intelligence layer for AI
Ask your app anything — revenue, errors, database read-cost, growth — in plain English, and get rendered charts and dashboards back.
[npm version] [License: MIT] [MCP] [OAuth 2.1] [Read-only]
"Which paying customer did this crash hit, and how much revenue is at risk?" — one question, answered across error, identity, and revenue. No single-layer tool can do that.
Why Prism is different
Most MCP servers are a connector to one system. Prism is an intelligence layer over your whole app — because Crossdeck already joins the layers about your users (identity · revenue · entitlements · errors · analytics · database read-cost) into one source of truth, by identity.
The point isn't "let AI read my data." It's the crossing: one question can span layers no other tool joins —
"This error
a1b2c3— who did it hit, and how many of them pay us?" → the named paying users behind the crash, each with their monthly revenue at risk, sorted by what's on the line.
That's the moat sentence. Prism gives it a voice in Claude, ChatGPT, Cursor, or any MCP client.
Permissions & data access
Secure, read-only access to your live Crossdeck workspace. Prism reads; it never writes.
Prism can see (the layers Crossdeck already owns about your app):
| 💷 Revenue | MRR, paying-customer counts, per-rail split |
| 🐛 Errors | issues, blast radius, who was affected |
| 📈 Analytics | per-host page views, unique visitors, top pages/referrers |
| 🗄️ Read-cost | per-user-vs-overhead database reads, by operation |
| 🧭 Customer journeys | the cross-layer view of one customer (pay × entitlements × cost) |
Row-level customer identity is returned only when your connection was explicitly granted that scope — otherwise Prism answers from aggregates and tells you so. That boundary is enforced by Crossdeck, not left to the model.
Prism cannot create, modify, delete, or configure anything in your projects. There is no write path — every tool is read-only (readOnlyHint: true). Ask it to change something and it will tell you it can't.
Data is fetched live at question time over an OAuth-protected endpoint; the connector stores nothing.
Connect in 60 seconds
Remote (recommended) — one-click OAuth, no keys to paste
Prism is a hosted, OAuth-protected MCP endpoint:
https://api.cross-deck.com/mcp
Add it as a connector in your client, sign in with your Crossdeck account, pick a project, and approve. That's it — the client receives a short-lived, scoped workspace credential automatically.
- Claude (web / desktop): Settings → Connectors → Add custom connector → paste the URL above.
- ChatGPT: Settings → Connectors → Add → paste the URL.
- Cursor: Settings → MCP → Add → paste the URL.
Or open your dashboard at app.cross-deck.com → Developers → Prism → Connect AI for one-click "Add to Claude / ChatGPT / Cursor".
Local (Claude Desktop / Cursor / Claude Code) — stdio + a secret key
No install step — npx fetches the package and its dependencies on each launch, so it
self-heals and stays current (nothing local to go stale):
{
"mcpServers": {
"crossdeck": {
"command": "npx",
"args": ["-y", "@cross-deck/ai"],
"env": { "CROSSDECK_SECRET_KEY": "cd_sk_live_…" }
}
}
}
Use a secret key (cd_sk_) from your dashboard → API keys — never a publishable (cd_pub_) one. CROSSDECK_API_BASE overrides the endpoint (e.g. sandbox).
If the connector shows "failed" / "Server disconnected" — two known causes, both fixable:
spawn npx ENOENT/ command not found. Desktop clients launch with a minimal PATH that often excludes your Node bin (common withnvm). Fix: use the absolute path tonpxascommand— runwhich npxand paste the full path (e.g./Users/you/.nvm/versions/node/vX/bin/npx).ERR_MODULE_NOT_FOUND … @modelcontextprotocol/sdk. This only happens ifargspoints at a hand-built local checkout (…/dist/server.js) — that folder'snode_modulescan be cleaned out from under you (e.g. anything under/tmp). Fix: never point at a local build. Letnpx -y @cross-deck/ai(above) resolve the published package, so its dependencies are always present.Simplest of all: use the remote connector at the top of this section — it runs no local Node at all, so neither failure can occur.
Try these first
| Ask | Tool | You get |
|---|---|---|
| "What's our MRR and paying-customer count, split by Stripe/Apple/Google?" | get_revenue | MRR, paying count, three-rail split, optional daily trend |
"This error a1b2c3 — who did it hit and do any of them pay us?" | get_error_affected_users | The named paying users behind the crash, each with monthly revenue at risk |
"Show me everything about customer agent_8842." | open_moat_dashboard | A rendered dashboard: what they pay × entitlements × read-cost, joined by identity |
| "Draw our user growth over the last 30 days." | draw_user_growth | A rendered interactive line chart of visitors + page views |
| "What's driving our database reads — per-user vs overhead?" | get_read_cost | The per-user-vs-overhead split + reads by operation |
Data tools return clean JSON; draw_user_growth and open_moat_dashboard render interactive charts/dashboards inline in hosts that support MCP Apps (and fall back to a text summary elsewhere).
Tools
Thirteen tools — all read-only (readOnlyHint), each with a human-readable title, scoped/paginated output, and actionable errors. Every read is a point-read of a maintained ledger, so asking questions never runs up your database bill.
Every number is self-describing: values come back with a meta.semantics briefing and a coverage state, so a metric is reported as exactly what it is, and a blind spot (not_instrumented) is never mistaken for a real zero.
Portfolio
list_projects— list every app this connector can read (your portfolio).get_portfolio— the coverage map: for each app, which surfaces are instrumented vs a blind spot. Load it first so a later blank reads as a known blind spot, not a fact.use_project— set the current app for subsequent tools ("switch to ").
Revenue & cost
get_revenue— MRR, paying-customer count, per-rail split (Stripe/Apple/Google), optional daily trend.get_customers— the customer census: the paying-customer count (plus total / active where instrumented). The canonical "how many customers does this app have" answer.get_read_cost— database read-cost split into per-user reads vs un-attributed overhead, by operation.
The moat — error × identity × revenue
get_error_impact— for one error: how many distinct users hit it, and how many are paying (counts).get_error_affected_users— the named paying users an error hit, each with monthly revenue and last-hit, sorted by revenue at risk. Returns your own identifiers only — never emails/names you didn't provide.get_customer— one customer across every layer Crossdeck joins by identity: what they pay × active entitlements × read-cost.
Analytics
get_host_analytics— page views + unique visitors for a host/subdomain you own (optional daily series).get_host_top_pages— top pages or referrers for a host you own.
Rendered UI (MCP Apps)
draw_user_growth— an interactive line chart of visitors + page views over time.open_moat_dashboard— a customer's cross-layer dashboard (pay × entitlements × read-cost) rendered as cards.
Security
Prism is built on Crossdeck's bank-grade outbound-read spine. See SECURITY.md for the full model. In short:
- OAuth 2.1 + PKCE (S256), dynamic client registration, short-lived (1h) workspace credentials with refresh-token rotation and reuse detection. No long-lived secret leaves your dashboard.
- Read-only. Every tool is
readOnlyHint: true— no writes, no config mutations. - Scoped & fail-closed. A token resolves to one owner and their own projects; a missing/invalid token returns an actionable 401, never silent data.
- Your data only. Prism reads your own project's data, scoped by your token. It does not read your conversation history or local files, and returns your own identifiers — never PII you didn't provide.
Known limitations
- Read-only in v1 — writes/config are a later, separately-gated stage.
- Per-host analytics require the host to be a verified origin of your project.
- Rendered charts require an MCP-Apps-capable host; others get a text summary.
- Reporting reflects data from when Crossdeck was connected (historical backfill is separate).
Links
- npm: https://www.npmjs.com/package/@cross-deck/ai
- API reference: https://cross-deck.com/docs/reporting-api/
- Security spine: https://cross-deck.com/docs/outbound-api-security/
- Privacy: https://cross-deck.com/legal/privacy/
- Support: [email protected]
License
MIT © Crossdeck
来源:README.md,提交 6b8f07b
工具
0版本历史
1- v0.4.0最新Sep 16, 2026
评分
已满足适用检查项的 85%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通必需25 分
- 已声明认证方式必需10 分
- 已列出工具必需15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分