Multi-carrier shipping: quote Correios, Jadlog, Loggi, and 10+ carriers. Generate labels, track packages, and manage agencies.
Melhor Envio gives your agent 18 tools it calls directly β pick the ones it needs, in Claude, Cursor, or any MCP client.
calculate_shipping β Calculate shipping rates from multiple carrierscreate_shipment β Create a shipment ordertrack_shipment β Track a shipment by order ID// Your agent calls a tool directly β no glue code.
// CodeSpar's managed tier handles OAuth2, token rotation and rate limits.
const result = await session.call("calculate_shipping", { /* ... */ });$ npm install @codespar/mcp-melhor-envioAdd this entry to your claude_desktop_config.json (or any MCP-compatible client config).
{
"mcpServers": {
"melhor-envio": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-melhor-envio"
],
"env": {
"MELHOR_ENVIO_TOKEN": "<your_melhor_envio_token>"
}
}
}
}After restart, your agent can call any of the 18 tools below β try calculate_shipping first.
Required to authenticate the server. Stored encrypted when using CodeSpar managed hosting.
MELHOR_ENVIO_TOKENAPI key for melhor-envio
Each tool is independent β your agent loads only what it needs to reduce context and response time.
calculate_shippingcreate_shipmenttrack_shipmentgenerate_labellist_agenciescancel_shipmentget_balanceadd_cartMCP is a protocol β any framework that speaks it can mount this server.