@codespar/mcp-coordinadora 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.
- package/README.md +20 -6
- package/dist/index.js +2 -2
- package/package.json +13 -4
package/README.md
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
# MCP Coordinadora
|
|
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 **Coordinadora** — one of Colombia's largest courier and logistics companies, offering domestic and international shipping services.
|
|
4
7
|
|
|
5
8
|
## Quick Start
|
|
@@ -25,18 +28,29 @@ npx tsx packages/colombia/coordinadora/src/index.ts --http
|
|
|
25
28
|
| `MCP_HTTP` | No | Set to `"true"` to enable HTTP transport |
|
|
26
29
|
| `MCP_PORT` | No | HTTP port (default: 3000) |
|
|
27
30
|
|
|
28
|
-
## Tools
|
|
31
|
+
## Tools (19)
|
|
29
32
|
|
|
30
|
-
| Tool |
|
|
31
|
-
|
|
33
|
+
| Tool | Purpose |
|
|
34
|
+
|---|---|
|
|
32
35
|
| `create_shipment` | Create a new shipment |
|
|
33
36
|
| `get_shipment` | Get shipment details by guide number |
|
|
34
|
-
| `track_shipment` | Track a shipment |
|
|
37
|
+
| `track_shipment` | Track a shipment by guide number |
|
|
35
38
|
| `get_rates` | Get shipping rates/quotes |
|
|
36
39
|
| `list_cities` | List available cities for shipping |
|
|
37
|
-
| `create_pickup` | Schedule a pickup |
|
|
38
|
-
| `get_coverage` | Check
|
|
40
|
+
| `create_pickup` | Schedule a pickup at an address |
|
|
41
|
+
| `get_coverage` | Check if a location is within coverage area |
|
|
39
42
|
| `cancel_shipment` | Cancel a shipment |
|
|
43
|
+
| `get_guia_pdf` | Download a guía label as PDF (returns base64 or URL) |
|
|
44
|
+
| `get_pickup` | Get pickup (recolección) details by id |
|
|
45
|
+
| `cancel_pickup` | Cancel a scheduled pickup (recolección) |
|
|
46
|
+
| `get_tracking_history` | Get full tracking event history for a guía |
|
|
47
|
+
| `list_shipments_by_date` | List guías created within a date range |
|
|
48
|
+
| `validate_coverage` | Validate that a city + postal code combination is covered |
|
|
49
|
+
| `list_services` | List available service types for a given origin/destination |
|
|
50
|
+
| `list_offices` | List Coordinadora branch offices (oficinas) |
|
|
51
|
+
| `create_return` | Create a reverse-logistics return guía |
|
|
52
|
+
| `list_returns` | List existing return guías |
|
|
53
|
+
| `create_bulk_guias` | Create multiple guías in a single batch operation |
|
|
40
54
|
|
|
41
55
|
## Auth
|
|
42
56
|
|
package/dist/index.js
CHANGED
|
@@ -53,7 +53,7 @@ async function coordinadoraRequest(method, path, body) {
|
|
|
53
53
|
}
|
|
54
54
|
return res.json();
|
|
55
55
|
}
|
|
56
|
-
const server = new Server({ name: "mcp-coordinadora", version: "0.2.0-alpha.
|
|
56
|
+
const server = new Server({ name: "mcp-coordinadora", version: "0.2.0-alpha.2" }, { capabilities: { tools: {} } });
|
|
57
57
|
server.setRequestHandler(ListToolsRequestSchema, async () => ({
|
|
58
58
|
tools: [
|
|
59
59
|
{
|
|
@@ -530,7 +530,7 @@ async function main() {
|
|
|
530
530
|
const t = new StreamableHTTPServerTransport({ sessionIdGenerator: () => randomUUID(), onsessioninitialized: (id) => { transports.set(id, t); } });
|
|
531
531
|
t.onclose = () => { if (t.sessionId)
|
|
532
532
|
transports.delete(t.sessionId); };
|
|
533
|
-
const s = new Server({ name: "mcp-coordinadora", version: "0.2.0-alpha.
|
|
533
|
+
const s = new Server({ name: "mcp-coordinadora", version: "0.2.0-alpha.2" }, { capabilities: { tools: {} } });
|
|
534
534
|
server._requestHandlers.forEach((v, k) => s._requestHandlers.set(k, v));
|
|
535
535
|
server._notificationHandlers?.forEach((v, k) => s._notificationHandlers.set(k, v));
|
|
536
536
|
await s.connect(t);
|
package/package.json
CHANGED
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codespar/mcp-coordinadora",
|
|
3
|
-
"version": "0.2.0-alpha.
|
|
4
|
-
"description": "MCP server for Coordinadora
|
|
3
|
+
"version": "0.2.0-alpha.2",
|
|
4
|
+
"description": "MCP server for Coordinadora \u2014 Colombian courier and logistics",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"bin": {
|
|
8
8
|
"mcp-coordinadora": "dist/index.js"
|
|
9
9
|
},
|
|
10
|
-
"files": [
|
|
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": [
|
|
25
|
+
"keywords": [
|
|
26
|
+
"coordinadora",
|
|
27
|
+
"courier",
|
|
28
|
+
"logistics",
|
|
29
|
+
"colombia",
|
|
30
|
+
"shipping",
|
|
31
|
+
"mcp"
|
|
32
|
+
],
|
|
24
33
|
"mcpName": "io.github.codespar/mcp-coordinadora"
|
|
25
34
|
}
|