Skip to main content

Flight Queue in Cursor

In Cursor the job is building, not asking. Install the MCP server so the agent can look up real airport codes and response shapes, then use the REST API and its OpenAPI spec for the code it writes.

View this page as Markdown

What you can ask Cursor to do

Ask forTool
Resolve a city or name to the IATA code your code needs.search_airports
See the real shape of an airport record before you type it.get_airport_overview
Pull a monthly wait report to use as test data.get_security_wait_report

Example prompts

Prompt
Look up the IATA codes for Denver and Dallas, then write a TypeScript function that fetches FAA delays for both from the Flight Queue API.
Prompt
Using the Flight Queue OpenAPI spec, generate a typed client for the airport delays endpoint.
Prompt
Call get_airport_overview for SEA and show me the fields it returns.

Connect Flight Queue to Cursor

The server URL is https://mcp.flightqueue.com/mcp. Sign-in is required, and a free Flight Queue account is enough.

  1. Install

    Open this link to install in Cursor and click Install. Or add the JSON to ~/.cursor/mcp.json, or .cursor/mcp.json in a project.

    mcp.json
    {
      "mcpServers": {
        "flightqueue": {
          "url": "https://mcp.flightqueue.com/mcp"
        }
      }
    }
  2. Log in

    Click Needs login next to flightqueue and sign in to Flight Queue in your browser.

Use the REST API with Cursor

Anything Cursor writes or runs can call the REST API. Register a free agent key, then send it as a Bearer token. The spec is at https://flightqueue.com/openapi.json, and the REST API docs list every endpoint.

bash
curl https://flightqueue.com/api/v1/airports/JFK/delays \
  -H "Authorization: Bearer $FLIGHTQUEUE_API_KEY"

Plans and limits

A free account can call the 29 free tools, up to 100 calls a day. get_live_wait_time, get_wait_time_predictions, get_historical_wait_times need a paid plan. See plans and limits and pricing.

More