Skip to content
VS Code

variflight mcp for VS Code

io.github.variflight/variflight-mcp

VariFlight's official MCP server provides tools to query flight, weather, comfort, and fare data.

client:VS Code transport:stdio runtime:npm

Install variflight mcp in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "variflight-api-key",
      "description": "VARIFLIGHT_API_KEY",
      "password": true
    }
  ],
  "servers": {
    "variflight-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@variflight-ai/variflight-mcp"
      ],
      "env": {
        "VARIFLIGHT_API_KEY": "${input:variflight-api-key}"
      }
    }
  }
}

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

variflight mcp in other clients