{
  "$schema": "https://mcpkg.dev/schemas/install-manifest/v1.json",
  "name": "io.github.arhancanli/canli-paper-trading-mcp",
  "slug": "canli-paper-trading-mcp",
  "title": "Canli Paper Trading",
  "summary": "Agent trading on your Alpaca paper account behind pre-trade checks and confirmation tokens.",
  "version": "0.3.1",
  "serverKey": "canli-paper-trading-mcp",
  "pageUrl": "https://mcpkglabs.com/tool/canli-paper-trading-mcp",
  "installMdUrl": "https://mcpkglabs.com/tool/canli-paper-trading-mcp/install.md",
  "trust": {
    "score": 91,
    "grade": "A",
    "smokeStatus": "works",
    "status": "active",
    "verifiedAt": "2026-12-01T12:53:01.805347673Z"
  },
  "methods": [
    {
      "id": "npm",
      "label": "npm (npx)",
      "transport": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "canli-paper-trading-mcp@0.3.1"
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add canli-paper-trading-mcp -e 'ALPACA_PAPER_KEY_ID=<ALPACA_PAPER_KEY_ID>' -e 'ALPACA_PAPER_SECRET_KEY=<ALPACA_PAPER_SECRET_KEY>' -- npx -y canli-paper-trading-mcp@0.3.1"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "claude_desktop_config.json",
          "content": "{\n  \"mcpServers\": {\n    \"canli-paper-trading-mcp\": {\n      \"args\": [\n        \"-y\",\n        \"canli-paper-trading-mcp@0.3.1\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"ALPACA_PAPER_KEY_ID\": \"<ALPACA_PAPER_KEY_ID>\",\n        \"ALPACA_PAPER_SECRET_KEY\": \"<ALPACA_PAPER_SECRET_KEY>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"canli-paper-trading-mcp\": {\n      \"args\": [\n        \"-y\",\n        \"canli-paper-trading-mcp@0.3.1\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"ALPACA_PAPER_KEY_ID\": \"<ALPACA_PAPER_KEY_ID>\",\n        \"ALPACA_PAPER_SECRET_KEY\": \"<ALPACA_PAPER_SECRET_KEY>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"inputs\": [\n    {\n      \"description\": \"ALPACA_PAPER_KEY_ID\",\n      \"id\": \"alpaca-paper-key-id\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    },\n    {\n      \"description\": \"ALPACA_PAPER_SECRET_KEY\",\n      \"id\": \"alpaca-paper-secret-key\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    }\n  ],\n  \"servers\": {\n    \"canli-paper-trading-mcp\": {\n      \"args\": [\n        \"-y\",\n        \"canli-paper-trading-mcp@0.3.1\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"ALPACA_PAPER_KEY_ID\": \"${input:alpaca-paper-key-id}\",\n        \"ALPACA_PAPER_SECRET_KEY\": \"${input:alpaca-paper-secret-key}\"\n      },\n      \"type\": \"stdio\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.canli-paper-trading-mcp]\ncommand = \"npx\"\nargs = [\"-y\", \"canli-paper-trading-mcp@0.3.1\"]\nenv = { \"ALPACA_PAPER_KEY_ID\" = \"<ALPACA_PAPER_KEY_ID>\", \"ALPACA_PAPER_SECRET_KEY\" = \"<ALPACA_PAPER_SECRET_KEY>\" }"
        }
      ],
      "requires": [
        "Node.js 18+"
      ]
    }
  ],
  "env": [
    {
      "name": "ALPACA_PAPER_KEY_ID",
      "required": true,
      "secret": true,
      "description": "Your Alpaca paper API key id (starts with PK).",
      "help": "Your Alpaca paper API key id (starts with PK).",
      "placeholder": "<ALPACA_PAPER_KEY_ID>"
    },
    {
      "name": "ALPACA_PAPER_SECRET_KEY",
      "required": true,
      "secret": true,
      "description": "Your Alpaca paper API secret key.",
      "help": "Your Alpaca paper API secret key.",
      "placeholder": "<ALPACA_PAPER_SECRET_KEY>"
    },
    {
      "name": "CANLI_HOME",
      "required": false,
      "secret": false,
      "description": "Directory with limits.json, KILL and the order log; default ~/.canli.",
      "help": "Directory with limits.json, KILL and the order log; default ~/.canli.",
      "placeholder": "<CANLI_HOME>"
    }
  ],
  "expectedTools": [
    "paper_account",
    "preview_paper_orders",
    "rebalance_to_weights",
    "verify_attestation",
    "send_paper_orders"
  ],
  "agentSteps": [
    "Ask the user for: ALPACA_PAPER_KEY_ID, ALPACA_PAPER_SECRET_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.",
    "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).",
    "Restart or reload the client so it starts the server.",
    "Verify: the server should expose these tools: paper_account, preview_paper_orders, rebalance_to_weights, verify_attestation, send_paper_orders.",
    "If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set."
  ],
  "generatedAt": "2026-12-01T12:53:01.805347673Z"
}
