@windy17/theme-park-api
v0.1.3
Published
to get something about theme park
Readme
Theme Parks API MCP Server
安装
npm install -g @windy17/theme-park-api使用
通过npx运行
- 直接运行:
npx @windy17/theme-park-api- 使用别名运行:
npx theme-parks- 查看帮助信息:
npx @windy17/theme-park-api --help- 调用特定工具:
npx @windy17/theme-park-api get_destinations完整配置
方式一:直接使用npx
{
"mcpServers": {
"mcp-server-theme-parks": {
"command": "npx",
"args": ["@windy17/theme-park-api"],
"env": {
"THEMEPARKS_API_BASE_URL": "https://api.themeparks.wiki/v1"
}
}
}
}方式二:使用本地构建
{
"mcpServers": {
"theme-parks-api": {
"command": "node",
"args": ["path/to/theme-parks-api/build/index.js"],
"env": {}
}
}
}可用工具
- get_destinations: 获取所有主题公园度假区列表
- get_park_info: 获取特定主题公园的详细信息
- get_live_data: 获取主题公园的实时数据
开发
# 克隆仓库
git clone https://github.com/windy17/theme-park-api.git
# 安装依赖
npm install
# 构建
npm run build
# 运行
npm start