Skip to content
VS Code

rihla for VS Code

io.github.leojg/rihla

Flexible multi-leg, multi-airport flight search - cheapest valid combination across an itinerary.

client:VS Code transport:stdio runtime:pypi

Install rihla in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "travelpayouts-token",
      "description": "TRAVELPAYOUTS_TOKEN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "serpapi-key",
      "description": "SERPAPI_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "rihla-profile",
      "description": "RIHLA_PROFILE",
      "password": true
    }
  ],
  "servers": {
    "rihla": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "rihla-mcp"
      ],
      "env": {
        "TRAVELPAYOUTS_TOKEN": "${input:travelpayouts-token}",
        "SERPAPI_KEY": "${input:serpapi-key}",
        "RIHLA_PROFILE": "${input:rihla-profile}"
      }
    }
  }
}

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

rihla in other clients