@windy17/theme-park-api

0.1.3 • Public • Published

Theme Parks API MCP Server

安装

npm install -g @windy17/theme-park-api

使用

通过npx运行

  1. 直接运行:
npx @windy17/theme-park-api
  1. 使用别名运行:
npx theme-parks
  1. 查看帮助信息:
npx @windy17/theme-park-api --help
  1. 调用特定工具:
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

Readme

Keywords

none

Package Sidebar

Install

npm i @windy17/theme-park-api

Weekly Downloads

17

Version

0.1.3

License

ISC

Unpacked Size

5.95 kB

Total Files

3

Last publish

Collaborators

  • windy17