Skip to content
VS Code

openrouter admin for VS Code

io.github.oviron/openrouter-admin

MCP server for OpenRouter management API: credits, key CRUD, activity drill-down, dashboard.

client:VS Code transport:stdio runtime:npm

Install openrouter admin in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "openrouter-provisioning-key",
      "description": "OPENROUTER_PROVISIONING_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "openrouter-admin-allow-write",
      "description": "OPENROUTER_ADMIN_ALLOW_WRITE",
      "password": true
    }
  ],
  "servers": {
    "openrouter-admin": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "openrouter-admin-mcp"
      ],
      "env": {
        "OPENROUTER_PROVISIONING_KEY": "${input:openrouter-provisioning-key}",
        "OPENROUTER_ADMIN_ALLOW_WRITE": "${input:openrouter-admin-allow-write}"
      }
    }
  }
}

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

openrouter admin in other clients