Skip to content
VS Code

DSBmobile for VS Code

io.github.udondan/dsbmobile

Unofficial DSBmobile server: substitution plans, timetables, news and documents of a school

client:VS Code transport:stdio runtime:npm

Install DSBmobile in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "dsb-username",
      "description": "DSB_USERNAME",
      "password": true
    },
    {
      "type": "promptString",
      "id": "dsb-password",
      "description": "DSB_PASSWORD",
      "password": true
    },
    {
      "type": "promptString",
      "id": "dsb-class",
      "description": "DSB_CLASS",
      "password": true
    }
  ],
  "servers": {
    "dsbmobile": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@udondan/dsbmobile"
      ],
      "env": {
        "DSB_USERNAME": "${input:dsb-username}",
        "DSB_PASSWORD": "${input:dsb-password}",
        "DSB_CLASS": "${input:dsb-class}"
      }
    }
  }
}

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

DSBmobile in other clients