当前位置: 首页 > news >正文

旅游mcp配置(1)

推荐旅游相关mcp 仓库:https://github.com/gs-ysingh/travel-mcp-server

1、获取 flights-mcp (Duffel API) 的 MCP 组件

克隆仓库

git clone https://github.com/ravinahp/flights-mcp

cd flights-mcp

uv sync

运行 uv build,这会在 dist/ 目录生成分发包

{"flights-mcp": {"command": "uv","args": ["--directory","/Users/您的用户名/Code/flights-mcp","run","flights-mcp"],"env": {"DUFFEL_API_KEY_LIVE": "您的生产 Duffel API 密钥"}}
}

在仓库目录运行 uv run flights-mcp。服务器会启动

获取key链接:Duffel – Access token

2、Booking.com MCP (酒店预订)

官网:

We do not currently offer reporting API access for retrieving reservation details and white-label/co-brand implementations.(我们目前不提供用于获取预订详情和白标/共品牌实施的报告API访问。)


无github仓库。

在RapidAPI上获取到得

github链接:esakrissa/hotels_mcp_server:使用 Booking.com API 的酒店搜索 MCP 服务器 --- esakrissa/hotels_mcp_server: MCP server for hotel searches using Booking.com API

git clone https://github.com/username/hotels_mcp_server.git
cd hotels_mcp_serverpip install -r requirements.txt# 运行服务器
python main.py
"hotels": {"command": "python","args": ["/path/to/hotels_mcp_server/main.py"]}

注意:RapidAPI 的 Booking.com API Key 不写在 mcp.json 里,而是放在工程根目录的 .env 文件中(通过 python-dotenv 加载):

RAPIDAPI_KEY=your_key

获取key链接:Booking COM

https://rapidapi.com/DataCrawler/api/booking-com15/playground/apiendpoint_890d8a23-61ec-4fc3-86c1-aab5f71e4d56

3、Yelp MCP服务器 (餐饮推荐)

获取key:github仓库下的 readme中提供了获取key的链接(试了很多次无法识别真人)

git clone https://github.com/Yelp/yelp-mcp# 进入 yelp-mcp 目录cd yelp-mcp# 安装依赖(相当于 make install)uv sync# 运行应用(相当于 make run)uv run mcp-yelp-agent

配置mcp.json

    "yelp_agent": {"command": "uv","args": ["--directory","C:/Users/Administrator/Desktop/yiqihecheng/new_prj/new_prj_7/cooragent/src/tools/yelp-mcp","run","mcp-yelp-agent"],"env": {"YELP_API_KEY": "<YOUR_YELP_FUSION_API_KEY>"}}

4、Turkish Airlines MCP Server

链接:土耳其航空公司 - MCP --- Turkish Airlines - MCP

安装 MCP 远程客户端

npm install -g mcp-remote

添加以下配置

"turkish-airlines": {"command": "npx","args": ["-y","mcp-remote","https://mcp.turkishtechlab.com/mcp"]}

5、openweathermap

key的获取参考:如何在 OpenWeatherMap 申请天气 API 密钥-CSDN博客https://blog.csdn.net/qq_42489313/article/details/147607629

github链接:robertn702/mcp-openweathermap:MCP 服务器用于 OpenWeatherMap API 集成 --- robertn702/mcp-openweathermap: MCP server for OpenWeatherMap API integration

git clone https://github.com/robertn702/mcp-openweathermap.git
cd mcp-openweathermapuv sync
"openweathermap": {"command": "npx","args": ["mcp-openweathermap"],"env": {"OPENWEATHER_API_KEY": "your-api-key-here"}}

http://www.lryc.cn/news/613508.html

相关文章:

  • 多场景两阶段分布式鲁棒优化模型、数据驱动的综合能源系统
  • pybind11 的应用
  • C语言feof函数详解:文件末尾检测的实用工具
  • 【华为机试】113. 路径总和 II
  • 计算机网络1-5:计算机网络的性能指标
  • CSS--:root指定变量,其他元素引用
  • [安卓按键精灵开发工具]本地数据库的初步学习
  • 剑指offer第2版——面试题1:赋值运算符函数
  • CPTS Remote 复现
  • react-router/react-router-dom
  • 深度学习中主要库的使用:(一)pandas,读取 excel 文件,支持主流的 .xlsx/.xls 格式
  • 房产证识别在房产行业的技术实现及应用原理
  • 超高车辆如何影响城市立交隧道安全?预警系统如何应对?
  • 网络基础概念
  • 基于Qt的Live2D模型显示以及控制
  • ora-01658 无法为表空间 users中的段创建initial区
  • RocketMQ架构解析
  • 遥感卫星领域的AI应用
  • Day03 学习git
  • LWIP网络接口管理
  • [airplay2] airplay2简略介绍
  • 二分查找算法,并分析其时间、空间复杂度
  • IIS7.5下的https无法绑定主机头,显示灰色如何处理?
  • 前后端加密传数据实现方案
  • [ java SE ] 多人聊天窗口1.0
  • 强光干扰下裂缝漏检率↓82%!陌讯轻量化模型在道路巡检的落地实践
  • redis--黑马点评--用户签到模块详解
  • JAVA,Maven继承
  • 力扣经典算法篇-46-阶乘后的零(正向步长遍历,逆向步长遍历)
  • Linux Shell为文件添加BOM并自动转换为unix格式