travel-platform-mcp
travel-platform-mcp 是面向旅游业务的本地 MCP Server,提供平台初始化、模型配置、Skill 同步及站点自动化能力。
快速开始
将以下两段 Prompt 按顺序复制给当前 Agent。第一段完成安装与 MCP 接入;确认连接成功后, 再发送第二段同步内置 Skill。
Prompt 1:安装并接入 MCP
请安装并接入 travel-platform-mcp:
1. 确认 uv 可用,然后运行:uv tool install travel-platform-mcp。
2. 将 travel-platform-mcp 配置为当前 Agent 的 MCP Server,使用当前 Agent 或 MCP Host 支持的原生配置方式;不要假定特定的 JSON 配置格式。
3. 重载或重启 MCP Host,确认已连接的 travel-platform-mcp MCP Server 可发现 platform.setup、platform.health、platform.configure 和 platform.skills.sync。
不要从 Git 仓库复制源码安装,也不要为该包启动第二个 MCP Server。涉及修改当前 Agent 配置时,先向我说明影响并获得授权。
Prompt 2:同步包内 Skill
连接 travel-platform-mcp MCP Server 后,调用其 platform.skills.sync Tool,将包内全部 Skill 同步到当前 Agent 自己的 Skill 根目录。
先识别当前 Agent 实际 Skill 根目录的绝对路径;不得使用项目源码目录、包内资源目录或其他 Agent 的目录。说明 overwrite: true 会完整替换同名 Skill,并在获得我的覆盖授权后调用:
platform.skills.sync({
"target_skills_directory": "<当前 Agent 实际 Skill 根目录的绝对路径>",
"overwrite": true
})
仅当结果返回 status: "ready" 时视为完成,并检查 copied、updated、skipped 与 warnings。确认 travel-platform-initialization/SKILL.md 已存在且可读后,再读取并执行该初始化 Skill。
升级
uv tool upgrade travel-platform-mcp
升级后重新加载 MCP Host,再让 Agent 执行已同步的 travel-platform-initialization Skill。
该 Skill 会在获得授权后覆盖同步内置 Skill,并执行基础健康检查。
文档
- 完整文档索引:架构、Tool 契约、配置、安全、发布与开发资料。
- 分发与 Agent 集成:安装、升级与 MCP Host 接入说明。
- MCP Tool 与 Provider:可用 Tool 的职责与边界。
许可证
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file travel_platform_mcp-0.2.2.tar.gz.
File metadata
- Download URL: travel_platform_mcp-0.2.2.tar.gz
- Upload date:
- Size: 120.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f9a035ee8f30eec36b396db8fb765f46144c8111e2a2e48e33fcc0d55d13ad67
|
|
| MD5 |
d648ec36955d6cad21b019e2b1ca6abc
|
|
| BLAKE2b-256 |
93b293da1579f2a7deb7ce133f75738b09858955ae0705c3c60b3672aabdfc33
|
Provenance
The following attestation bundles were made for travel_platform_mcp-0.2.2.tar.gz:
Publisher:
release.yml on MaojieXu/travel-platform-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
travel_platform_mcp-0.2.2.tar.gz -
Subject digest:
f9a035ee8f30eec36b396db8fb765f46144c8111e2a2e48e33fcc0d55d13ad67 - Sigstore transparency entry: 2544257604
- Sigstore integration time:
-
Permalink:
MaojieXu/travel-platform-mcp@9bbc9edeea3f3b2522d5ffce09c44fd24f75151e -
Branch / Tag:
refs/tags/v0.2.2 - Owner: https://github.com/MaojieXu
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@9bbc9edeea3f3b2522d5ffce09c44fd24f75151e -
Trigger Event:
push
-
Statement type:
File details
Details for the file travel_platform_mcp-0.2.2-py3-none-any.whl.
File metadata
- Download URL: travel_platform_mcp-0.2.2-py3-none-any.whl
- Upload date:
- Size: 182.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
97b03f1225fca75eb7543756e9b04769957633b38507232b3970d952b4087dee
|
|
| MD5 |
8f28729ca707026c2f25e2d048e71809
|
|
| BLAKE2b-256 |
4d9046d71b8a4db6ce1a340a28038146146f00e01f8dadead6790fd9fa15ac29
|
Provenance
The following attestation bundles were made for travel_platform_mcp-0.2.2-py3-none-any.whl:
Publisher:
release.yml on MaojieXu/travel-platform-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
travel_platform_mcp-0.2.2-py3-none-any.whl -
Subject digest:
97b03f1225fca75eb7543756e9b04769957633b38507232b3970d952b4087dee - Sigstore transparency entry: 2544257949
- Sigstore integration time:
-
Permalink:
MaojieXu/travel-platform-mcp@9bbc9edeea3f3b2522d5ffce09c44fd24f75151e -
Branch / Tag:
refs/tags/v0.2.2 - Owner: https://github.com/MaojieXu
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@9bbc9edeea3f3b2522d5ffce09c44fd24f75151e -
Trigger Event:
push
-
Statement type: