REA
Reverse engineer anything from your terminal or agent with one CLI and MCP server.
M-CODE WRAPPED · 麦当劳数据全景报告 + 个人年报 + 方言播报
作者の方は、このコードを README に貼れます。バッジはこのページにリンクします。
[](https://mcp.popnx.com/en/skills/lvzuojing-mcd-wrapped)同じ作業で AI をサービスにつなぐ MCP
Reverse engineer anything from your terminal or agent with one CLI and MCP server.
Codebase intelligence for TypeScript and JavaScript, exposed as structured MCP analysis tools.
MCP server for terminal commands, file operations, and process management
同じ種類の作業。Skill 一覧と同じ並び
| これ mcd-wrapped | rea | andrej-karpathy-skills | graphify | MoneyPrinterTurbo | |
|---|---|---|---|---|---|
| 作者 | lvzuojing | morluto | multica-ai | Graphify-Labs | harry0703 |
| Skill 数 | 1 | 1 | 1 | 1 | 1 |
| GitHub スター | 513 | 465,460 | 233,910 | 149,364 | 144,149 |
| 最終コード更新 | 2026年10月13日 | 2026年11月17日 | 2026年4月20日 | 2026年11月17日 | 2026年11月17日 |
| ライセンス | MIT | MIT | – | Apache-2.0 | MIT |
lvzuojing による 1 個の Skill(指示セット)。AI が読んでそのとおりに作業します · MCP server ではありません
MCP = 手
AI を外部のサービスやデータにつなぎます(例:Notion を読む、請求書を作る)。プログラムやサーバーが動いている必要があります。
Skill = 手順書
作業のやり方を AI に教えるテキストファイル。どのサービスにもつながりません。
重なる部分もあります。ツールを呼ぶスクリプト付きの Skill や、知識だけを渡す MCP もあります。やりたい作業から選んでください。
提供元の記載なし · SKILL.md 形式の Skill は Claude Code、Codex、Cursor など Agent Skills 対応アプリで使えます
GitHub account lvzuojing (person), 10 years old
★ 513 stars · code last changed 2026年10月13日
9 scripts that can run on a computer: scripts/build_panorama.py, scripts/build_report.py, scripts/collect.py, scripts/demo_data.py and 5 more
Scripts that go online: scripts/mcp_client.py, scripts/speak.py, scripts/public_data.py
No hooks or writes to machine settings found
Checked automatically from the repo files at commit f8c6130 (read only, nothing was run). Not a safety guarantee: read it and decide for yourself
まず:どの AI を使っていますか
使っているアプリを選ぶと、そのアプリでのインストール方法だけが表示されます
Files are byte-for-byte the same as on GitHub at commit f8c6130 · View on GitHub ↗
9 scripts
Once uploaded it runs on Claude’s systems, not on your computer. No need to unzip
All 32 files · 3.0 MB
CONTEST_DECLARATION.md1 KBLICENSE1 KBMCP_INTEGRATION.md7 KBPROMO.md9 KBREADME.md7 KBSKILL.md3 KBSOCIAL_POSTS.md6 KBassets/panorama_template.html8 KBassets/poster.svg6 KBassets/report_template.html5 KBassets/xiaohongshu.svg3 KBmcp-config.example.json1 KBout/lottery-ev.md2 KBout/mcd-wrapped.html10 KBout/mcp-explorer.md3 KBout/panorama.html33 KBout/panorama.png2.2 MBout/poster.png140 KBout/preview.png349 KBout/xiaohongshu.png146 KBreferences/compliance.md2 KBreferences/mcp_tools.md3 KBscripts/build_panorama.py14 KBscripts/build_report.py10 KBscripts/collect.py13 KBscripts/demo_data.py5 KBscripts/explore.py11 KBscripts/lottery_ev.py9 KBscripts/mcp_client.py6 KBscripts/public_data.py9 KBscripts/speak.py6 KBworkbuddy.md8 KBコマンドを確認中 · 確認が通るとコピーボタンが出ます
+Create skillUpload a skillpick mcd-wrapped.zip
SettingsCapabilitiesCode execution and file creation
Turn on Code execution and file creation first (newer menus: Create and edit files) · personal plans: Settings → Capabilities · Team/Enterprise: an admin turns it on under Organization settings → Plugins & skills · every plan, including Free
Upload once; it works in claude.ai and Claude Desktop, and in recent Claude Code signed in with a Claude account (not with an API key)
Cowork and cloud sessions use the skills turned on in your claude.ai account, not ~/.claude/skills on your computer (Claude Desktop scheduled tasks run locally and still load it)
Checked against official docs 2026年11月12日 · Source: support.claude.com, support.claude.com, code.claude.com
この文をコピーして Claude Code のチャットに貼り付けます
For one project, paste it into a chat that is open in that project’s folder · The AI always shows you the path before installing
The AI tells you what it will do first and asks your permission at every step
Claude Code を開き直し、/mcd-wrapped と入力するか関連する作業を頼むと Claude が自動で使います
Checked against official docs 2026年11月12日 · Source: code.claude.com
Skill は AI が従う指示です。入れる前にファイルを読み、信頼できる提供元のものだけを入れてください。
ChatGPT デスクトップアプリには Codex が組み込まれていて、Codex は ~/.agents/skills フォルダから Skill を読み込みます
ChatGPT デスクトップアプリで Codex を開き、この文をチャットに貼り付けます
The AI always shows you the path before installing
The AI tells you what it will do first and asks your permission at every step
mcd-wrapped フォルダを ~/.agents/skills/mcd-wrapped に置きます
~ はホームフォルダ($HOME)です
Skill は AI が従う指示です。入れる前にファイルを読み、信頼できる提供元のものだけを入れてください。
Mac:Command+スペースで Terminal と入力 · Windows:下のコマンドは PowerShell では動きません。上の「AI にインストールしてもらう」を使ってください
repo を一時フォルダにダウンロードし、SKILL.md のあるフォルダだけをコピーします
コマンドを確認中 · 確認が通るとコピーボタンが出ます
Checked against official docs 2026年11月15日 · Source: learn.chatgpt.com
自分でインストールした Skill は使えません。ディレクトリのプラグインに含まれる Skill だけが使えます
この Skill を ChatGPT で使うには、上の方法で ChatGPT デスクトップアプリを使ってください
Checked against official docs 2026年11月15日 · Source: learn.chatgpt.com
この文をコピーして Codex のチャットに貼り付けます · ChatGPT デスクトップアプリ内の Codex、Codex CLI、IDE 拡張機能で使えます
For one project, paste it into a chat that is open in that project’s folder · The AI always shows you the path before installing
The AI tells you what it will do first and asks your permission at every step
Codex は新しくインストールした Skill を自動で見つけます。表示されない場合は Codex を再起動してください · 使い方:ChatGPT では @ を入力して Skill を選びます · Codex CLI や IDE 拡張機能では /skills を実行するか、$ に続けて Skill 名を入力します
Checked against official docs 2026年11月15日 · Source: learn.chatgpt.com
Skill は AI が従う指示です。入れる前にファイルを読み、信頼できる提供元のものだけを入れてください。
Mac:Command+スペースで Terminal と入力 · Windows:下のコマンドは PowerShell では動きません。上の「AI にインストールしてもらう」を使ってください
repo を一時フォルダにダウンロードし、SKILL.md のあるフォルダだけをコピーします
コマンドを確認中 · 確認が通るとコピーボタンが出ます
この文をコピーして Cursor のチャットに貼り付けます
For one project, paste it into a chat that is open in that project’s folder · The AI always shows you the path before installing
The AI tells you what it will do first and asks your permission at every step
Cursor の Agent チャットで / を入力し mcd-wrapped を選ぶ
Checked against official docs 2026年11月12日 · Source: cursor.com
Skill は AI が従う指示です。入れる前にファイルを読み、信頼できる提供元のものだけを入れてください。
Mac:Command+スペースで Terminal と入力 · Windows:下のコマンドは PowerShell では動きません。上の「AI にインストールしてもらう」を使ってください
repo を一時フォルダにダウンロードし、SKILL.md のあるフォルダだけをコピーします
コマンドを確認中 · 確認が通るとコピーボタンが出ます
Skill を読めるほかのアプリ向けです。この文には Claude Code、Codex、Cursor のパスが入っていて、AI が使っているアプリに合わせて選びます · Copy this sentence into the app’s chat
For one project, paste it into a chat that is open in that project’s folder · The AI always shows you the path before installing
The AI tells you what it will do first and asks your permission at every step
Checked against official docs 2026年11月12日 · Source: code.claude.com, learn.chatgpt.com, cursor.com
Gemini CLI や GitHub Copilot など Agent Skills 対応の他のアプリはフォルダが違います。そのアプリのガイドを見て、SKILL.md のあるフォルダをコピーしてください。
2026年11月11日 に Claude Code、Codex、Cursor の公式ガイドで skill フォルダを確認
以下は提供元の repo の文章で、PopNx MCP の指示ではありません
2,309 文字 · GitHub で全文を開く
---
name: mcd-wrapped
description: 麦当劳 MCP 工具箱:探测全部 35 个 tool 的真实返回、生成个人年度消费年报、生成麦当劳数据全景报告、精算积分抽奖期望值,并可选方言语音播报。当用户说"麦当劳 MCP 有哪些能力""麦当劳年度报告""麦麦数据""麦当劳全景""抽奖值不值""今年在麦当劳花了多少钱""M-CODE WRAPPED"时使用本技能。
agent_created: true
---
# 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` — 合规红线
質問、コツの共有、使えないことの報告ができます。「役に立った」の多い順です。