# 安装 ALLFLYGHTS

- 类型: MCP 工具
- 说明: 按地理位置搜索全球两地间更多航班选择与路线方案
- 仓库: https://github.com/dev-allflyghts/mcp-server
- ⚠ 安全: 该 MCP 工具声明提供地理航班搜索功能，未要求密钥，且来自官方 Registry 并有开源仓库，整体未见明确高风险红旗。由于其会执行代码并连接远程端点，且文档较少、社区采用度有限，整体更适合评为需留意而非高风险。

## 方式一 · 一键代装（复制提示词让 AI 代劳）

### Claude Code
```
请帮我安装 askskill 上的 "ALLFLYGHTS" MCP 服务：
执行：claude mcp add --transport http 'io-github-dev-allflyghts-mcp-server' 'https://mcp.allflyghts.com/mcp'
```

### Codex
```
请帮我安装 askskill 上的 "ALLFLYGHTS" MCP 服务：
在 ~/.codex/config.toml 中添加：
[mcp_servers.io-github-dev-allflyghts-mcp-server]
url = "https://mcp.allflyghts.com/mcp"
然后重启 Codex 生效
```

### Cursor
```
请帮我安装 askskill 上的 "ALLFLYGHTS" MCP 服务：
在 .cursor/mcp.json 的 "mcpServers" 中添加：
"io-github-dev-allflyghts-mcp-server": { "url": "https://mcp.allflyghts.com/mcp" }
然后在 Cursor 设置 > MCP 中启用
```

## 方式二 · 命令行安装（原生命令与配置）

### Claude Code
```bash
claude mcp add --transport http 'io-github-dev-allflyghts-mcp-server' 'https://mcp.allflyghts.com/mcp'
```

### Codex
```bash
codex mcp add 'io-github-dev-allflyghts-mcp-server' --url 'https://mcp.allflyghts.com/mcp'
```
配置文件 ~/.codex/config.toml：
```toml
[mcp_servers.io-github-dev-allflyghts-mcp-server]
url = "https://mcp.allflyghts.com/mcp"
```

### Cursor
配置文件 .cursor/mcp.json：
```json
{
  "mcpServers": {
    "io-github-dev-allflyghts-mcp-server": {
      "url": "https://mcp.allflyghts.com/mcp"
    }
  }
}
```
一键安装：cursor://anysphere.cursor-deeplink/mcp/install?name=io-github-dev-allflyghts-mcp-server&config=eyJ1cmwiOiJodHRwczovL21jcC5hbGxmbHlnaHRzLmNvbS9tY3AifQ
