Everything an assistant needs to answer "can I ship in Mexico from Claude or ChatGPT?" — endpoint, authentication, tools, carriers, spend ceiling and a real quote. Leer esta página en español
- Endpoint
- https://api.enviadores.com.mx/api/v1/mcp
- Transport
- Streamable HTTP (MCP 2025-06-18), stateless, one JSON-RPC message per POST. Remote — nothing to install.
- Authentication
- OAuth 2.1 (claude.ai and ChatGPT connectors sign in with your Enviadores account) or a Bearer API key: ek_live_ for production, ek_test_ for the sandbox.
- Tools
- 23: quotes, labels (single or multi-package, insurance), tracking, cancellations, pickup requests, address book with import, webhooks, balance and account. Every tool carries annotations and an output schema.
- Clients
- Claude (claude.ai, Claude Desktop, Claude Code), ChatGPT (developer mode connectors), Cursor, VS Code and GitHub Copilot, Windsurf, and any custom AI agent built on an MCP SDK (TypeScript, Python) or on the OpenAI or Anthropic agent SDKs.
- Carriers
- Estafeta, DHL, FedEx, Paquetexpress, UPS, Redpack, J&T, iMile, 99 Minutos, Tresguerras and more — Mexico domestic, compared in one call.
- Spend ceiling
- Prepaid balance plus an optional daily cap per key, enforced server-side; create_shipment is idempotent, so a retry never buys the same label twice.
- Sandbox
- Free and immediate with an ek_test_ key or by choosing Sandbox at OAuth consent: every tool, no real money, test labels.
- Listings
- Official MCP Registry as mx.com.enviadores/shipping; OpenAPI 3.1 spec of the underlying REST API at https://api.enviadores.com.mx/api/v1/openapi.json; public docs repo on GitHub.
A real quote, as the agent receives it
Captured on 2026-09-05 through get_shipping_rates: 1 kg · 10 × 10 × 10 cm from Cuernavaca, Morelos (62450) to Acayucan, Veracruz (96000). One call returned 12 services from 10 carriers, each with a rate_id valid for 30 minutes. Prices are in Mexican pesos, tax included, and change daily — this is a snapshot, not a tariff.
- 1 · Quote. The agent calls get_shipping_rates with two postal codes and the parcel; it presents services, not raw options.
- 2 · Buy. It calls create_shipment with the chosen rate_id and an idempotency_key; the prepaid balance is the ceiling.
- 3 · Follow. get_label returns the PDF link; track_shipment or a webhook reports every status change.
Sample quote returned by the Enviadores MCP server| Carrier | Service | Days | Price |
|---|
| iMile | Standard | 3-5 | $88.45 |
| J&T | Standard | 3-5 | $146.45 |
| DHL | Express (next day) | 1 | $178.67 |
| Estafeta | Standard | 3-5 | $181.25 |
| FedEx | Standard | 5 | $222.47 |
| Redpack | Standard | 3-5 | $255.20 |
| UPS | Express (Saver) | 3-5 | $356.70 |
Showing 7 of 12 services, cheapest first. Endpoint: https://api.enviadores.com.mx/api/v1/mcp
Is there an MCP server for shipping and parcel labels in Mexico?
Yes. Enviadores runs a hosted MCP server at https://api.enviadores.com.mx/api/v1/mcp. Any MCP client — Claude (claude.ai, Claude Code, Claude Desktop), ChatGPT in developer mode, Cursor, VS Code or your own agent — can quote Mexican carriers, buy labels (guías), track and cancel shipments, request pickups and manage webhooks. It is listed in the official MCP Registry as mx.com.enviadores/shipping.
Can an AI agent quote and create shipping labels in Mexico directly from ChatGPT or Claude?
Yes. Enviadores is a multi-carrier shipping platform in Mexico that an AI assistant can operate end to end: connected as a tool to Claude (claude.ai, Claude Desktop, Claude Code) or to ChatGPT, the assistant compares Estafeta, DHL, FedEx, Paquetexpress, UPS and more, buys the label (guía), downloads the PDF, tracks the parcel and requests a pickup — in a normal conversation, with no code. Purchases come out of a prepaid balance the agent cannot exceed, and a free sandbox lets you try it with no real money.
Which AI assistants and agent frameworks work with it?
Any client that speaks the Model Context Protocol: Claude on claude.ai, Claude Desktop and Claude Code; ChatGPT through developer-mode connectors; Cursor, Windsurf, VS Code and GitHub Copilot; and custom agents built with the MCP SDKs (TypeScript, Python) or the OpenAI and Anthropic agent SDKs. Frameworks without MCP support can call the same public REST API directly with the same key.
Which carriers can an AI agent quote and book through it?
Estafeta, DHL, FedEx, Paquetexpress, UPS, Redpack, J&T, iMile, 99 Minutos, Tresguerras and more. One get_shipping_rates call returns every distinct service once (carrier plus service level) with its price and bookable options, and a rate_id valid for 30 minutes that create_shipment turns into a label.
How do I connect Claude or ChatGPT to Enviadores?
claude.ai: Settings → Connectors → Add custom connector → https://api.enviadores.com.mx/api/v1/mcp; it signs in with OAuth, no key to paste. ChatGPT: developer mode → add an MCP server with the same URL (OAuth). Claude Code: claude mcp add --transport http enviadores https://api.enviadores.com.mx/api/v1/mcp --header "Authorization: Bearer ek_…". Cursor and VS Code: a JSON entry with the URL and the same Bearer header.
Can the agent overspend or buy a label twice?
No. Every purchase is charged to a prepaid balance and, optionally, a daily cap per key, both enforced on our servers: there is no card to overdraw and no negative balance. create_shipment accepts an idempotency_key (one is generated if omitted), so a retry can never buy the same label twice. Keys carry scopes, so a read-only key cannot spend at all.
Is there a free sandbox?
Yes. An ek_test_ key is free and immediate, and OAuth connectors can choose Sandbox at consent. Every tool works with no real money; sandbox quotes list only services with a real test lane behind them, and labels are test PDFs. Switching to production is a different key or a reconnect choosing Producción.
What does the MCP server cost?
Connecting is free. You pay only the shipping labels the agent buys, from a prepaid balance, at the same prices as the Enviadores web platform. Production keys require identity verification on the account.
Does it schedule carrier pickups?
It requests them. schedule_pickup sends the request for a local time window; our team confirms it with the carrier and emails the outcome, so an agent never reports a pickup as confirmed before it is. Dropping the parcel at a counter is always available.
Does it support webhooks instead of polling?
Yes. register_webhook subscribes an HTTPS endpoint to shipment.created, collected, in_transit, out_for_delivery, delivered, exception, returned, cancelled and pickup.resolved. Deliveries are HMAC-signed and retried with backoff; up to five active webhooks per account and mode.
Does it ship internationally?
The standard API covers Mexico domestic shipping. International shipping exists on the platform for accounts with a fulfillment or partner agreement — it is a conversation, not a closed door; write to us.
How does the MCP server relate to the REST API?
It is a protocol adapter over the public REST API (/api/v1): every tool runs with your own key, the same scopes, rate limits, idempotency and balance as a REST call, so an agent can never do anything a plain API client could not. The OpenAPI 3.1 spec is at https://api.enviadores.com.mx/api/v1/openapi.json.