Skip to content
VS Code

Roster for VS Code

io.github.myroster-ai/roster

One self-hosted MCP server for many named accounts per app, with approval before every write.

client:VS Code transport:stdio runtime:oci

Install Roster in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "database-url",
      "description": "DATABASE_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "roster-refresher-database-url",
      "description": "ROSTER_REFRESHER_DATABASE_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "roster-master-key",
      "description": "ROSTER_MASTER_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "roster-tokens",
      "description": "ROSTER_TOKENS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "roster-token",
      "description": "ROSTER_TOKEN",
      "password": true
    }
  ],
  "servers": {
    "roster": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/myroster-ai/roster:0.2.1"
      ],
      "env": {
        "DATABASE_URL": "${input:database-url}",
        "ROSTER_REFRESHER_DATABASE_URL": "${input:roster-refresher-database-url}",
        "ROSTER_MASTER_KEY": "${input:roster-master-key}",
        "ROSTER_TOKENS": "${input:roster-tokens}",
        "ROSTER_TOKEN": "${input:roster-token}"
      }
    }
  }
}

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

Roster in other clients