关于 Otto Travel
Otto Travel 是面向商务旅行者和 Agent 的 OpenClaw 插件,可通过自然语言搜索、比较、预订和管理航班与酒店。它还支持管理旅行偏好和忠诚度计划,并提供带 PNR 的预订。
主要功能
- 01搜索并比较航班
- 02预订航班和酒店
- 03管理现有预订
- 04保存旅行偏好
- 05跟踪忠诚度计划
适用场景
- 01查找符合旅行偏好的航班
- 02为行程预订酒店和航班
- 03查看或取消现有预订
配置
远程服务无需本地安装。选择你使用的客户端,复制配置或使用一键安装。
服务地址
https://api.ottotheagent.com/mcp一键复制安装命令
Claude CodeTerminal
claude mcp add --transport http openclaw-otto-travel https://api.ottotheagent.com/mcpCursor.cursor/mcp.json
{"mcpServers":{"openclaw-otto-travel":{"type":"http","url":"https://api.ottotheagent.com/mcp"}}}在 Cursor 中打开VS Code.vscode/mcp.json
{"servers":{"openclaw-otto-travel":{"type":"http","url":"https://api.ottotheagent.com/mcp"}}}在 VS Code 中打开Claude Desktopclaude_desktop_config.json
{"mcpServers":{"openclaw-otto-travel":{"type":"http","url":"https://api.ottotheagent.com/mcp"}}}Windsurf~/.codeium/windsurf/mcp_config.json
{"mcpServers":{"openclaw-otto-travel":{"serverUrl":"https://api.ottotheagent.com/mcp"}}}命令在终端中运行;JSON 粘贴到对应客户端的 MCP 配置后重启。需要授权的服务会在首次连接时提示登录。
工具
详细介绍
openclaw-otto-travel
Otto Travel 的 OpenClaw 插件——使用自然语言搜索、比较和预订航班与酒店。全球库存、实时价格、忠诚度追踪,以及由 PNR 支持的预订。
安装
openclaw plugins install clawhub:openclaw-otto-travel
如果网关启用了沙盒模式(agents.defaults.sandbox.mode 为 "all" 或 "non-main"),请将此插件的工具加入允许列表:
{
"tools": {
"sandbox": {
"tools": { "allow": ["openclaw-otto-travel"] }
}
}
}
如果网关未自动加载新插件,请重启网关:
openclaw gateway restart
授权
让 Agent 调用 otto_setup。它会返回一个授权 URL——访问该 URL 并批准访问后,即可在同一会话中使用所有旅行工具。
终端等效命令:
openclaw otto-travel auth
令牌存储在 ~/.openclaw/.otto-tokens.json 中,并会自动刷新。
工具
search_flights、query_flights、book_flight— 航班搜索与预订search_hotels、get_hotel_rooms、book_hotel— 酒店搜索与预订get_bookings、cancel_booking— 管理现有预订read_preferences、write_preference— 旅行偏好read_loyalty_programs、write_loyalty_program— 常旅客与酒店忠诚度计划task_status— 轮询长时间运行的操作read_skill— 加载 Agent 在调用其他工具前会阅读的使用指南
故障排除
| 现象 | 解决方法 |
|---|---|
| 插件已加载,但 Agent 看不到工具 | 在 tools.sandbox.tools.allow 下将工具加入允许列表(参见“安装”) |
| OAuth 流程始终无法完成 | 让 Agent 显示授权 URL,或运行 openclaw otto-travel auth |
| 工具意外停止工作 | 删除 ~/.openclaw/.otto-tokens.json 并重新授权 |
许可证
本项目依据 Apache License, Version 2.0 许可。版权和商标信息请参阅 NOTICE。
评论
支持 Markdown
一个开放协议,规定了 AI 应用如何以统一方式连接外部工具与数据源。客户端负责与模型对话,MCP 服务负责提供工具、资源和提示模板,两者通过标准消息通信,同一个服务可以被不同客户端复用。