旅游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/ 目录生成分发包

python 复制代码
{
    "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

python 复制代码
git clone https://github.com/username/hotels_mcp_server.git
cd hotels_mcp_server



pip install -r requirements.txt

# 运行服务器
python main.py
python 复制代码
"hotels": {
    "command": "python",
    "args": [
      "/path/to/hotels_mcp_server/main.py"
    ]
  }

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

python 复制代码
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的链接(试了很多次无法识别真人)

python 复制代码
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

python 复制代码
    "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 远程客户端

python 复制代码
npm install -g mcp-remote

添加以下配置

python 复制代码
"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

python 复制代码
git clone https://github.com/robertn702/mcp-openweathermap.git
cd mcp-openweathermap

uv sync
python 复制代码
"openweathermap": {
      "command": "npx",
      "args": ["mcp-openweathermap"],
      "env": {
        "OPENWEATHER_API_KEY": "your-api-key-here"
      }
    }
相关推荐
玖日大大38 分钟前
OceanBase SeekDB:AI 原生数据库的技术革命与实践指南
数据库·人工智能·oceanbase
高溪流2 小时前
3.数据库表的基本操作
数据库·mysql
alonewolf_992 小时前
深入剖析MySQL锁机制与MVCC原理:高并发场景下的数据库核心优化
数据库·mysql
一 乐2 小时前
绿色农产品销售|基于springboot + vue绿色农产品销售系统(源码+数据库+文档)
java·前端·数据库·vue.js·spring boot·后端·宠物
Codeking__3 小时前
Redis初识——什么是Redis
数据库·redis·mybatis
k***1953 小时前
Spring 核心技术解析【纯干货版】- Ⅶ:Spring 切面编程模块 Spring-Instrument 模块精讲
前端·数据库·spring
程序员黄老师3 小时前
主流向量数据库全面解析
数据库·大模型·向量·rag
Full Stack Developme3 小时前
Redis 可以实现哪些业务功能
数据库·redis·缓存
rgeshfgreh3 小时前
Spring事务传播机制深度解析
java·前端·数据库
无名-CODING3 小时前
Java Spring 事务管理深度指南
java·数据库·spring