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
- 01Shipment creation and label generation
- 02Tracking by tracking number and event history
- 03Rate quotes and postal code coverage checks
- 04Pickup and reverse logistics return requests
- 05Branch, contracted product and invoice lookup
Use cases
- 01Create a shipment and print its label for an order
- 02Check the latest status of a parcel
- 03Schedule a pickup or register a return
- 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.
npx -y @codespar/mcp-andreaniANDREANI_API_KEYSecretAPI key for AndreaniANDREANI_USERUsername for AndreaniANDREANI_PASSWORDSecretPassword for AndreaniLocal servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.
Tools
18Saved tool list · updated 2w ago
| Parameter | Type | Required | Description |
|---|---|---|---|
| origin | object | No | Origin address |
| origin.city | string | No | City |
| origin.number | string | No | Street number |
| origin.street | string | No | Street name |
| origin.province | string | No | Province |
| origin.postal_code | string | Yes | Postal code |
| contract | string | Yes | Contract/account number |
| packages | array | Yes | Packages to ship |
| destination | object | Yes | Destination address |
| destination.city | string | No | City |
| destination.number | string | No | Street number |
| destination.street | string | No | Street name |
| destination.province | string | No | Province |
| destination.postal_code | string | Yes | Postal code |
| destination.contact_name | string | Yes | Recipient name |
| destination.contact_phone | string | No | Recipient phone |
Details
From the project READMEMCP Andreani
Alpha release — published under the
alphanpm dist-tag. Endpoint paths follow public docs and BACEN/provider conventions but have not been fully live-validated. Pin exact versions during0.x.x-alpha. Install withnpm 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
| Variable | Required | Description |
|---|---|---|
ANDREANI_API_KEY | Yes | API key from Andreani |
ANDREANI_USER | Yes | Username for authentication |
ANDREANI_PASSWORD | Yes | Password for authentication |
MCP_HTTP | No | Set to "true" to enable HTTP transport |
MCP_PORT | No | HTTP port (default: 3000) |
Tools (18)
| Tool | Purpose |
|---|---|
create_shipment | Create a new shipment |
get_shipment | Get shipment details by ID |
track_shipment | Track a shipment by tracking number |
get_rates | Get shipping rates/quotes |
list_branches | List Andreani branches/sucursales |
create_label | Generate a shipping label for a shipment |
get_tracking_history | Get full tracking history for a shipment |
cancel_shipment | Cancel a shipment |
get_label_pdf | Download a shipping label as PDF (base64-encoded) |
list_tracking_by_date | List tracking events for a contract within a date range |
validate_postal_code | Validate CP coverage and list available services for a postal code |
create_pickup | Create a pickup/collection request (retiro) |
list_pickups | List pickup/collection requests |
cancel_pickup | Cancel a pickup/collection request |
create_return | Create a reverse logistics shipment (logística inversa / devolución) |
list_returns | List reverse logistics shipments (returns) |
list_products | List contracted products/services available on the account |
get_invoice | Get 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 AndreaniANDREANI_USER(required) — Username for AndreaniANDREANI_PASSWORD(required, secret) — Password for Andreani
Issue credentials at the provider's developer portal: https://developers.andreani.com.
License
MIT
Comments
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.