streamable-httpupdated 3mo ago
TypeScript MCP server for the AllFlyghts public API.
What can you do with ALLFLYGHTS?
AllFlyghts 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.
Install
Add ALLFLYGHTS to your client. Pick the one you use.
claude mcp add --transport http allflyghts https://mcp.allflyghts.com/mcpcodex mcp add allflyghts --url https://mcp.allflyghts.com/mcp{
"mcpServers": {
"allflyghts": {
"url": "https://mcp.allflyghts.com/mcp"
}
}
}Add to `~/.cursor/mcp.json`, or `.cursor/mcp.json` for a single project.
{
"servers": {
"allflyghts": {
"type": "http",
"url": "https://mcp.allflyghts.com/mcp"
}
}
}Add to `.vscode/mcp.json` in your workspace.
{
"mcpServers": {
"allflyghts": {
"url": "https://mcp.allflyghts.com/mcp"
}
}
}Add to `claude_desktop_config.json`, then restart Claude Desktop.
{
"mcpServers": {
"allflyghts": {
"serverUrl": "https://mcp.allflyghts.com/mcp"
}
}
}Add to `~/.codeium/windsurf/mcp_config.json`.
2 tools
ALLFLYGHTS exposes 2 tools to a connected agent.
- search_locations
- `get_city`
- search_flights
- —
Score
57 / 100
Adequate
- Documentation22/25
- Maintenance13/25
- Trust6/20
- Capability4/15
- Install experience12/15
- Documents what it does and how to connect
- Has a resolvable package or endpoint
- Exposes at least one tool, prompt or resource
- README has substantive content
- Includes a code example
- Documents its configuration
- Mentions credentials or security posture
- Last commit 105 days ago
- Has a release history
- Repository is not archived
- No licence detected
- Namespace verified in the official MCP registry
- Claimed by its owner
- Published under an organisation
- 2 tool(s) documented
- Provides prompt templates
- Provides resources
- 6 documented install method(s)
- Published to a package registry
- Offers a hosted endpoint — no local install
Version history
| Versions | Published |
|---|---|
| 1.0.0Latest | Jun 7, 2026 |