Skip to content
VS Code

riv mcp for VS Code

io.github.christopher-as/riv-mcp

Riv MCP: spend authorization and governed trading (place_order, positions, market data, policies).

client:VS Code transport:stdio runtime:npm

Install riv mcp in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "riv-api-key",
      "description": "RIV_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "riv-api-url",
      "description": "RIV_API_URL",
      "password": true
    }
  ],
  "servers": {
    "riv-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@riv-io/mcp"
      ],
      "env": {
        "RIV_API_KEY": "${input:riv-api-key}",
        "RIV_API_URL": "${input:riv-api-url}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

riv mcp in other clients