Mcd Wrapped logo

Mcd Wrapped

Community
lvzuojing
mcd-wrapped

麦当劳 MCP 工具箱:探测全部 35 个 tool 的真实返回、生成个人年度消费年报、生成麦当劳数据全景报告、精算积分抽奖期望值,并可选方言语音播报。当用户说"麦当劳 MCP 有哪些能力""麦当劳年度报告""麦麦数据""麦当劳全景""抽奖值不值""今年在麦当劳花了多少钱""M-CODE WRAPPED"时使用本技能。

Overview

Publisherlvzuojing
Repositorymcd-wrapped
Skill namemcd-wrapped
Stars
516
Forks
29
Bundled files
29
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 29 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by lvzuojing on GitHub. Read the source before you install it.

Installation

Install the Mcd Wrapped AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/lvzuojing/mcd-wrapped/tree/master
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/lvzuojing/mcd-wrapped.git \
  .claude/skills/mcd-wrapped
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Mcd Wrapped in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Mcd Wrapped on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Mcd Wrapped is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

M-CODE WRAPPED

麦当劳数据全景报告 + 个人年度消费年报 + 方言语音播报。

何时使用

  • 想搞清楚麦当劳 MCP 的 35 个 tool 各自返回什么、需要什么参数
  • 要一份可分享/可发朋友圈的麦当劳年报或全景报告
  • 想看自己在麦当劳一年的消费记录
  • 想知道积分抽奖到底值不值得抽
  • 想让 AI 用粤语/方言把报告念出来

前置条件

  • 麦当劳 MCP Token:在 open.mcd.cn 用手机号激活后复制 Token
  • 无 Token 时也能用演示数据出样张

工作流程

探测 MCP 能力(调试优先)

bash
export MCD_MCP_TOKEN=<用户的token>
python3 scripts/explore.py       # -> out/mcp-explorer.md + data/tool_inventory.json

自动串联参数:从 order-list 取 storeCode / orderId,从 mall-points-products 取 spuId,喂给需要参数的 tool。 draw-lottery、create-order、cancel-order、mall-create-order、auto-bind-coupons、 party-order-create、delivery-create-address 属于写操作,一律不调用。

抽奖 EV 精算

bash
python3 scripts/lottery_ev.py                    # 10 连抽 × 10000 轮
python3 scripts/lottery_ev.py --draws 50 --trials 50000

输出必须说明:官方未公布中奖概率,结果为等概率假设下的模拟。

公共全景报告(不需要消费记录)

bash
export MCD_MCP_TOKEN=<用户的token>
python3 scripts/public_data.py      # 采集公共数据 -> data/public_data.json
python3 scripts/build_panorama.py    # -> out/mcd-wrapped.html

个人年度消费年报

bash
export MCD_MCP_TOKEN=<用户的token>
python3 scripts/collect.py          # 采集个人数据 -> data/report_data.json
python3 scripts/build_report.py     # -> out/mcd-wrapped.html

演示模式(无 Token)

bash
python3 scripts/demo_data.py
python3 scripts/build_report.py

方言播报(可选)

bash
python3 scripts/speak.py --dialect cantonese
python3 scripts/speak.py --dialect voxcpm --ref /path/to/dialect.wav
python3 scripts/speak.py --dry-run

后端按 VoxCPM2 → macOS 内置中文嗓音顺序自动回退。

输出口径

只陈述事实,不做健康评价。禁止出现"垃圾食品""不健康""罪恶""发胖"等表述, 能量数字一律标注为估算参考值。完整红线见 references/compliance.md。

资源

  • scripts/mcp_client.py — MCP Streamable HTTP 客户端
  • scripts/public_data.py — 公共数据采集与解析
  • scripts/build_panorama.py — 全景报告渲染
  • scripts/collect.py — 个人数据采集与字段归一化
  • scripts/demo_data.py — 确定性演示数据
  • scripts/build_report.py — 个人年报渲染
  • scripts/speak.py — 方言语音播报
  • assets/panorama_template.html — 全景报告模板
  • assets/report_template.html — 个人年报模板
  • references/mcp_tools.md — MCP tool 清单与踩坑记录
  • references/compliance.md — 合规红线

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Mcd Wrapped AI skill do?

麦当劳 MCP 工具箱:探测全部 35 个 tool 的真实返回、生成个人年度消费年报、生成麦当劳数据全景报告、精算积分抽奖期望值,并可选方言语音播报。当用户说"麦当劳 MCP 有哪些能力""麦当劳年度报告""麦麦数据""麦当劳全景""抽奖值不值""今年在麦当劳花了多少钱""M-CODE WRAPPED"时使用本技能。

Why use Mcd Wrapped on TypingMind?

Because you install it once and use it with any model. Mcd Wrapped is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Mcd Wrapped in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/lvzuojing/mcd-wrapped/tree/master. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Mcd Wrapped?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Mcd Wrapped?

As many as you like. As long as a model supports skills, you can use Mcd Wrapped with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Mcd Wrapped AI skill free?

Yes. It is published on GitHub by lvzuojing under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇