Luckin Coffee MCP integration for AI agents.

Connect AI agents to Luckin Coffee through 8 structured actions, including cancelorder, createorder, and previeworder. Review authentication, inputs, workflo…

ACTION CONTRACTS
8
AUTHENTICATION
API key
SOURCE STATUS
Provider-backed

CATALOG SOURCE REVIEWED AUGUST 23, 2026 / ACTION NAMES AND SCHEMAS DERIVED FROM WORKING MACHINES PROVIDER SOURCE

CAPABILITY PROFILE

What the Luckin Coffee integration exposes

The Luckin Coffee Agent App exposes 8 provider-backed actions for location and productivity work. Its current contract lets an authorized agent cancel a luckin coffee order. this changes a real order and may be irreversible; confirm the exact order with the user first, create a real luckin coffee order that may require payment. preview the order first and obtain the user's confirmation before calling this action, and preview a luckin coffee order, including prices and available coupons, without creating it. These operations are called through Working Machines as typed capabilities rather than through browser navigation or copied UI steps.

A connection uses API key. Before execution, the agent can inspect the selected action, its required fields, declared scopes, and expected output contract. Provider credentials remain inside the Working Machines runtime; the calling agent receives the capability and its structured result, not the underlying secret.

For reliable operation, start with the narrowest action that satisfies the task, resolve stable provider identifiers before changing state, and validate the returned object or status after execution. Availability still depends on the connected Luckin Coffee account, granted provider permissions, workspace policy, region, plan, and upstream API behavior.

VERIFIED ACTION SAMPLE

Real Luckin Coffee capabilities.

Showing 8 of 8 actions. Risk labels are conservative signals based on operation names, not substitutes for provider documentation or runtime policy.

cancelOrderREVIEW

Cancel a Luckin Coffee order. This changes a real order and may be irreversible; confirm the exact order with the user first.

INPUTS: orderId

createOrderREVIEW

Create a real Luckin Coffee order that may require payment. Preview the order first and obtain the user's confirmation before calling this action.

INPUTS: deptId / productList / longitude / latitude / couponCodeList

previewOrderREVIEW

Preview a Luckin Coffee order, including prices and available coupons, without creating it.

INPUTS: deptId / productList

queryOrderDetailInfoREVIEW

Get the current status, pickup details, products, payment, and delivery information for an order.

INPUTS: orderId

queryProductDetailInfoREVIEW

Get the current details, attributes, SKU, and price for one Luckin Coffee product at a store.

INPUTS: deptId / productId

queryShopListREVIEW

Find nearby Luckin Coffee stores using a location and optional store name.

INPUTS: deptName / longitude / latitude

searchProductForMcpREVIEW

Search and recommend Luckin Coffee products at a specific store from the user's original request.

INPUTS: deptId / query

switchProductREVIEW

Change a selectable attribute on a Luckin Coffee product and return the updated SKU and price.

INPUTS: deptId / productId / skuCode / attrOperationParam / amount

INPUT CONTRACTS

Know what the action needs before it runs.

cancelOrder

orderIdREQUIRED
The exact order ID to cancel.

createOrder

deptIdREQUIRED
The Luckin Coffee store ID returned by `queryShopList`.
productListREQUIRED
The configured products to order.
longitudeREQUIRED
Longitude in decimal degrees.
latitudeREQUIRED
Latitude in decimal degrees.
couponCodeListOPTIONAL
Coupon codes returned by `previewOrder`.

previewOrder

deptIdREQUIRED
The Luckin Coffee store ID returned by `queryShopList`.
productListREQUIRED
The configured products to preview.

queryOrderDetailInfo

orderIdREQUIRED
The lossless order ID string returned by `createOrder`.

PROVIDER-SPECIFIC WORKFLOWS

Jobs this Agent App can support

Inspect CancelOrder

Cancel a Luckin Coffee order. This changes a real order and may be irreversible; confirm the exact order with the user first. Use this as a bounded discovery step, retain the returned identifier, and avoid expanding the read beyond the task's stated scope.

cancelOrder

Verify with CreateOrder

Create a real Luckin Coffee order that may require payment. Preview the order first and obtain the user's confirmation before calling this action. Compare the returned provider state with the intended outcome and preserve stable IDs or canonical links in the run record.

createOrder

SAFETY BOUNDARY

Operate Luckin Coffee with explicit limits

  • Authorize Luckin Coffee with API key and grant only the provider access required by the selected actions.
  • The current action names appear read-oriented, but returned Luckin Coffee data may still be sensitive and should be minimized before it enters model context.
  • Do not infer permission from catalog visibility. Workspace policy, connection identity, and upstream authorization still govern execution.
  • No provider scope string is declared on the sampled actions. Verify the connected account's actual permissions in Luckin Coffee rather than assuming unrestricted access.
  • After a call, inspect the structured result and execution record before reporting that the Luckin Coffee task completed successfully.

CONNECTION MODEL

API key

The Bearer token shared by Luckin Coffee MCP and CLI. Sign in and create or copy it at https://open.lkcoffee.com/mcp. Keep this token private because it is linked to your Luckin Coffee account session.

Working Machines stores provider credentials behind the execution boundary. An agent can use an authorized connection identity, but catalog discovery alone does not reveal OAuth tokens, API keys, or provider secrets.

READ SIGNALS
0
WRITE SIGNALS
0
HIGH IMPACT
0
REVIEW SIGNALS
8

EVIDENCE AND AVAILABILITY

Provider reference

Action names, input fields, authentication types, and counts on this page are generated from the Working Machines provider catalog. Provider behavior, quotas, object semantics, account eligibility, and regional availability remain governed by Luckin Coffee.

Official Luckin Coffee website

ONE CONNECTION. REAL WORK.

Give your agent software it can use.

Connect through MCP or explore the Agent App catalog and choose only the capabilities your workflow needs.

EXPLORE AGENT APPS