{
  "$schema": "https://mcpkg.dev/schemas/install-manifest/v1.json",
  "name": "io.github.Christopher-AS/riv-mcp",
  "slug": "io.github.christopher-as.riv-mcp",
  "title": "riv-mcp",
  "summary": "Riv MCP: spend authorization and governed trading (place_order, positions, market data, policies).",
  "version": "0.4.1",
  "serverKey": "riv-mcp",
  "pageUrl": "https://mcpkglabs.com/tool/io.github.christopher-as.riv-mcp",
  "installMdUrl": "https://mcpkglabs.com/tool/io.github.christopher-as.riv-mcp/install.md",
  "trust": {
    "score": 86,
    "grade": "A",
    "smokeStatus": "works",
    "status": "active",
    "verifiedAt": "2026-12-02T07:59:23.561470492Z"
  },
  "methods": [
    {
      "id": "npm",
      "label": "npm (npx)",
      "transport": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "--package=@riv-io/mcp@0.4.1",
        "riv-mcp"
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add riv-mcp -e 'RIV_API_KEY=<RIV_API_KEY>' -- npx -y --package=@riv-io/mcp@0.4.1 riv-mcp"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "claude_desktop_config.json",
          "content": "{\n  \"mcpServers\": {\n    \"riv-mcp\": {\n      \"args\": [\n        \"-y\",\n        \"--package=@riv-io/mcp@0.4.1\",\n        \"riv-mcp\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"RIV_API_KEY\": \"<RIV_API_KEY>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"riv-mcp\": {\n      \"args\": [\n        \"-y\",\n        \"--package=@riv-io/mcp@0.4.1\",\n        \"riv-mcp\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"RIV_API_KEY\": \"<RIV_API_KEY>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"inputs\": [\n    {\n      \"description\": \"RIV_API_KEY\",\n      \"id\": \"riv-api-key\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    }\n  ],\n  \"servers\": {\n    \"riv-mcp\": {\n      \"args\": [\n        \"-y\",\n        \"--package=@riv-io/mcp@0.4.1\",\n        \"riv-mcp\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"RIV_API_KEY\": \"${input:riv-api-key}\"\n      },\n      \"type\": \"stdio\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.riv-mcp]\ncommand = \"npx\"\nargs = [\"-y\", \"--package=@riv-io/mcp@0.4.1\", \"riv-mcp\"]\nenv = { \"RIV_API_KEY\" = \"<RIV_API_KEY>\" }"
        }
      ],
      "requires": [
        "Node.js 18+"
      ]
    }
  ],
  "env": [
    {
      "name": "RIV_API_KEY",
      "required": true,
      "secret": true,
      "description": "The riv_ credential issued when you connect the agent in the Riv dashboard.",
      "help": "The riv_ credential issued when you connect the agent in the Riv dashboard.",
      "placeholder": "<RIV_API_KEY>"
    },
    {
      "name": "RIV_API_URL",
      "required": false,
      "secret": false,
      "description": "Riv API base URL. Defaults to http://localhost:3000; use https://riventa.dev for live agents.",
      "help": "Riv API base URL. Defaults to http://localhost:3000; use https://riventa.dev for live agents.",
      "default": "http://localhost:3000",
      "placeholder": "http://localhost:3000"
    }
  ],
  "expectedTools": [
    "authorize",
    "get_activity",
    "place_order",
    "get_positions",
    "get_account_state",
    "get_market_data",
    "cancel_order",
    "close_position",
    "list_trading_policies"
  ],
  "agentSteps": [
    "Ask the user for: RIV_API_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: authorize, get_activity, place_order, get_positions, get_account_state, get_market_data, cancel_order, close_position, ….",
    "If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set."
  ],
  "generatedAt": "2026-12-02T07:59:23.561470492Z"
}
