hostinger-api-mcp 1.45.3 → 1.45.5

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 CHANGED
@@ -69,12 +69,12 @@ pnpm update -g hostinger-api-mcp
69
69
 
70
70
  This package installs the following MCP server commands:
71
71
 
72
- - `hostinger-api-mcp` — unified server with every tool (350 total)
72
+ - `hostinger-api-mcp` — unified server with every tool (365 total)
73
73
  - `hostinger-agency-hosting-mcp` — 38 tools for agency-hosting
74
74
  - `hostinger-billing-mcp` — 9 tools for billing
75
75
  - `hostinger-dns-mcp` — 8 tools for dns
76
76
  - `hostinger-domains-mcp` — 40 tools for domains
77
- - `hostinger-ecommerce-mcp` — 14 tools for ecommerce
77
+ - `hostinger-ecommerce-mcp` — 29 tools for ecommerce
78
78
  - `hostinger-horizons-mcp` — 2 tools for horizons
79
79
  - `hostinger-hosting-mcp` — 56 tools for hosting
80
80
  - `hostinger-mail-mcp` — 38 tools for mail
@@ -1287,6 +1287,24 @@ Use this endpoint to view which domains use specific contact profiles.
1287
1287
 
1288
1288
  ### `hostinger-ecommerce-mcp`
1289
1289
 
1290
+ #### ecommerce_listDiscountsV1
1291
+
1292
+ List a store's discounts. Filter by free text over code and name, or by disabled state.
1293
+ Amounts for fixed discounts are integers in the smallest currency unit; percentage
1294
+ discounts carry a whole-number value between 1 and 100.
1295
+
1296
+ - **Method**: `GET`
1297
+ - **Path**: `/api/ecommerce/v1/stores/{store_id}/discounts`
1298
+
1299
+ #### ecommerce_createADiscountV1
1300
+
1301
+ Create a discount for a store. Fixed discounts take an amount in the smallest currency
1302
+ unit (e.g. $10 is 1000); percentage discounts take a whole-number value between 1 and 100.
1303
+ Free-shipping discounts ignore value. Returns the created discount.
1304
+
1305
+ - **Method**: `POST`
1306
+ - **Path**: `/api/ecommerce/v1/stores/{store_id}/discounts`
1307
+
1290
1308
  #### ecommerce_getCustomStorefrontSetupInstructionsV1
1291
1309
 
1292
1310
  Retrieve step-by-step setup instructions, formatted as Markdown, for connecting a custom sales
@@ -1296,6 +1314,39 @@ the Ecommerce API.
1296
1314
  - **Method**: `GET`
1297
1315
  - **Path**: `/api/ecommerce/v1/miscellaneous/custom-storefront-instructions`
1298
1316
 
1317
+ #### ecommerce_cancelAnOrderV1
1318
+
1319
+ Cancel the order and optionally email the customer. Returns the updated order summary.
1320
+
1321
+ - **Method**: `POST`
1322
+ - **Path**: `/api/ecommerce/v1/stores/{store_id}/orders/{order_id}/cancel`
1323
+
1324
+ #### ecommerce_fulfilAnOrderV1
1325
+
1326
+ Create a fulfilment for the order and attach tracking in one call. Omit items to fulfil
1327
+ every remaining unfulfilled item. Returns the updated order summary.
1328
+
1329
+ - **Method**: `POST`
1330
+ - **Path**: `/api/ecommerce/v1/stores/{store_id}/orders/{order_id}/fulfill`
1331
+
1332
+ #### ecommerce_listOrdersV1
1333
+
1334
+ List a store's orders newest first as summaries. Filter by status, payment or fulfilment
1335
+ status, customer email, order number or a free-text query. Amounts are in the smallest
1336
+ currency unit. Retrieve a single order for its line items, addresses and fulfilments.
1337
+
1338
+ - **Method**: `GET`
1339
+ - **Path**: `/api/ecommerce/v1/stores/{store_id}/orders`
1340
+
1341
+ #### ecommerce_retrieveAnOrderV1
1342
+
1343
+ Retrieve one order in full: line items (each with the id the fulfil endpoint needs),
1344
+ addresses, the totals breakdown and fulfilments with tracking. Amounts are in the
1345
+ smallest currency unit.
1346
+
1347
+ - **Method**: `GET`
1348
+ - **Path**: `/api/ecommerce/v1/stores/{store_id}/orders/{order_id}`
1349
+
1299
1350
  #### ecommerce_enableManualPaymentMethodV1
1300
1351
 
1301
1352
  Enable a manual payment method so the store can accept orders without an online payment provider.
@@ -1303,6 +1354,22 @@ Enable a manual payment method so the store can accept orders without an online
1303
1354
  - **Method**: `POST`
1304
1355
  - **Path**: `/api/ecommerce/v1/stores/{store_id}/payment-methods/manual`
1305
1356
 
1357
+ #### ecommerce_createAPaymentProviderConnectLinkV1
1358
+
1359
+ Create an onboarding link for connecting a payment gateway to the store. Returns the gateway
1360
+ onboarding URL for the merchant to open and a deep-link into the store admin.
1361
+
1362
+ - **Method**: `POST`
1363
+ - **Path**: `/api/ecommerce/v1/stores/{store_id}/payment-providers/{provider_id}/connect-link`
1364
+
1365
+ #### ecommerce_listStorePaymentProvidersV1
1366
+
1367
+ List a store's payment providers, split into providers already connected to the store and
1368
+ gateways available to install. Never exposes gateway credentials, secrets, or configuration.
1369
+
1370
+ - **Method**: `GET`
1371
+ - **Path**: `/api/ecommerce/v1/stores/{store_id}/payment-providers`
1372
+
1306
1373
  #### ecommerce_createAProductImageUploadURLV1
1307
1374
 
1308
1375
  Returns a signed URL to upload a product image to (multipart/form-data POST). Then call the
@@ -1311,6 +1378,23 @@ attach-image endpoint with the returned object_name to scan and attach it to the
1311
1378
  - **Method**: `POST`
1312
1379
  - **Path**: `/api/ecommerce/v1/stores/{store_id}/products/{product_id}/images/upload-url`
1313
1380
 
1381
+ #### ecommerce_deleteAProductV1
1382
+
1383
+ Delete a product and its variants from the store. A subscription product with active
1384
+ subscribers is archived instead of deleted so its data stays available.
1385
+
1386
+ - **Method**: `DELETE`
1387
+ - **Path**: `/api/ecommerce/v1/stores/{store_id}/products/{product_id}`
1388
+
1389
+ #### ecommerce_updateAProductV1
1390
+
1391
+ Update a product's name, description or status. Set status to published to make it buyable,
1392
+ draft to hide it, or archived to retire it. Variants, prices and inventory are managed
1393
+ through the variant endpoints, not here. Returns the updated product summary.
1394
+
1395
+ - **Method**: `PATCH`
1396
+ - **Path**: `/api/ecommerce/v1/stores/{store_id}/products/{product_id}`
1397
+
1314
1398
  #### ecommerce_createDigitalProductV1
1315
1399
 
1316
1400
  Create a published digital product with a single variant and an optional external download link.
@@ -1318,6 +1402,16 @@ Create a published digital product with a single variant and an optional externa
1318
1402
  - **Method**: `POST`
1319
1403
  - **Path**: `/api/ecommerce/v1/stores/{store_id}/products/digital`
1320
1404
 
1405
+ #### ecommerce_listProductsV1
1406
+
1407
+ List a store's products newest first as lean summaries (name, status, thumbnail, variant
1408
+ count and price range). Prices are integers in the smallest currency unit and live on
1409
+ variants. Filter by status, free text or a set of product ids. Use include=variants to
1410
+ embed each product's variants with prices and inventory, and include=media to embed its media.
1411
+
1412
+ - **Method**: `GET`
1413
+ - **Path**: `/api/ecommerce/v1/stores/{store_id}/products`
1414
+
1321
1415
  #### ecommerce_createPhysicalProductV1
1322
1416
 
1323
1417
  Create a published physical product with a single variant priced in the store currency.
@@ -1341,10 +1435,11 @@ List a store's active sales channels with their full metadata.
1341
1435
  - **Method**: `GET`
1342
1436
  - **Path**: `/api/ecommerce/v1/stores/{store_id}/sales-channels`
1343
1437
 
1344
- #### ecommerce_createCustomSalesChannelV1
1438
+ #### ecommerce_createASalesChannelV1
1345
1439
 
1346
- Create a custom sales channel for a store. Build your own frontend and keep your catalog,
1347
- orders, shipping and payments in sync through the Ecommerce API.
1440
+ Create a sales channel for a store. A "custom" channel is headless: build your own frontend and keep
1441
+ your catalog, orders, shipping and payments in sync through the Ecommerce API. A "quick-link" channel
1442
+ is a hosted one-page store whose handle is auto-generated.
1348
1443
 
1349
1444
  - **Method**: `POST`
1350
1445
  - **Path**: `/api/ecommerce/v1/stores/{store_id}/sales-channels`
@@ -1397,6 +1492,40 @@ plus its default currency. Useful to verify prerequisites before building a stor
1397
1492
  - **Method**: `GET`
1398
1493
  - **Path**: `/api/ecommerce/v1/stores/{store_id}/metadata`
1399
1494
 
1495
+ #### ecommerce_updateProductVariantsInBatchV1
1496
+
1497
+ Update up to 100 existing variants in place by id — title, inventory, stock tracking and
1498
+ prices. Variants omitted from the request are left untouched. Prices replace the variant's
1499
+ existing prices in full. Returns the updated variants.
1500
+
1501
+ - **Method**: `PATCH`
1502
+ - **Path**: `/api/ecommerce/v1/stores/{store_id}/products/{product_id}/variants/batch`
1503
+
1504
+ #### ecommerce_deleteAProductVariantV1
1505
+
1506
+ Delete a single variant from the product.
1507
+
1508
+ - **Method**: `DELETE`
1509
+ - **Path**: `/api/ecommerce/v1/stores/{store_id}/products/{product_id}/variants/{variant_id}`
1510
+
1511
+ #### ecommerce_listProductVariantsV1
1512
+
1513
+ List a product's variants, ordered by rank, with their options, prices and inventory.
1514
+ Prices are integers in the smallest currency unit and live on variants.
1515
+
1516
+ - **Method**: `GET`
1517
+ - **Path**: `/api/ecommerce/v1/stores/{store_id}/products/{product_id}/variants`
1518
+
1519
+ #### ecommerce_createAProductVariantV1
1520
+
1521
+ Add a variant to a product along one or more option dimensions (e.g. Size, Color). Options
1522
+ missing from the product are created automatically; provide a value for every option the
1523
+ product already has. Prices are integers in the smallest currency unit and default to the
1524
+ store currency. Returns the created variant.
1525
+
1526
+ - **Method**: `POST`
1527
+ - **Path**: `/api/ecommerce/v1/stores/{store_id}/products/{product_id}/variants`
1528
+
1400
1529
  ### `hostinger-horizons-mcp`
1401
1530
 
1402
1531
  #### horizons_createWebsiteV1
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hostinger-api-mcp",
3
- "version": "1.45.3",
3
+ "version": "1.45.5",
4
4
  "description": "Hostinger API — manage domains, DNS, hosting, VPS, billing and more from Gemini CLI.",
5
5
  "mcpServers": {
6
6
  "hostinger": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hostinger-api-mcp",
3
- "version": "1.45.3",
3
+ "version": "1.45.5",
4
4
  "mcpName": "io.github.hostinger/hostinger-api-mcp",
5
5
  "description": "MCP server for Hostinger API",
6
6
  "repository": {
package/server.json CHANGED
@@ -6,12 +6,12 @@
6
6
  "url": "https://github.com/hostinger/api-mcp-server",
7
7
  "source": "github"
8
8
  },
9
- "version": "1.45.3",
9
+ "version": "1.45.5",
10
10
  "packages": [
11
11
  {
12
12
  "registryType": "npm",
13
13
  "identifier": "hostinger-api-mcp",
14
- "version": "1.45.3",
14
+ "version": "1.45.5",
15
15
  "transport": {
16
16
  "type": "stdio"
17
17
  },
@@ -29,7 +29,7 @@ const SECURITY_SCHEMES = {
29
29
 
30
30
  /**
31
31
  * MCP Server for Hostinger API
32
- * Generated from OpenAPI spec version 1.42.3
32
+ * Generated from OpenAPI spec version 1.42.5
33
33
  */
34
34
  class MCPServer {
35
35
  constructor({ name, version, tools }) {
@@ -52,7 +52,7 @@ const SECURITY_SCHEMES: Record<string, SecurityScheme> = {
52
52
 
53
53
  /**
54
54
  * MCP Server for Hostinger API
55
- * Generated from OpenAPI spec version 1.42.3
55
+ * Generated from OpenAPI spec version 1.42.5
56
56
  */
57
57
  class MCPServer {
58
58
  private readonly name: string;