Skip to content
VS Code

MOTIS explorer for VS Code

org.litote/motis-mcp-app

MCP App for the public transport of any MOTIS server (Transitous by default): journeys, boards, maps

client:VS Code transport:stdio runtime:oci

Install MOTIS explorer in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "motis-app-contact",
      "description": "MOTIS_APP_CONTACT",
      "password": true
    },
    {
      "type": "promptString",
      "id": "motis-base-url",
      "description": "MOTIS_BASE_URL",
      "password": true
    }
  ],
  "servers": {
    "motis-mcp-app": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/litote/motis-mcp-app:0.2.0"
      ],
      "env": {
        "MOTIS_APP_CONTACT": "${input:motis-app-contact}",
        "MOTIS_BASE_URL": "${input:motis-base-url}"
      }
    }
  }
}

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

MOTIS explorer in other clients