ALLFLYGHTS

io.github.dev-allflyghts由 GitHub 账号 dev-allflyghts 发布v1.0.0更新于 Oct 24, 2026

Geo-based flight search MCP server. Find more flights between any two places on earth

已验证Streamable HTTP可网页运行位置与生活网页搜索与抓取

概览

AI 生成的概览

托管式 AllFlyghts MCP 服务器,让助手搜索地点、查询城市信息并查找全球任意两地之间的航班。

可以做什么
  • 按名称搜索地点,为航班查询确定出发地与目的地
  • 查询指定城市的详细信息
  • 搜索地球上任意两地之间的航班
  • 可连接托管远程端点,也可在本地以 stdio 或 HTTP 方式运行同一服务器
适用场景
适合希望让助手协助规划行程或比较两地之间航班选项的场景,无需自行开发航班搜索集成。
运行要求
通过 streamable HTTP 连接 mcp.allflyghts.com 远程端点,并在 Authorization 请求头中以 bearer 形式携带 AllFlyghts API 令牌,令牌需从 AllFlyghts 开发者面板获取。本地运行源码需要 Node.js 20+、AllFlyghts 公共 API 基础地址以及 API 密钥(环境变量或 Azure Key Vault)。
安装前请注意
需要在 Authorization 请求头中提供 AllFlyghts API 令牌,请妥善保管且不要提交到代码仓库。航班与地点查询会发送至 AllFlyghts 服务。本地运行时还可从 Azure Key Vault 读取密钥。

安装

在 SourceWeft 中

  1. 打开 控制台中的 ALLFLYGHTS,将其添加到工作区。
  2. 连接 Authorization token 凭据。它们会被私密存储,绝不会在公开页面上展示。
  3. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/io.github.dev-allflyghts%2Fmcp-server/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "allflyghts": {
      "type": "http",
      "url": "https://mcp.allflyghts.com/mcp",
      "headers": {
        "Authorization": "Bearer <YOUR_TOKEN>"
      }
    }
  }
}

README

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_locations
  • get_city
  • search_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_KEY
  • PUBLIC_API_KEY_VAULT_URL together with MCP_PUBLIC_API_KEY_SECRET_NAME

Optional:

  • MCP_AUTH_TOKEN
  • MCP_AUTH_TOKEN_SECRET_NAME
  • MCP_SERVER_NAME
  • MCP_SERVER_VERSION
  • MCP_TRANSPORT
  • PORT
  • MCP_ALLOWED_ORIGINS

If MCP_AUTH_TOKEN or MCP_AUTH_TOKEN_SECRET_NAME is configured for HTTP mode, callers must send:

text
Authorization: Bearer <token>

Install

bash
npm install

Run

Stdio mode:

bash
npm run dev:stdio

HTTP mode:

bash
npm run dev:http

Production builds:

bash
npm run build

Then start either transport from dist/:

bash
npm run start:stdionpm 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.

来源:README.md,提交 9326283

工具

0
SourceWeft 尚未读取此服务器的工具。

版本历史

1
  1. v1.0.0最新Sep 16, 2026

评分

已满足适用检查项的 75%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

    请在仓库或注册中心条目中声明许可证。