my-coffee

Orders Luckin Coffee for pickup via the my-coffee MCP server with preview and payment QR codes.

Updated Jul 20, 2026
One-click install
npx skills add https://github.com/peachest/skills --skill my-coffee-peachest
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: my-coffee
Source: https://github.com/peachest/skills/tree/main/misc/my-coffee
Command: npx skills add https://github.com/peachest/skills --skill my-coffee-peachest

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve? Ordering Luckin Coffee through an AI agent requires strict sequencing: locating a store, matching products to SKUs, previewing prices with coupons, and only then creating a paid order. This Skill enforces that workflow through the my-coffee MCP server so orders are placed correctly with the right store, items, discounts, and payment QR code. ## Core Features & Use Cases - Store and Product Search: Query nearby Luckin stores by coordinates and match requests like "拿铁" to sellable products and SKUs, including cup size, temperature, sweetness, and milk base customizations. - Guarded Order Placement: Enforces the sequence confirm store → confirm items → previewOrder → createOrder, always passing coupon codes through and displaying original price, discount, and final amount in ¥. - Order Management: Query order status and pickup codes (only after payment), and cancel orders by orderId. - Use Case: A user says "帮我在附近瑞幸点一杯冰拿铁". The agent locates stores, confirms the store and drink, previews the discounted price, creates the order, and returns a payment QR code with a clickable link. ## Quick Start Ask the agent to order a Luckin coffee for pickup at a nearby store and confirm the store and drink when prompted.

Frequently Asked Questions about my-coffee

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I order Luckin Coffee with an AI agent?▼

Configure the my-coffee MCP server with a LUCKIN_MCP_TOKEN, then ask the agent to order a drink. The agent queries stores by coordinates, confirms the store and product, previews the price with coupons, and creates the order with a payment QR code.

How to get a LUCKIN_MCP_TOKEN for the my-coffee MCP server?▼

Visit the MCP open platform at https://open.lkcoffee.com/mcp, log in, and create a token. Provide it via the LUCKIN_MCP_TOKEN environment variable, directly in chat, or save it to ~/.my-coffee/LUCKIN_MCP_TOKEN with your explicit consent.

Can I customize cup size, sweetness, or milk when ordering?▼

Yes. The agent recognizes attributes like cup size, temperature, sweetness, coffee beans, and milk base. It calls queryProductDetailInfo to check available options and switchProduct to select the correct SKU before ordering.

Why can't I see my pickup code right after ordering?▼

Pickup codes and estimated pickup times are only shown after payment is completed. Before payment, the agent displays only the order number, store, items, prices, and the payment QR code from payOrderQrCodeUrl.

Does the skill work without a configured MCP server?▼

Yes, as a fallback it can call the MCP HTTP endpoint directly with curl using a valid token from the environment, chat, or local token file. Requests must include the Accept header for application/json and text/event-stream.

Why does the agent ask me to confirm the store before ordering?▼

Store confirmation is a hard constraint: the agent must never auto-select the nearest store. It lists up to five returned stores and waits for your choice to ensure the pickup location is correct before creating any order.