Seats.aero Cloudflare MCP
Seats.aero Cloudflare MCP 服务器
这是一个基于 TypeScript 的无状态远程 MCP 服务器,用于通过自然语言与 seats.aero API 进行交互。该服务器通过 Cloudflare Workers 在边缘运行,提供对航班可用性、航线和批量搜索的极速、高可扩展性访问。
❗ 先决条件: 您需要一个 seats.aero Pro API 密钥才能使用此工具。
🚀 开始使用:一键部署
您可以一键将此服务器直接部署到您的 Cloudflare 账户:
部署完成后,您的 MCP 服务器将在类似 https://seats-aero-cloudflare-mcp.<your-account>.workers.dev/mcp 的 URL 上线。
🔐 部署后的关键步骤:添加您的密钥
由于此服务器充当 seats.aero API 的安全代理,您必须在 Cloudflare 控制面板中配置密钥,服务器才能正常工作。
前往您的 Cloudflare 控制面板 > Workers & Pages >
seats-aero-cloudflare-mcp。导航至 Settings > Variables and Secrets。
添加以下加密变量:
SEATS_API_KEY:您的 seats.aero Pro API 密钥。MCP_CLIENT_SECRET:您自行设置的安全密码/令牌,用于防止未经授权访问您的边缘节点。
重新部署您的 worker 以注入新密钥。
Related MCP server: Remote MCP Server (Authless)
🛠️ 可用工具
该服务器使用严格的 JSON Schema 枚举,以防止大语言模型在里程计划和舱位等级方面产生幻觉。
get_flights:获取航班列表。映射到缓存搜索端点。get_bulk_avail:从特定的里程计划中检索大量可用性对象。映射到批量可用性端点。get_routes:从特定的里程计划中检索航线对象列表。映射到航线端点。
💻 手动部署 (CLI)
如果您更喜欢通过命令行而不是一键按钮进行部署:
克隆仓库并安装依赖项:
git clone [https://github.com/olsonbd/seats-aero-cloudflare-mcp.git](https://github.com/olsonbd/seats-aero-cloudflare-mcp.git)
cd seats-aero-cloudflare-mcp
npm install使用 Wrangler 安全存储您的密钥:
npx wrangler secret put SEATS_API_KEY
npx wrangler secret put MCP_CLIENT_SECRET部署到 Cloudflare:
npx wrangler deploy🤖 连接到 Claude Desktop
使用 mcp-remote 代理从本地 MCP 客户端连接到您的远程 MCP 服务器。
打开您的 Claude Desktop 配置文件并添加以下内容:
{
"mcpServers": {
"seats-aero": {
"command": "npx",
"args": [
"mcp-remote",
"https://seats-aero-cloudflare-mcp.<your-account>.workers.dev/mcp"
],
"env": {
"MCP_REMOTE_BEARER_TOKEN": "your_mcp_client_secret_here"
}
}
}
}This server cannot be deployed
Maintenance
Related MCP Connectors
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
Search and compare flight offers through a cache-aware Streamable HTTP MCP server for AI agents.
Cloudflare Workers MCP server: ai-model-router
Cloudflare Workers MCP server: agent-workflow-engine
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceA deployable server implementation of the Model Context Protocol that allows you to run custom tools on Cloudflare Workers without authentication requirements.681 npmMIT
- FlicenseNot gradedqualityCmaintenanceEnables deployment of Model Context Protocol servers on Cloudflare Workers without authentication requirements. Provides a template for creating custom MCP tools that can be accessed remotely via SSE endpoints and integrated with Claude Desktop or Cloudflare AI Playground.-
- -licenseNot gradedqualityNot gradedmaintenanceEnables deployment of a Model Context Protocol (MCP) server on Cloudflare Workers without authentication. Allows users to create custom tools and connect them to AI clients like Claude Desktop or Cloudflare AI Playground.2,778 npm-
- FlicenseNot gradedqualityCmaintenanceEnables deployment of MCP servers on Cloudflare Workers without authentication requirements. Provides a template for creating custom MCP tools that can be accessed remotely via Cloudflare AI Playground or local MCP clients like Claude Desktop.-