{
  "markdown": "# AllFlyghts MCP Server\n\nTypeScript MCP server for the AllFlyghts public API.\n\nThis repository is a standalone Node.js project. It exposes AllFlyghts data through MCP tools while keeping the public API key on the server side.\n\n## Using AllFlyghts via the hosted MCP server\n\nMost users don't need to install or run this code. AllFlyghts runs a managed\nMCP server.\n\nVisit for more info: https://www.allflyghts.com/developers/mcp\nFull docs: https://www.allflyghts.com/mcp\n\nTo use it, configure your MCP client (Claude Desktop, Cursor, etc.) to\nconnect to this endpoint with your AllFlyghts API token in the `Authorization`\nheader:\n\n    Authorization: Bearer <your-token>\n\nGet your token at https://www.allflyghts.com/access/sign-in\n\nThis repository contains the source code of that hosted server, made\npublic for transparency. You can also run it locally if you want — instructions below.\n\n## Tools\n\n- `search_locations`\n- `get_city`\n- `search_flights`\n\n## Requirements\n\n- Node.js 20+\n- An AllFlyghts public API base URL\n- An AllFlyghts public API key, provided either directly by environment variable or through Azure Key Vault\n\n## Environment\n\nRequired:\n\n- `ALLFLYGHTS_PUBLIC_API_BASE_URL`\n\nChoose one API key source:\n\n- `ALLFLYGHTS_PUBLIC_API_KEY`\n- `PUBLIC_API_KEY_VAULT_URL` together with `MCP_PUBLIC_API_KEY_SECRET_NAME`\n\nOptional:\n\n- `MCP_AUTH_TOKEN`\n- `MCP_AUTH_TOKEN_SECRET_NAME`\n- `MCP_SERVER_NAME`\n- `MCP_SERVER_VERSION`\n- `MCP_TRANSPORT`\n- `PORT`\n- `MCP_ALLOWED_ORIGINS`\n\nIf `MCP_AUTH_TOKEN` or `MCP_AUTH_TOKEN_SECRET_NAME` is configured for HTTP mode, callers must send:\n\n```text\nAuthorization: Bearer <token>\n```\n\n## Install\n\n```bash\nnpm install\n```\n\n## Run\n\nStdio mode:\n\n```bash\nnpm run dev:stdio\n```\n\nHTTP mode:\n\n```bash\nnpm run dev:http\n```\n\nProduction builds:\n\n```bash\nnpm run build\n```\n\nThen start either transport from `dist/`:\n\n```bash\nnpm run start:stdio\nnpm run start:http\n```\n\n## Notes\n\n- Streamable HTTP creates a fresh MCP server and transport per request.\n- Secrets are resolved from Azure Key Vault when configured, with direct environment variables as a fallback.\n- Do not commit real API keys, auth tokens, or other secrets to this repository.\n",
  "bytes": 2171,
  "sha": "f4f862c536d866bce24d3c876aa08c312d06c9ea8ab827f56c29960921b9a228",
  "repo_slug": "dev-allflyghts/mcp-server",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/mcp_io_github_dev_allflyghts_mcp_server_3e6dd0c7/readme"
}