Skip to content
VS Code

alphaportal mcp for VS Code

io.github.chrischall/alphaportal-mcp

AlphaPortal school-bus transportation for Claude — students, stops, live bus location, notifications

client:VS Code transport:stdio runtime:npm

Install alphaportal mcp in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "alphaportal-refresh-token",
      "description": "ALPHAPORTAL_REFRESH_TOKEN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "alphaportal-disable-fetchproxy",
      "description": "ALPHAPORTAL_DISABLE_FETCHPROXY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "alphaportal-session-file",
      "description": "ALPHAPORTAL_SESSION_FILE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "fetchproxy-ws-port",
      "description": "FETCHPROXY_WS_PORT",
      "password": true
    },
    {
      "type": "promptString",
      "id": "fetchproxy-ws-host",
      "description": "FETCHPROXY_WS_HOST",
      "password": true
    },
    {
      "type": "promptString",
      "id": "fetchproxy-identity-dir",
      "description": "FETCHPROXY_IDENTITY_DIR",
      "password": true
    }
  ],
  "servers": {
    "alphaportal-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "alphaportal-mcp"
      ],
      "env": {
        "ALPHAPORTAL_REFRESH_TOKEN": "${input:alphaportal-refresh-token}",
        "ALPHAPORTAL_DISABLE_FETCHPROXY": "${input:alphaportal-disable-fetchproxy}",
        "ALPHAPORTAL_SESSION_FILE": "${input:alphaportal-session-file}",
        "FETCHPROXY_WS_PORT": "${input:fetchproxy-ws-port}",
        "FETCHPROXY_WS_HOST": "${input:fetchproxy-ws-host}",
        "FETCHPROXY_IDENTITY_DIR": "${input:fetchproxy-identity-dir}"
      }
    }
  }
}

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

alphaportal mcp in other clients