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 分

    請在儲存庫或註冊中心條目中宣告授權條款。