McDonald's China MCP Integration for Openclaw

An AI agent skill that integrates with McDonald's China via the MCP protocol for automated ordering, coupon management, and reward redemption.

kongdeyu
v1.0.0
Mar 11, 2026
0
1.2k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install mcdonalds

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install mcdonalds using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is McDonald's China MCP Integration?

The McDonald's China MCP skill is a powerful integration designed for AI agents to interact seamlessly with the McDonald's digital ecosystem. By leveraging the Model Context Protocol (MCP), it allows users to automate complex tasks such as browsing menus, managing discount coupons, and checking loyalty points. As a key component of the Openclaw Skills library, it bridges the gap between natural language commands and the McDonald's China service infrastructure.

This skill is particularly useful for developers looking to build lifestyle automation workflows. It supports the full lifecycle of food ordering, from locating the nearest store based on delivery addresses to calculating final prices and creating orders. By using this Openclaw Skills integration, users can transform how they interact with daily food services through a programmatic or agent-led interface.

McDonald's China MCP Integration Use Cases

  • Checking and automatically binding available discount coupons to a user account.
  • Automating the McDelivery process by selecting addresses and querying localized menus.
  • Managing loyalty points by browsing the points mall and redeeming rewards programmatically.
  • Integrating food ordering capabilities into broader productivity or personal assistant workflows.

How McDonald's China MCP Integration Works

  1. Authentication: The skill connects to the McDonald's China MCP server using a secure JSON-RPC 2.0 protocol over HTTP.
  2. Session Initialization: The agent uses the MCD_MCP_TOKEN to access user-specific data such as addresses and point balances.
  3. Context Discovery: For ordering, the skill identifies the relevant storeCode and addressId to fetch accurate pricing and availability.
  4. Transaction Execution: The agent processes specific commands like price calculation, coupon application, and order creation to complete the user request.

McDonald's China MCP Integration Setup

To get started with this skill in the Openclaw Skills ecosystem, follow these steps:

  1. Log in to the McDonald's Open Platform at https://open.mcd.cn/mcp using your personal account.
  2. Navigate to the Console (控制台) to retrieve your MCP Token.
  3. Set up your environment variable:
export MCD_MCP_TOKEN="your_actual_token_here"
  1. Verify the connection by calling the account query tool:
python3 scripts/mcp_call.py query-my-account

McDonald's China MCP Integration Data Schema & Taxonomy

The skill organizes data around MCP tools and user account parameters. Note that all financial amounts are handled in cents (Fen).

Data Category Description
Address Data Includes addressId, storeCode, and beCode for delivery routing
Menu Schema Contains meal IDs, descriptions, and pricing in integer cents
Coupons Metadata for available-coupons and auto-bound status
Points Mall Product lists and point-cost values for redemption

McDonald's China MCP Integration Advanced Features

  • Automatic coupon binding logic to ensure the best available discounts are applied without manual intervention.
  • Multi-agent support for complex workflows, such as triggering an order based on calendar events or budget thresholds.
  • Full support for the McDelivery lifecycle, allowing for completely headless food ordering via Openclaw Skills.
  • Real-time point balance tracking and automated redemption for specific points-mall products.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*