@codespar/mcp-andreani 0.2.0-alpha.1 → 0.2.0-alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +18 -5
  2. package/dist/index.js +2 -2
  3. package/package.json +13 -4
package/README.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # MCP Andreani
2
2
 
3
+
4
+ > **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`.
5
+
3
6
  MCP server for **Andreani** — the largest Argentine courier and logistics company, providing domestic and international shipping services.
4
7
 
5
8
  ## Quick Start
@@ -27,18 +30,28 @@ npx tsx packages/argentina/andreani/src/index.ts --http
27
30
  | `MCP_HTTP` | No | Set to `"true"` to enable HTTP transport |
28
31
  | `MCP_PORT` | No | HTTP port (default: 3000) |
29
32
 
30
- ## Tools
33
+ ## Tools (18)
31
34
 
32
- | Tool | Description |
33
- |------|-------------|
35
+ | Tool | Purpose |
36
+ |---|---|
34
37
  | `create_shipment` | Create a new shipment |
35
38
  | `get_shipment` | Get shipment details by ID |
36
39
  | `track_shipment` | Track a shipment by tracking number |
37
40
  | `get_rates` | Get shipping rates/quotes |
38
41
  | `list_branches` | List Andreani branches/sucursales |
39
- | `create_label` | Generate a shipping label |
40
- | `get_tracking_history` | Get full tracking history |
42
+ | `create_label` | Generate a shipping label for a shipment |
43
+ | `get_tracking_history` | Get full tracking history for a shipment |
41
44
  | `cancel_shipment` | Cancel a shipment |
45
+ | `get_label_pdf` | Download a shipping label as PDF (base64-encoded) |
46
+ | `list_tracking_by_date` | List tracking events for a contract within a date range |
47
+ | `validate_postal_code` | Validate CP coverage and list available services for a postal code |
48
+ | `create_pickup` | Create a pickup/collection request (retiro) |
49
+ | `list_pickups` | List pickup/collection requests |
50
+ | `cancel_pickup` | Cancel a pickup/collection request |
51
+ | `create_return` | Create a reverse logistics shipment (logística inversa / devolución) |
52
+ | `list_returns` | List reverse logistics shipments (returns) |
53
+ | `list_products` | List contracted products/services available on the account |
54
+ | `get_invoice` | Get billing/invoice details |
42
55
 
43
56
  ## Auth
44
57
 
package/dist/index.js CHANGED
@@ -72,7 +72,7 @@ async function andreaniRequest(method, path, body) {
72
72
  }
73
73
  return res.json();
74
74
  }
75
- const server = new Server({ name: "mcp-andreani", version: "0.2.0-alpha.1" }, { capabilities: { tools: {} } });
75
+ const server = new Server({ name: "mcp-andreani", version: "0.2.0-alpha.2" }, { capabilities: { tools: {} } });
76
76
  server.setRequestHandler(ListToolsRequestSchema, async () => ({
77
77
  tools: [
78
78
  {
@@ -503,7 +503,7 @@ async function main() {
503
503
  const t = new StreamableHTTPServerTransport({ sessionIdGenerator: () => randomUUID(), onsessioninitialized: (id) => { transports.set(id, t); } });
504
504
  t.onclose = () => { if (t.sessionId)
505
505
  transports.delete(t.sessionId); };
506
- const s = new Server({ name: "mcp-andreani", version: "0.2.0-alpha.1" }, { capabilities: { tools: {} } });
506
+ const s = new Server({ name: "mcp-andreani", version: "0.2.0-alpha.2" }, { capabilities: { tools: {} } });
507
507
  server._requestHandlers.forEach((v, k) => s._requestHandlers.set(k, v));
508
508
  server._notificationHandlers?.forEach((v, k) => s._notificationHandlers.set(k, v));
509
509
  await s.connect(t);
package/package.json CHANGED
@@ -1,13 +1,15 @@
1
1
  {
2
2
  "name": "@codespar/mcp-andreani",
3
- "version": "0.2.0-alpha.1",
4
- "description": "MCP server for Andreani Argentine courier and logistics",
3
+ "version": "0.2.0-alpha.2",
4
+ "description": "MCP server for Andreani \u2014 Argentine courier and logistics",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
7
7
  "bin": {
8
8
  "mcp-andreani": "dist/index.js"
9
9
  },
10
- "files": ["dist"],
10
+ "files": [
11
+ "dist"
12
+ ],
11
13
  "scripts": {
12
14
  "build": "tsc",
13
15
  "start": "node dist/index.js"
@@ -20,6 +22,13 @@
20
22
  "typescript": "^5.8.0"
21
23
  },
22
24
  "license": "MIT",
23
- "keywords": ["andreani", "courier", "logistics", "argentina", "shipping", "mcp"],
25
+ "keywords": [
26
+ "andreani",
27
+ "courier",
28
+ "logistics",
29
+ "argentina",
30
+ "shipping",
31
+ "mcp"
32
+ ],
24
33
  "mcpName": "io.github.codespar/mcp-andreani"
25
34
  }