About mcd-cn
mcd-cn is a command-line interface for McDonald's China MCP. It lets users check campaign dates and coupons, claim coupons, and retrieve time information, with human-readable or JSON output.
Key features
- 01Campaign calendar lookup
- 02Date-specific calendar queries
- 03Coupon availability and claims
- 04Personal coupon lookup
- 05Human-readable or JSON output
Use cases
- 01Checking campaign dates for a selected day
- 02Finding available or previously claimed coupons
- 03Automatically claiming coupons
- 04Parsing command results in scripts
MCP support
mcd-cn connects to McDonald's China MCP using a required token and can use a custom server URL.
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ ryanchen01/ mcd-cn --skill mcd-cnAfter installing, type/mcd-cnin Claude Code to confirm it loaded.
Details
From the project READMEmcd-cn
McDonald's China MCP CLI. Human output by default, --json for scripts.
Install
- Homebrew:
brew install ryanchen01/tap/mcd-cn
Config
MCDCN_MCP_TOKENrequired. Get it from the McDonald's China MCP console.- Optional:
MCDCN_MCP_URLfor custom server URL.
Common commands
- Campaign calendar:
mcd-cn campaign-calender - Calendar for date:
mcd-cn campaign-calender --specifiedDate 2025-12-09 - Available coupons:
mcd-cn available-coupons - Auto-claim coupons:
mcd-cn auto-bind-coupons - My coupons:
mcd-cn my-coupons - Current time:
mcd-cn now-time-info - JSON output:
mcd-cn available-coupons --json
Notes
- Token can be set via
MCDCN_MCP_TOKENenv var or.envfile. - Date format for
--specifiedDateisyyyy-MM-dd. - Rate limit: 600 requests per minute per token.
Comments
Markdown supported