Task Router Skill
Task Router
麦当劳助手 - 查询/领取优惠券、活动日历、餐品营养信息、门店查询
Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.
SkillHub CLI
skillhub install hi-yu/mcdonaldInspect the source and compatibility requirements, then follow its installation steps.
Give your agent the source link and ask it to inspect instructions and dependencies before explaining the installation steps.
当用户询问麦当劳相关问题时,使用此 skill 调用麦当劳 MCP 服务获取实时数据。
用户需要在 MCP 官网注册并获取 API 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}'
查看当前可领取的所有优惠券。
触发词: "有什么优惠券"、"可以领什么券"、"今天有什么优惠"
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}'
自动领取所有可用优惠券到账户。
触发词: "帮我领券"、"一键领券"、"全部领取"
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}'
查看已领取的优惠券列表。
触发词: "我有哪些优惠券"、"我的券"、"已领取的券"
参数:
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...
These signals come from indexed source analysis and may lag behind changes. Check the current source files.
# 🍔 麦当劳助手
当用户询问麦当劳相关问题时,使用此 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...Task Router
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,...
Real-time event bus for AI agents. Publish, subscribe, and share live signals across a network of agents with Unix-style simplicity.
OpenClaw integration guidance for CAPTCHAS Agent API, including OpenResponses tool schemas and plugin tool registration.