Skip to content
VS Code

AENA Flights MCP for VS Code

io.github.mrgo2/aena-mcp

Flight data for Spain's 50 AENA airports over the public and OAuth2 REST APIs

client:VS Code transport:stdio runtime:npm

Install AENA Flights MCP in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "aena-client-secret",
      "description": "AENA_CLIENT_SECRET",
      "password": true
    },
    {
      "type": "promptString",
      "id": "aena-client-id",
      "description": "AENA_CLIENT_ID",
      "password": true
    },
    {
      "type": "promptString",
      "id": "aena-tenant-id",
      "description": "AENA_TENANT_ID",
      "password": true
    }
  ],
  "servers": {
    "aena-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "mcp-aena"
      ],
      "env": {
        "AENA_CLIENT_SECRET": "${input:aena-client-secret}",
        "AENA_CLIENT_ID": "${input:aena-client-id}",
        "AENA_TENANT_ID": "${input:aena-tenant-id}"
      }
    }
  }
}

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

AENA Flights MCP in other clients