Bring Food Delivery
to Mastra AI
Create your Vinkius account to connect Meituan Waimai to Mastra AI and start using all 10 AI tools in minutes. Fully managed, enterprise secure, and ready to use without writing a single line of code. No hosting, no server setup — just connect and start using.
Compatible with every major AI agent and IDE
What is the Meituan Waimai MCP Server?
Connect your Meituan Waimai (美团外卖) restaurant operations to any AI agent and transform your delivery management through natural conversation. Meituan Waimai is China's largest food delivery platform, handling millions of daily orders across hundreds of thousands of restaurants.
What you can do
- Order Management — Retrieve detailed order information, list orders by status (pending, confirmed, delivering, completed, cancelled)
- Order Lifecycle Control — Confirm new orders, mark orders as delivering, complete deliveries, or cancel with explanations
- Refund Processing — Approve or reject customer refund requests with detailed reasoning and order verification
- Restaurant Information — Query restaurant details including ratings, addresses, business hours, and delivery coverage
- Menu Management — List full restaurant catalogs, filter by category, view prices, descriptions, and stock levels
- Stock Control — Update item availability in real-time, mark items as sold out, or replenish inventory
- Delivery Tracking — Mark orders as out for delivery with rider information for customer transparency
How it works
- Subscribe to this server
- Enter your Meituan Waimai App ID and App Secret
- Start managing your restaurant operations from Claude, Cursor, or any MCP-compatible client
Your AI agent becomes your restaurant operations manager, handling order confirmations, monitoring stock levels, processing refunds, and optimizing your menu — all through conversational commands.
Who is this for?
- Restaurant Owners — Monitor incoming orders, manage menus, and handle refunds without logging into the merchant dashboard
- Multi-Location Operators — Query order volumes and restaurant info across multiple POIs from a single AI interface
- Kitchen Staff — Check order details, confirm new orders, and mark items as sold out when ingredients run low
- Customer Service — Track order status, investigate refund claims, and resolve delivery issues quickly
Built-in capabilities (10)
Requires a cancellation reason explaining why the order is being cancelled (e.g., "restaurant closed", "item out of stock", "unable to prepare"). The order must be in a cancellable state (not already completed or delivered). Use carefully as cancellations impact merchant ratings and customer experience. Cancel a Meituan delivery order with a reason
This is the final state in the order lifecycle and indicates the customer has received their food. Should only be called after the delivery rider has confirmed drop-off or the customer has picked up the order. Triggers payment settlement to the merchant. Mark a Meituan delivery order as completed
This transitions the order to confirmed status and begins the preparation workflow. Required step before marking the order as delivering. Use the order ID from the order list and the restaurant POI ID. Essential for acknowledging new orders and starting the fulfillment process. Confirm a pending Meituan delivery order
Use the order ID obtained from the order list to track specific orders, verify order contents, check delivery addresses, or investigate customer complaints. Essential for order management and customer service operations. Get detailed information about a specific Meituan delivery order
Filter by order status: 1=待确认 (pending confirmation), 3=已确认 (confirmed), 5=配送中 (delivering), 7=已完成 (completed), 8=已取消 (cancelled). Pagination uses page number and limit parameters. Critical for monitoring incoming orders, tracking order volume, and managing the order pipeline. List orders for a Meituan restaurant with optional status filter
Use the POI ID (Point of Interest identifier) to get restaurant details before managing orders, verifying delivery coverage, or checking business hours. Essential for multi-restaurant operators managing multiple POIs. Get detailed information about a Meituan restaurant/POI
When rejecting, provide a reason explaining the refusal. Refund requests typically come with customer explanations and evidence. Use order details to verify the claim before making a decision. Approved refunds are processed back to the customer's original payment method. Approve or reject a refund request for a Meituan order
Optionally filter by category ID to get items from a specific menu section (e.g., appetizers, mains, drinks). Critical for inventory management, price updates, and menu optimization. Returns stock quantities to help identify low-stock items. List menu items for a Meituan restaurant
Optionally includes delivery rider name and phone number for customer tracking. Use this for self-delivery orders where the restaurant manages their own riders. For Meituan-managed delivery, the platform handles this automatically. Mark a Meituan order as being delivered (out for delivery)
Use this to mark items as sold out (stock=0) when ingredients run out, or replenish stock when new inventory arrives. Stock changes immediately reflect on the customer-facing menu. Essential for preventing orders for unavailable items and maintaining accurate inventory. Food ID is obtained from the list_menus tool. Update stock quantity for a menu item in Meituan
Why Mastra AI?
Mastra's agent abstraction provides a clean separation between LLM logic and Meituan Waimai tool infrastructure. Connect 10 tools through Vinkius and use Mastra's built-in workflow engine to chain tool calls with conditional logic, retries, and parallel execution. deployable to any Node.js host in one command.
- —
Mastra's agent abstraction provides a clean separation between LLM logic and tool infrastructure. add Meituan Waimai without touching business code
- —
Built-in workflow engine chains MCP tool calls with conditional logic, retries, and parallel execution for complex automation
- —
TypeScript-native: full type inference for every Meituan Waimai tool response with IDE autocomplete and compile-time checks
- —
One-command deployment to any Node.js host. Vercel, Railway, Fly.io, or your own infrastructure
Meituan Waimai in Mastra AI
Why run Meituan Waimai with Vinkius?
The Meituan Waimai connection runs on our fully managed, secure cloud infrastructure. We handle the hosting, maintenance, and security so you don't have to deal with servers or code. All 10 tools are ready to work instantly without any complex setup.
You stay in complete control of your data. Your AI only accesses the information you approve, keeping your sensitive passwords and private details completely safe. Plus, with automatic optimizations, your AI works faster and more efficiently.

* Every connection is hosted and maintained by Vinkius. We handle the security, updates, and infrastructure so you don't have to write code or manage servers. See our infrastructure
Over 4,000 integrations ready for AI agents
Explore a vast library of pre-built integrations, optimized and ready to deploy.
Connect securely in under 30 seconds
Generate tokens to authenticate and link external services in a single step.
Complete visibility into every agent action
Audit live requests, latency, success rates, and active security compliance policies.
Optimize spending and track token ROI
Analyze real-time token consumption and cost metrics detailed by connection.




Explore our live AI Agents Analytics dashboard to see it all working
This dashboard is included when you connect Meituan Waimai using Vinkius. You will never be left in the dark about what your AI agents are doing with your tools.
Meituan Waimai and 4,000+ other AI tools. No hosting, no code, ready to use.
Professionals who connect Meituan Waimai to Mastra AI through Vinkius don't need to write code, manage servers, or worry about security. Everything is pre-configured, secure, and runs automatically in the background.
Raw MCP | Vinkius | |
|---|---|---|
| Ready-to-use MCPs | Find and configure each manually | 4,000+ MCPs ready to use |
| Connection Setup | Manual coding & server setup | 1-click instant connection |
| Server Hosting | You host it yourself (needs 24/7 uptime) | 100% hosted & managed by Vinkius |
| Security & Privacy | Stored in plaintext config files | Bank-grade encrypted vault |
| Activity Visibility | Blind execution (no logs or tracking) | Live dashboard with real-time logs |
| Cost Control | Runaway AI token spend risk | Automatic budget limits |
| Revoking Access | Must delete files or code to stop | 1-click disconnect button |
How Vinkius secures
Meituan Waimai for Mastra AI
Every request between Mastra AI and Meituan Waimai is protected by our secure gateway. We automatically keep your sensitive data private, prevent unauthorized access, and let you disconnect instantly at any time.
Frequently asked questions
How do I get my Meituan Waimai App ID and App Secret?
Log in to the Meituan Waimai Developer Console, navigate to API Documentation > Access Guide, and register your application. You'll receive an App ID and App Secret. Make sure your application has the required API permissions for order management, menu access, and refund handling. The signature algorithm uses MD5 hashing of sorted parameters combined with your App Secret.
What's the order lifecycle in Meituan Waimai?
The typical order flow is: 1) Pending (待确认, status=1) — Customer placed order, awaiting merchant confirmation. 2) Confirmed (已确认, status=3) — Merchant accepted the order, kitchen starts preparation. 3) Delivering (配送中, status=5) — Food is out for delivery with rider. 4) Completed (已完成, status=7) — Customer received the order, payment settled. 5) Cancelled (已取消, status=8) — Order was cancelled by merchant or customer. At each stage, you can query details, and merchants can confirm, mark delivering, or complete the order.
How do I handle stock management and sold-out items?
Use the update_stock tool to set stock quantities for menu items. Set stock=0 to mark an item as sold out (it will immediately disappear from the customer menu). Set a positive number to replenish stock. Get the food ID from the list_menus tool first. This is critical during peak hours when ingredients run out — quickly updating stock prevents customers from ordering unavailable items and reduces refund requests.
How does Mastra AI connect to MCP servers?
Create an MCPClient with the server URL and pass it to your agent. Mastra discovers all tools and makes them available with full TypeScript types.
Can Mastra agents use tools from multiple servers?
Yes. Pass multiple MCP clients to the agent constructor. Mastra merges all tool schemas and the agent can call any tool from any server.
Does Mastra support workflow orchestration?
Yes. Mastra has a built-in workflow engine that lets you chain MCP tool calls with branching logic, error handling, and parallel execution.
createMCPClient not exported
Install: npm install @mastra/mcp
Explore More MCP Servers
View all →
Neon
17 toolsManage serverless PostgreSQL databases via Neon — provision projects, branches, endpoints and roles from any AI agent.

ArcGIS
10 toolsAutomate mapping and spatial analysis via ArcGIS — perform geocoding, route solving, vehicle routing, and calculate origin-destination matrices from any AI agent.

Resend Alternative
14 toolsSend emails and manage domains via Resend — send transactional emails, track deliveries, manage domains and API keys from any AI agent.

PagerDuty Incident Trigger
1 toolsThis MCP does exactly one thing: it triggers incidents in PagerDuty. That's its only function, and nothing else. Incredible for giving your AI agents the power to wake up engineers.
