AI agents can now ship parcels across Latin America — Mexico, Colombia, Chile, Brazil, Guatemala, Argentina and more (envíos, guías, paquetería). This remote MCP server wraps the Envia.com shipping API — one server, many countries — with four tools: quote_rates (compare every carrier, cheapest flagged), create_shipment (buy a label / guía → tracking_number + PDF label_url), query_tracking (unified status by tracking number), and cancel_shipment.
{
"mcpServers": {
"latam-logistics": {
"type": "http",
"url": "https://logi-latam.wishpool.app/mcp",
"headers": {
"x-envia-token": "your_envia_token",
"x-envia-env": "sandbox"
}
}
}
}
Get a sandbox token instantly (self-service, no review) at ship-test.envia.com; production tokens come from your live account at envia.com. Sandbox and production tokens are separate. The token never leaves the request: on each call the server sends it as the Authorization: Bearer header directly to Envia and stores nothing. x-envia-env defaults to sandbox (no real shipping, no charge).
Set country for a domestic envío, or origin_country + destination_country for a cross-border one. Only countries with a confirmed Envia currency are exposed:
| Code | Country | Currency | Postal code |
|---|---|---|---|
| MX | Mexico | MXN | 5-digit CP |
| CO | Colombia | COP | 6-digit — city must be the 8-digit DANE code |
| CL | Chile | CLP | 7-digit |
| BR | Brazil | BRL | 8-digit CEP (NNNNN-NNN) |
| GT | Guatemala | GTQ | 5-digit |
| AR | Argentina | ARS | 4-digit or CPA |
| US | United States | USD | 5-digit ZIP |
| CA | Canada | CAD | A1A1A1 |
| ES | Spain | EUR | 5-digit |
Give quote_rates an origin and a destination address, the country, and the packages (weight in kg, dimensions in cm). It returns every carrier service — FedEx, DHL, Estafeta, Servientrega, Chilexpress, Correios, Andreani and more — with its total price, currency and delivery estimate, and flags the cheapest. Read-only; it spends nothing.
create_shipment buys a label for the carrier + service you chose from a quote and returns the tracking_number, a printable label_url (PDF) and the price. A production token buys a real guía and charges your Envia balance; sandbox does not.
x-envia-env defaults to sandbox, so a mis-config never ships a real parcel or spends money.x-agentpay-max-amount, x-agentpay-approval-above, x-agentpay-allowed-tools — set by the human owner in client config; the agent cannot relax them. The declared shipment value is gated before a label is bought.Rates return the cheapest carrier by default; every result embeds numbered next_steps; every error teaches the fix; tracking maps Envia's carrier statuses onto a stable enum (CREATED, PICKED_UP, IN_TRANSIT, OUT_FOR_DELIVERY, DELIVERED, CANCELED, RETURNED, EXCEPTION, …) with a plain-English hint and the raw passthrough.
USA labels (USPS/UPS/FedEx via EasyPost) live in usa-logistics-mcp; India labels (Delhivery/Bluedart/Ekart via Shiprocket) in india-logistics-mcp; Indonesia couriers (via Biteship) in indonesia-logistics-mcp; Taiwan CVS-pickup & home delivery in taiwan-logistics-mcp. The same family covers local payments in 81 countries at mcp.wishpool.app, plus electronic-invoice servers across many countries including Mexico CFDI, Brazil NF-e, Chile DTE, Colombia and Peru.