mcpField
M
mcd-cn

mcd-cn

github.com/ryanchen01Other042 installsUpdated 41w ago
Repository

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

  1. 01Campaign calendar lookup
  2. 02Date-specific calendar queries
  3. 03Coupon availability and claims
  4. 04Personal coupon lookup
  5. 05Human-readable or JSON output

Use cases

  1. 01Checking campaign dates for a selected day
  2. 02Finding available or previously claimed coupons
  3. 03Automatically claiming coupons
  4. 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-cn

After installing, type/mcd-cnin Claude Code to confirm it loaded.

Details

From the project README

mcd-cn

McDonald's China MCP CLI. Human output by default, --json for scripts.

Install

  • Homebrew: brew install ryanchen01/tap/mcd-cn

Config

  • MCDCN_MCP_TOKEN required. Get it from the McDonald's China MCP console.
  • Optional: MCDCN_MCP_URL for 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_TOKEN env var or .env file.
  • Date format for --specifiedDate is yyyy-MM-dd.
  • Rate limit: 600 requests per minute per token.

Comments

Markdown supported