Bring Food Delivery
to Vercel AI SDK
Create your Vinkius account to connect PedidosYa to Vercel AI SDK and start using all 14 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 PedidosYa MCP Server?
Connect your PedidosYa partner account to any AI agent and manage the full delivery lifecycle across Latin America's leading food delivery platform.
What you can do
- Order Management — Receive, accept, reject, and mark orders as ready for pickup, all through natural conversation without touching the partner tablet
- Menu Control — Toggle products on/off (sold out) and update prices in real-time on your live PedidosYa listing
- Courier Logistics — Request on-demand PedidosYa couriers for B2B deliveries and track their GPS position in real-time
- Venue Management — Query all your registered restaurants, their operating hours, preparation times, and marketplace performance
- Webhook Automation — Configure event-driven webhooks for new orders, cancellations, and courier assignments
How it works
- Subscribe to this server
- Enter your PedidosYa Partner Client ID and Secret
- Start managing your delivery operations from Claude, Cursor, or any MCP-compatible client
Who is this for?
- Restaurant Owners — accept orders and manage sold-out items without touching the POS tablet
- Dark Kitchen Operators — orchestrate multi-brand virtual kitchens across venues programmatically
- Logistics Managers — request on-demand courier pickups and track deliveries in real-time
Built-in capabilities (14)
Once accepted, the restaurant commits to preparing the items within the estimated preparation time. The PedidosYa system will begin assigning a delivery courier. Accept a pending order
g., new_order, order_cancelled, courier_assigned, order_delivered). Create a new webhook subscription
Get full details of a specific order
Get details of a specific restaurant
g., Entradas, Platos Principales, Bebidas, Postres). Each section contains its products with prices, descriptions, and availability status. List menu sections and products for a restaurant
Filter by status to find pending orders requiring acceptance, orders being prepared, orders ready for pickup, or completed deliveries. List incoming orders
Each venue includes its operating status, delivery radius, and current open/closed state. List your partner restaurants
). List configured webhooks
This triggers the courier dispatch if one hasn't already arrived. Mark an order as ready for courier pickup
Valid rejection reasons include: out_of_stock, closing_soon, too_busy, item_unavailable. Frequent rejections may affect your venue's ranking on the platform. Reject a pending order
Used for scheduling on-demand courier pickups, ideal for B2B deliveries outside the regular order flow. Specify the pickup and dropoff addresses and package details. Request a PedidosYa courier for a delivery
Track a courier shipment in real-time
Price changes take effect immediately on the marketplace listing. The price should be in the local currency of the venue's country. Update the price of a menu product
Use this to mark items as temporarily unavailable (sold out) or to bring them back online without editing the full menu. Toggle a menu product on or off
Why Vercel AI SDK?
The Vercel AI SDK gives every PedidosYa tool full TypeScript type inference, IDE autocomplete, and compile-time error checking. Connect 14 tools through Vinkius and stream results progressively to React, Svelte, or Vue components. works on Edge Functions, Cloudflare Workers, and any Node.js runtime.
- —
TypeScript-first: every MCP tool gets full type inference, IDE autocomplete, and compile-time error checking out of the box
- —
Framework-agnostic core works with Next.js, Nuxt, SvelteKit, or any Node.js runtime. same PedidosYa integration everywhere
- —
Built-in streaming UI primitives let you display PedidosYa tool results progressively in React, Svelte, or Vue components
- —
Edge-compatible: the AI SDK runs on Vercel Edge Functions, Cloudflare Workers, and other edge runtimes for minimal latency
PedidosYa in Vercel AI SDK
Why run PedidosYa with Vinkius?
The PedidosYa 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 14 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 PedidosYa using Vinkius. You will never be left in the dark about what your AI agents are doing with your tools.
PedidosYa and 4,000+ other AI tools. No hosting, no code, ready to use.
Professionals who connect PedidosYa to Vercel AI SDK 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
PedidosYa for Vercel AI SDK
Every request between Vercel AI SDK and PedidosYa 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
Can my AI agent accept or reject incoming orders automatically?
Yes! Use accept_order to confirm an incoming order or reject_order with a reason (out_of_stock, closing_soon, too_busy, item_unavailable). Once accepted, the PedidosYa system begins assigning a delivery courier. When ready, use mark_order_ready to signal the courier for pickup.
How do I mark items as sold out on my live menu?
Use the update_product_status tool with the restaurant ID, product ID, and set available to false. The product will immediately show as unavailable on PedidosYa. To bring it back, call the same tool with available set to true.
Can I request a courier for deliveries outside of food orders?
Yes! Use the request_courier tool to create a shipment request with pickup and dropoff addresses. This leverages PedidosYa's logistics network for B2B courier services, independent of restaurant orders. Track the courier in real-time with track_shipment.
How does the Vercel AI SDK connect to MCP servers?
Import createMCPClient from @ai-sdk/mcp and pass the server URL. The SDK discovers all tools and provides typed TypeScript interfaces for each one.
Can I use MCP tools in Edge Functions?
Yes. The AI SDK is fully edge-compatible. MCP connections work on Vercel Edge Functions, Cloudflare Workers, and similar runtimes.
Does it support streaming tool results?
Yes. The SDK provides streaming primitives like useChat and streamText that handle tool calls and display results progressively in the UI.
createMCPClient is not a function
Install: npm install @ai-sdk/mcp
Explore More MCP Servers
View all →
HelpCrunch
12 toolsEngage customers with live chat, email automation, and a knowledge base that reduces support workload and boosts satisfaction.

Google Cloud Storage Bucket
4 toolsThis MCP does exactly one thing: it manages files in a single Google Cloud Storage Bucket. That's its only function, and nothing else. Incredible for giving your AI secure file storage.

Figma Alternative
16 toolsAccess Figma design files, comments, components and images via API — inspect nodes, render exports and track version history from any AI agent.

GitHub
12 toolsManage repositories, track issues, and search code via AI agents with GitHub.
