About ALLFLYGHTS
ALLFLYGHTS is a TypeScript MCP server for accessing the AllFlyghts public API. It lets travel clients search locations and flights and retrieve city information, while keeping the API key on the server side.
Key features
- 01Location search
- 02City information lookup
- 03Flight search
- 04Stdio and HTTP transports
- 05Hosted or locally run server
Use cases
- 01Search flights between locations
- 02Find and inspect city records
- 03Connect an MCP client to AllFlyghts data
MCP support
The server exposes AllFlyghts location, city, and flight-search functions as MCP tools. Clients can connect to the hosted endpoint or run the server locally.
Configuration
Remote servers need no local install. Pick your client, then copy the config or install in one click.
https://mcp.allflyghts.com/mcpclaude mcp add --transport http dev-allflyghts https://mcp.allflyghts.com/mcp{"mcpServers":{"dev-allflyghts":{"type":"http","url":"https://mcp.allflyghts.com/mcp"}}}Open in Cursor{"servers":{"dev-allflyghts":{"type":"http","url":"https://mcp.allflyghts.com/mcp"}}}Open in VS Code{"mcpServers":{"dev-allflyghts":{"type":"http","url":"https://mcp.allflyghts.com/mcp"}}}{"mcpServers":{"dev-allflyghts":{"serverUrl":"https://mcp.allflyghts.com/mcp"}}}Run commands in a terminal; paste JSON into the client’s MCP config and restart. Servers that need sign-in will prompt on first connect.
https://mcp.allflyghts.com/mcpAuth requiredTools
Details
From the project READMEAllFlyghts MCP Server
TypeScript MCP server for the AllFlyghts public API.
This repository is a standalone Node.js project. It exposes AllFlyghts data through MCP tools while keeping the public API key on the server side.
Using AllFlyghts via the hosted MCP server
Most users don't need to install or run this code. AllFlyghts runs a managed MCP server.
Visit for more info: https://www.allflyghts.com/developers/mcp Full docs: https://www.allflyghts.com/mcp
To use it, configure your MCP client (Claude Desktop, Cursor, etc.) to
connect to this endpoint with your AllFlyghts API token in the Authorization
header:
Authorization: Bearer <your-token>
Get your token at https://www.allflyghts.com/access/sign-in
This repository contains the source code of that hosted server, made public for transparency. You can also run it locally if you want — instructions below.
Tools
search_locationsget_citysearch_flights
Requirements
- Node.js 20+
- An AllFlyghts public API base URL
- An AllFlyghts public API key, provided either directly by environment variable or through Azure Key Vault
Environment
Required:
ALLFLYGHTS_PUBLIC_API_BASE_URL
Choose one API key source:
ALLFLYGHTS_PUBLIC_API_KEYPUBLIC_API_KEY_VAULT_URLtogether withMCP_PUBLIC_API_KEY_SECRET_NAME
Optional:
MCP_AUTH_TOKENMCP_AUTH_TOKEN_SECRET_NAMEMCP_SERVER_NAMEMCP_SERVER_VERSIONMCP_TRANSPORTPORTMCP_ALLOWED_ORIGINS
If MCP_AUTH_TOKEN or MCP_AUTH_TOKEN_SECRET_NAME is configured for HTTP mode, callers must send:
Authorization: Bearer <token>
Install
npm install
Run
Stdio mode:
npm run dev:stdio
HTTP mode:
npm run dev:http
Production builds:
npm run build
Then start either transport from dist/:
npm run start:stdio
npm run start:http
Notes
- Streamable HTTP creates a fresh MCP server and transport per request.
- Secrets are resolved from Azure Key Vault when configured, with direct environment variables as a fallback.
- Do not commit real API keys, auth tokens, or other secrets to this repository.
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.