Prism — Crossdeck

v0.4.0
com.cross-deck/prism Checked 1 hour ago Published 3 months ago

Ask your app anything — revenue, errors, read-cost, growth — and get rendered charts back.

Values you need

VariableWhat it is
CROSSDECK_SECRET_KEYrequired secret Your Crossdeck secret key (cd_sk_…) from the dashboard → API keys. Server-side only; never a publishable key.
CROSSDECK_API_BASEoptional Override the API base URL (e.g. for sandbox). Optional.

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add prism -e 'CROSSDECK_SECRET_KEY=<CROSSDECK_SECRET_KEY>' -- npx -y --package=@cross-deck/ai@0.4.0 crossdeck-ai
Add to claude_desktop_config.json
{
  "mcpServers": {
    "prism": {
      "args": [
        "-y",
        "--package=@cross-deck/ai@0.4.0",
        "crossdeck-ai"
      ],
      "command": "npx",
      "env": {
        "CROSSDECK_SECRET_KEY": "<CROSSDECK_SECRET_KEY>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "prism": {
      "args": [
        "-y",
        "--package=@cross-deck/ai@0.4.0",
        "crossdeck-ai"
      ],
      "command": "npx",
      "env": {
        "CROSSDECK_SECRET_KEY": "<CROSSDECK_SECRET_KEY>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "CROSSDECK_SECRET_KEY",
      "id": "crossdeck-secret-key",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "prism": {
      "args": [
        "-y",
        "--package=@cross-deck/ai@0.4.0",
        "crossdeck-ai"
      ],
      "command": "npx",
      "env": {
        "CROSSDECK_SECRET_KEY": "${input:crossdeck-secret-key}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.prism]
command = "npx"
args = ["-y", "--package=@cross-deck/ai@0.4.0", "crossdeck-ai"]
env = { "CROSSDECK_SECRET_KEY" = "<CROSSDECK_SECRET_KEY>" }

Remote (hosted)

Run in a terminal
claude mcp add --transport http prism https://api.cross-deck.com/mcp
Add to Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote)
{
  "mcpServers": {
    "prism": {
      "args": [
        "-y",
        "mcp-remote",
        "https://api.cross-deck.com/mcp"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "prism": {
      "url": "https://api.cross-deck.com/mcp"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "prism": {
      "type": "http",
      "url": "https://api.cross-deck.com/mcp"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.prism]
command = "npx"
args = ["-y", "mcp-remote", "https://api.cross-deck.com/mcp"]

For AI agents

  1. Ask the user for: CROSSDECK_SECRET_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: list_projects, get_portfolio, use_project, get_revenue, get_customers, get_read_cost, get_error_impact, get_error_affected_users, ….
  5. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json