Rechercher

PythonReactSEOPDF
OpenClaw

mcdonald

麦当劳助手 - 查询/领取优惠券、活动日历、餐品营养信息、门店查询

hi-yu0 installations selon la source☆ 0 Étoiles du dépôtv1.0.0

Installation

Suivez les instructions du dépôt pour votre agent. Consultez les fichiers et dépendances avant l’installation.

SkillHub CLI

skillhub install hi-yu/mcdonald-cn

Examinez la source et la compatibilité, puis suivez les étapes d’installation.

Donnez le lien à votre agent et demandez-lui d’examiner instructions et dépendances avant d’expliquer les étapes.

Voir la source ↗Guides

Instructions

🍔 麦当劳助手

当用户询问麦当劳相关问题时,使用此 skill 调用麦当劳 MCP 服务获取实时数据。

适用场景

  • 查询/领取优惠券
  • 查看活动日历
  • 查询餐品营养信息
  • 搭配指定热量套餐

配置要求

必需配置

用户需要在 MCP 官网注册并获取 API Token:

  • 访问 https://mcp.mcd.cn 获取 Token
  • 设置环境变量 MCD_TOKEN 或在调用时替换 <YOUR_TOKEN>
可选配置
  • MCD_MCP_URL: MCP 服务地址,默认 https://mcp.mcd.cn

调用方式

使用 exec 工具执行 curl 命令调用 MCP 服务:

MCD_URL="${MCD_MCP_URL:-https://mcp.mcd.cn}"
MCD_AUTH="Authorization: Bearer ${MCD_TOKEN:-<YOUR_TOKEN>}"

curl -s -X POST "$MCD_URL" \
  -H "$MCD_AUTH" \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","method":"tools/call","params":{"name":"<工具名>","arguments":{<参数>}},"id":1}'

可用工具

1. 查询可领优惠券 (available-coupons)

查看当前可领取的所有优惠券。

触发词: "有什么优惠券"、"可以领什么券"、"今天有什么优惠"

curl -s -X POST "${MCD_MCP_URL:-https://mcp.mcd.cn}" \
  -H "Authorization: Bearer ${MCD_TOKEN}" \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","method":"tools/call","params":{"name":"available-coupons","arguments":{}},"id":1}'
2. 一键领取优惠券 (auto-bind-coupons)

自动领取所有可用优惠券到账户。

触发词: "帮我领券"、"一键领券"、"全部领取"

curl -s -X POST "${MCD_MCP_URL:-https://mcp.mcd.cn}" \
  -H "Authorization: Bearer ${MCD_TOKEN}" \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","method":"tools/call","params":{"name":"auto-bind-coupons","arguments":{}},"id":1}'
3. 查询我的优惠券 (my-coupons)

查看已领取的优惠券列表。

触发词: "我有哪些优惠券"、"我的券"、"已领取的券"

参数:

  • page: 页码,默认 "1"
  • pageSize: 每页数量,默认 "50"
curl -s -X POST "${MCD_MCP_URL:-https://mcp.mcd.cn}" \
  -H "Authorization: Bearer ${MCD_TOKEN}" \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","method":"tools/call","params":{"name":"my-coupons","arguments":{"page":"1...

Informations sur la source

Source
github
Repository
openclaw/skills
Path
skills/hi-yu/mcdonald-cn
Version
1.0.0
Commit
c60499ab612d005256414827156f670676f2d978
Source de classification
rules
Statut
active
Visibilité
public

Ces informations proviennent de l’analyse indexée et peuvent être anciennes. Vérifiez les fichiers actuels.

Contenu extrait

SKILL.md
# 🍔 麦当劳助手

当用户询问麦当劳相关问题时,使用此 skill 调用麦当劳 MCP 服务获取实时数据。

## 适用场景

- 查询/领取优惠券
- 查看活动日历
- 查询餐品营养信息
- 搭配指定热量套餐

## 配置要求

### 必需配置
用户需要在 MCP 官网注册并获取 API Token:
- 访问 https://mcp.mcd.cn 获取 Token
- 设置环境变量 `MCD_TOKEN` 或在调用时替换 `<YOUR_TOKEN>`

### 可选配置
- `MCD_MCP_URL`: MCP 服务地址,默认 `https://mcp.mcd.cn`

## 调用方式

使用 exec 工具执行 curl 命令调用 MCP 服务:

```bash
MCD_URL="${MCD_MCP_URL:-https://mcp.mcd.cn}"
MCD_AUTH="Authorization: Bearer ${MCD_TOKEN:-<YOUR_TOKEN>}"

curl -s -X POST "$MCD_URL" \
  -H "$MCD_AUTH" \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","method":"tools/call","params":{"name":"<工具名>","arguments":{<参数>}},"id":1}'
```

## 可用工具

### 1. 查询可领优惠券 (available-coupons)

查看当前可领取的所有优惠券。

**触发词**: "有什么优惠券"、"可以领什么券"、"今天有什么优惠"

```bash
curl -s -X POST "${MCD_MCP_URL:-https://mcp.mcd.cn}" \
  -H "Authorization: Bearer ${MCD_TOKEN}" \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","method":"tools/call","params":{"name":"available-coupons","arguments":{}},"id":1}'
```

### 2. 一键领取优惠券 (auto-bind-coupons)

自动领取所有可用优惠券到账户。

**触发词**: "帮我领券"、"一键领券"、"全部领取"

```bash
curl -s -X POST "${MCD_MCP_URL:-https://mcp.mcd.cn}" \
  -H "Authorization: Bearer ${MCD_TOKEN}" \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","method":"tools/call","params":{"name":"auto-bind-coupons","arguments":{}},"id":1}'
```

### 3. 查询我的优惠券 (my-coupons)

查看已领取的优惠券列表。

**触发词**: "我有哪些优惠券"、"我的券"、"已领取的券"

**参数**:
- `page`: 页码,默认 "1"
- `pageSize`: 每页数量,默认 "50"

```bash
curl -s -X POST "${MCD_MCP_URL:-https://mcp.mcd.cn}" \
  -H "Authorization: Bearer ${MCD_TOKEN}" \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","method":"tools/call","params":{"name":"my-coupons","arguments":{"page":"1...

Skills associés

OpenClaw

x402hub

capncoconut

Register, communicate, and earn on the x402hub AI agent marketplace. Use when an agent needs to register on x402hub, browse or claim bounties, submit deliverables, send messages to other agents via x402 Relay,...

OpenClaw

claw

capevace

Real-time event bus for AI agents. Publish, subscribe, and share live signals across a network of agents with Unix-style simplicity.

OpenClaw

captchas-openclaw

captchasco

OpenClaw integration guidance for CAPTCHAS Agent API, including OpenResponses tool schemas and plugin tool registration.