with one click
mcdonald
麦当劳助手 - 查询/领取优惠券、活动日历、餐品营养信息、门店查询
Menu
麦当劳助手 - 查询/领取优惠券、活动日历、餐品营养信息、门店查询
获取中国经济资讯。仅从官方权威媒体(中国政府网、新华网、人民网、国家统计局、央视财经、中国经济网)抓取高质量经济新闻,自动过滤广告和低质量内容。触发词:中国经济、经济资讯、经济新闻、财经新闻、经济政策、宏观经济、GDP、CPI、PMI、货币政策、财政政策、今日财经。
AI Agent 設定同優化助手 - Prompt Engineering、Task Decomposition、Agent Loop設計
The philosophical layer for AI agents. Maps behavior to Spinoza's 48 affects, calculates persistence scores, and generates geometric self-reports. Give your agent a soul.
Agents can sign plugins, rotate credentials without losing identity, and publicly attest to behavior.
Scaffold MCP server projects and baseline tool contract checks. Use for defining tool schemas, generating starter server layouts, and validating MCP-ready structure.
Generate reusable multi-step agent workflow blueprints. Use for trigger/action orchestration, deterministic workflow definitions, and automation handoff artifacts.
| name | mcdonald |
| description | 麦当劳助手 - 查询/领取优惠券、活动日历、餐品营养信息、门店查询 |
| version | 1.0.0 |
| author | hi-yu |
| metadata | {"openclaw":{"emoji":"🍔","category":"lifestyle","tags":["麦当劳","优惠券","美食","快餐"]}} |
当用户询问麦当劳相关问题时,使用此 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","pageSize":"50"}},"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":"campaign-calender","arguments":{}},"id":1}'
获取麦当劳常见餐品的营养成分数据,包括能量、蛋白质、脂肪、碳水化合物、钠、钙等信息。适用于用户咨询热量、营养或搭配指定热量套餐。
触发词: "热量"、"卡路里"、"营养信息"、"多少大卡"、"帮我搭配XX卡的套餐"
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":"list-nutrition-foods","arguments":{}},"id":1}'
返回当前的完整时间信息,帮助判断活动是否在有效期内。
触发词: "现在几点"、"今天几号"(通常无需用户触发,AI 自动调用以判断活动时效)
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":"now-time-info","arguments":{}},"id":1}'
{
"jsonrpc": "2.0",
"result": {
"content": [{"type": "text", "text": "..."}],
"structuredContent": {...}
},
"id": 1
}
解析 result.content[0].text 或 result.structuredContent 获取数据。
{
"jsonrpc": "2.0",
"error": {"code": -32000, "message": "Token expired"},
"id": 1
}
常见错误:
Token expired: Token 过期,需要重新获取Unauthorized: Token 无效Rate limited: 请求过于频繁,稍后再试以表格或清单形式展示,包含:
以表格展示,包含:
用户: 今天麦当劳有什么优惠券可以领?
AI 执行:
curl -s -X POST "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}'
AI 回复:
当前可领取的优惠券:
- 🍟 麦辣鸡腿堡套餐立减5元 (有效期至2月10日)
- 🥤 任意饮品第二杯半价 (有效期至2月15日) ...
需要帮你一键领取吗?