@codespar/mcp-tienda-nube 0.2.0 → 0.2.1
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 +17 -3
- package/dist/index.js +2 -2
- package/package.json +13 -4
package/README.md
CHANGED
|
@@ -25,10 +25,10 @@ npx tsx packages/argentina/tienda-nube/src/index.ts --http
|
|
|
25
25
|
| `MCP_HTTP` | No | Set to `"true"` to enable HTTP transport |
|
|
26
26
|
| `MCP_PORT` | No | HTTP port (default: 3000) |
|
|
27
27
|
|
|
28
|
-
## Tools
|
|
28
|
+
## Tools (24)
|
|
29
29
|
|
|
30
|
-
| Tool |
|
|
31
|
-
|
|
30
|
+
| Tool | Purpose |
|
|
31
|
+
|---|---|
|
|
32
32
|
| `list_products` | List products from the store |
|
|
33
33
|
| `get_product` | Get product details by ID |
|
|
34
34
|
| `create_product` | Create a new product |
|
|
@@ -39,6 +39,20 @@ npx tsx packages/argentina/tienda-nube/src/index.ts --http
|
|
|
39
39
|
| `get_customer` | Get customer details by ID |
|
|
40
40
|
| `list_categories` | List product categories |
|
|
41
41
|
| `update_order_status` | Update order fulfillment/shipping status |
|
|
42
|
+
| `delete_product` | Delete a product by ID |
|
|
43
|
+
| `list_product_variants` | List variants of a product |
|
|
44
|
+
| `update_product_variant` | Update a product variant (price, stock, sku, weight) |
|
|
45
|
+
| `close_order` | Close an order (mark as fulfilled/closed) |
|
|
46
|
+
| `cancel_order` | Cancel an order, optionally restocking and refunding |
|
|
47
|
+
| `create_category` | Create a product category |
|
|
48
|
+
| `update_category` | Update a product category |
|
|
49
|
+
| `delete_category` | Delete a product category by ID |
|
|
50
|
+
| `list_webhooks` | List configured webhooks |
|
|
51
|
+
| `create_webhook` | Subscribe to a webhook event |
|
|
52
|
+
| `delete_webhook` | Delete a webhook by ID |
|
|
53
|
+
| `list_discount_coupons` | List discount coupons |
|
|
54
|
+
| `create_discount_coupon` | Create a discount coupon |
|
|
55
|
+
| `list_abandoned_carts` | List abandoned checkouts |
|
|
42
56
|
|
|
43
57
|
## Auth
|
|
44
58
|
|
package/dist/index.js
CHANGED
|
@@ -58,7 +58,7 @@ async function tiendaNubeRequest(method, path, body) {
|
|
|
58
58
|
}
|
|
59
59
|
return res.json();
|
|
60
60
|
}
|
|
61
|
-
const server = new Server({ name: "mcp-tienda-nube", version: "0.2.
|
|
61
|
+
const server = new Server({ name: "mcp-tienda-nube", version: "0.2.1" }, { capabilities: { tools: {} } });
|
|
62
62
|
server.setRequestHandler(ListToolsRequestSchema, async () => ({
|
|
63
63
|
tools: [
|
|
64
64
|
{
|
|
@@ -597,7 +597,7 @@ async function main() {
|
|
|
597
597
|
const t = new StreamableHTTPServerTransport({ sessionIdGenerator: () => randomUUID(), onsessioninitialized: (id) => { transports.set(id, t); } });
|
|
598
598
|
t.onclose = () => { if (t.sessionId)
|
|
599
599
|
transports.delete(t.sessionId); };
|
|
600
|
-
const s = new Server({ name: "mcp-tienda-nube", version: "0.2.
|
|
600
|
+
const s = new Server({ name: "mcp-tienda-nube", version: "0.2.1" }, { capabilities: { tools: {} } });
|
|
601
601
|
server._requestHandlers.forEach((v, k) => s._requestHandlers.set(k, v));
|
|
602
602
|
server._notificationHandlers?.forEach((v, k) => s._notificationHandlers.set(k, v));
|
|
603
603
|
await s.connect(t);
|
package/package.json
CHANGED
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codespar/mcp-tienda-nube",
|
|
3
|
-
"version": "0.2.
|
|
4
|
-
"description": "MCP server for Tienda Nube
|
|
3
|
+
"version": "0.2.1",
|
|
4
|
+
"description": "MCP server for Tienda Nube \u2014 LATAM e-commerce platform",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"bin": {
|
|
8
8
|
"mcp-tienda-nube": "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
|
+
"tienda-nube",
|
|
27
|
+
"nuvemshop",
|
|
28
|
+
"ecommerce",
|
|
29
|
+
"argentina",
|
|
30
|
+
"latam",
|
|
31
|
+
"mcp"
|
|
32
|
+
],
|
|
24
33
|
"mcpName": "io.github.codespar/mcp-tienda-nube"
|
|
25
34
|
}
|