mcpField
M
mcp-andreani

mcp-andreani

Local
github.com/codesparMaps & Travel275Updated 4w ago

About mcp-andreani

mcp-andreani is an MCP server for Andreani, an Argentine courier and logistics company, covering domestic and international shipping operations. It suits Argentine merchants and logistics teams who manage shipments, tracking and returns from an AI assistant. The package is an alpha release and its endpoints have not been fully validated against live services.

Key features

  1. 01Shipment creation and label generation
  2. 02Tracking by tracking number and event history
  3. 03Rate quotes and postal code coverage checks
  4. 04Pickup and reverse logistics return requests
  5. 05Branch, contracted product and invoice lookup

Use cases

  1. 01Create a shipment and print its label for an order
  2. 02Check the latest status of a parcel
  3. 03Schedule a pickup or register a return
  4. 04Review billing details and available services

MCP support

The server exposes 18 tools to MCP clients for shipping, tracking, pickups, returns and billing.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"codespar-mcp-andreani": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-andreani"
],
"env": {
"ANDREANI_API_KEY": "<ANDREANI_API_KEY>",
"ANDREANI_USER": "<ANDREANI_USER>",
"ANDREANI_PASSWORD": "<ANDREANI_PASSWORD>"
}
}
}
}
Run commandnpx -y @codespar/mcp-andreani
Environment variables to set
ANDREANI_API_KEYSecretAPI key for Andreani
ANDREANI_USERUsername for Andreani
ANDREANI_PASSWORDSecretPassword for Andreani

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npm@codespar/mcp-andreani0.2.0-alpha.3

Tools

18

Saved tool list · updated 2w ago

ParameterTypeRequiredDescription
originobjectNoOrigin address
origin.citystringNoCity
origin.numberstringNoStreet number
origin.streetstringNoStreet name
origin.provincestringNoProvince
origin.postal_codestringYesPostal code
contractstringYesContract/account number
packagesarrayYesPackages to ship
destinationobjectYesDestination address
destination.citystringNoCity
destination.numberstringNoStreet number
destination.streetstringNoStreet name
destination.provincestringNoProvince
destination.postal_codestringYesPostal code
destination.contact_namestringYesRecipient name
destination.contact_phonestringNoRecipient phone

Details

From the project README

MCP Andreani

Alpha release — published under the alpha npm dist-tag. Endpoint paths follow public docs and BACEN/provider conventions but have not been fully live-validated. Pin exact versions during 0.x.x-alpha. Install with npm install <pkg>@alpha.

MCP server for Andreani — the largest Argentine courier and logistics company, providing domestic and international shipping services.

Quick Start

# Set your credentials
export ANDREANI_API_KEY="your-api-key"
export ANDREANI_USER="your-username"
export ANDREANI_PASSWORD="your-password"

# Run via stdio
npx tsx packages/argentina/andreani/src/index.ts

# Run via HTTP
npx tsx packages/argentina/andreani/src/index.ts --http

Environment Variables

VariableRequiredDescription
ANDREANI_API_KEYYesAPI key from Andreani
ANDREANI_USERYesUsername for authentication
ANDREANI_PASSWORDYesPassword for authentication
MCP_HTTPNoSet to "true" to enable HTTP transport
MCP_PORTNoHTTP port (default: 3000)

Tools (18)

ToolPurpose
create_shipmentCreate a new shipment
get_shipmentGet shipment details by ID
track_shipmentTrack a shipment by tracking number
get_ratesGet shipping rates/quotes
list_branchesList Andreani branches/sucursales
create_labelGenerate a shipping label for a shipment
get_tracking_historyGet full tracking history for a shipment
cancel_shipmentCancel a shipment
get_label_pdfDownload a shipping label as PDF (base64-encoded)
list_tracking_by_dateList tracking events for a contract within a date range
validate_postal_codeValidate CP coverage and list available services for a postal code
create_pickupCreate a pickup/collection request (retiro)
list_pickupsList pickup/collection requests
cancel_pickupCancel a pickup/collection request
create_returnCreate a reverse logistics shipment (logística inversa / devolución)
list_returnsList reverse logistics shipments (returns)
list_productsList contracted products/services available on the account
get_invoiceGet billing/invoice details

Auth

Uses Bearer token authentication. The server logs in with username/password to obtain a JWT token, which is used for subsequent API calls. An API key header is also included.

API Reference


Enterprise

Need governance, budget limits, and audit trails for agent payments? CodeSpar Enterprise adds policy engine, payment routing, and compliance templates on top of these MCP servers.

Authentication

Set these environment variables before launching the server:

  • ANDREANI_API_KEY (required, secret) — API key for Andreani
  • ANDREANI_USER (required) — Username for Andreani
  • ANDREANI_PASSWORD (required, secret) — Password for Andreani

Issue credentials at the provider's developer portal: https://developers.andreani.com.

License

MIT

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.