serverData.superfrete.description
O SuperFrete dá ao seu agente 11 tools que ele chama direto — escolha as que precisar, no Claude, Cursor ou qualquer cliente MCP.
calculate_freight — Calculate shipping rates across multiple carriers (PAC, SEDEX, JadLog, Loggi, Mini Envios). Returns pricing, delivery time, and carrier details for each available service.create_freight — Create a freight/label order. Returns the order ID, price, protocol, and tracking code. For commercial shipments, invoice details are required.get_freight — Get detailed information about a freight order including status, tracking, addresses, pricing, and label print URL.// 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_freight", { /* ... */ });$ npm install @codespar/mcp-superfreteAdicione esta entrada ao seu claude_desktop_config.json (ou a config de qualquer cliente compatível com MCP).
{
"mcpServers": {
"superfrete": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-superfrete"
],
"env": {
"SUPERFRETE_TOKEN": "<your_superfrete_token>"
}
}
}
}Depois de reiniciar, seu agente pode chamar qualquer uma das 11 ferramentas abaixo — teste calculate_freight primeiro.
Necessárias pra autenticar o server. Armazenadas criptografadas ao usar a hospedagem gerenciada da CodeSpar.
SUPERFRETE_TOKENSuperFrete API Bearer token from https://web.superfrete.com/#/integrations
SUPERFRETE_SANDBOXSet to 'true' to use the sandbox API (https://sandbox.superfrete.com/). Defaults to production.
Cada ferramenta é independente — seu agente carrega só o que precisa pra reduzir contexto e tempo de resposta.
calculate_freightcreate_freightget_freightcheckout_freightcancel_freightget_user_infoget_user_addressesget_servicesMCP é um protocolo — qualquer framework que o fale pode montar este server.