hostinger-api-mcp 1.0.0 → 1.1.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 +204 -3
- package/gemini-extension.json +1 -1
- package/package.json +1 -1
- package/server.json +2 -2
- package/src/core/runtime.js +1 -1
- package/src/core/runtime.ts +1 -1
- package/src/core/tools/all.js +565 -0
- package/src/core/tools/all.ts +565 -0
- package/src/core/tools/ecommerce.js +82 -0
- package/src/core/tools/ecommerce.ts +82 -0
- package/src/core/tools/wordpress.js +483 -0
- package/src/core/tools/wordpress.ts +483 -0
- package/src/servers/all.js +1 -1
- package/src/servers/all.ts +1 -1
- package/src/servers/billing.js +1 -1
- package/src/servers/billing.ts +1 -1
- package/src/servers/dns.js +1 -1
- package/src/servers/dns.ts +1 -1
- package/src/servers/domains.js +1 -1
- package/src/servers/domains.ts +1 -1
- package/src/servers/ecommerce.js +1 -1
- package/src/servers/ecommerce.ts +1 -1
- package/src/servers/horizons.js +1 -1
- package/src/servers/horizons.ts +1 -1
- package/src/servers/hosting.js +1 -1
- package/src/servers/hosting.ts +1 -1
- package/src/servers/reach.js +1 -1
- package/src/servers/reach.ts +1 -1
- package/src/servers/vps.js +1 -1
- package/src/servers/vps.ts +1 -1
- package/src/servers/wordpress.js +1 -1
- package/src/servers/wordpress.ts +1 -1
- package/types.d.ts +402 -0
package/README.md
CHANGED
|
@@ -49,16 +49,16 @@ pnpm update -g hostinger-api-mcp
|
|
|
49
49
|
|
|
50
50
|
This package installs the following MCP server commands:
|
|
51
51
|
|
|
52
|
-
- `hostinger-api-mcp` — unified server with every tool (
|
|
52
|
+
- `hostinger-api-mcp` — unified server with every tool (173 total)
|
|
53
53
|
- `hostinger-billing-mcp` — 7 tools for billing
|
|
54
54
|
- `hostinger-dns-mcp` — 8 tools for dns
|
|
55
55
|
- `hostinger-domains-mcp` — 18 tools for domains
|
|
56
|
-
- `hostinger-ecommerce-mcp` —
|
|
56
|
+
- `hostinger-ecommerce-mcp` — 10 tools for ecommerce
|
|
57
57
|
- `hostinger-horizons-mcp` — 2 tools for horizons
|
|
58
58
|
- `hostinger-hosting-mcp` — 35 tools for hosting
|
|
59
59
|
- `hostinger-reach-mcp` — 12 tools for reach
|
|
60
60
|
- `hostinger-vps-mcp` — 62 tools for vps
|
|
61
|
-
- `hostinger-wordpress-mcp` —
|
|
61
|
+
- `hostinger-wordpress-mcp` — 19 tools for wordpress
|
|
62
62
|
|
|
63
63
|
Pick the binary that matches your agent's scope. `hostinger-api-mcp` remains the backwards-compatible default.
|
|
64
64
|
|
|
@@ -547,6 +547,15 @@ Use this endpoint to view which domains use specific contact profiles.
|
|
|
547
547
|
|
|
548
548
|
### `hostinger-ecommerce-mcp`
|
|
549
549
|
|
|
550
|
+
#### ecommerce_getCustomStorefrontSetupInstructionsV1
|
|
551
|
+
|
|
552
|
+
Retrieve step-by-step setup instructions, formatted as Markdown, for connecting a custom sales
|
|
553
|
+
channel to your store and keeping your catalog, orders, shipping and payments in sync through
|
|
554
|
+
the Ecommerce API.
|
|
555
|
+
|
|
556
|
+
- **Method**: `GET`
|
|
557
|
+
- **Path**: `/api/ecommerce/v1/miscellaneous/custom-storefront-instructions`
|
|
558
|
+
|
|
550
559
|
#### ecommerce_enableManualPaymentMethodV1
|
|
551
560
|
|
|
552
561
|
Enable a manual payment method so the store can accept orders without an online payment provider.
|
|
@@ -568,6 +577,21 @@ Create a published physical product with a single variant priced in the store cu
|
|
|
568
577
|
- **Method**: `POST`
|
|
569
578
|
- **Path**: `/api/ecommerce/v1/stores/{store_id}/products/physical`
|
|
570
579
|
|
|
580
|
+
#### ecommerce_listSalesChannelsV1
|
|
581
|
+
|
|
582
|
+
List a store's active sales channels with their full metadata.
|
|
583
|
+
|
|
584
|
+
- **Method**: `GET`
|
|
585
|
+
- **Path**: `/api/ecommerce/v1/stores/{store_id}/sales-channels`
|
|
586
|
+
|
|
587
|
+
#### ecommerce_createACustomSalesChannelV1
|
|
588
|
+
|
|
589
|
+
Create a custom sales channel for a store. Build your own frontend and keep your catalog,
|
|
590
|
+
orders, shipping and payments in sync through the Ecommerce API.
|
|
591
|
+
|
|
592
|
+
- **Method**: `POST`
|
|
593
|
+
- **Path**: `/api/ecommerce/v1/stores/{store_id}/sales-channels`
|
|
594
|
+
|
|
571
595
|
#### ecommerce_setStoreShippingV1
|
|
572
596
|
|
|
573
597
|
Set the flat-rate shipping price for a store, creating the shipping zone if it does not exist yet.
|
|
@@ -1880,6 +1904,32 @@ Each installation includes a `valid` flag and, when invalid, a
|
|
|
1880
1904
|
- **Method**: `GET`
|
|
1881
1905
|
- **Path**: `/api/hosting/v1/wordpress/installations`
|
|
1882
1906
|
|
|
1907
|
+
#### hosting_activateWordPressPluginV1
|
|
1908
|
+
|
|
1909
|
+
Activate an installed plugin on a WordPress installation.
|
|
1910
|
+
|
|
1911
|
+
Provide the WordPress installation (software) identifier in the path. It can
|
|
1912
|
+
be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
|
|
1913
|
+
|
|
1914
|
+
This operation is asynchronous: a successful response only means the activation
|
|
1915
|
+
job has been queued.
|
|
1916
|
+
|
|
1917
|
+
- **Method**: `POST`
|
|
1918
|
+
- **Path**: `/api/hosting/v1/accounts/{username}/wordpress/{software}/plugins/activate`
|
|
1919
|
+
|
|
1920
|
+
#### hosting_deactivateWordPressPluginV1
|
|
1921
|
+
|
|
1922
|
+
Deactivate an installed plugin on a WordPress installation.
|
|
1923
|
+
|
|
1924
|
+
Provide the WordPress installation (software) identifier in the path. It can
|
|
1925
|
+
be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
|
|
1926
|
+
|
|
1927
|
+
This operation is asynchronous: a successful response only means the
|
|
1928
|
+
deactivation job has been queued.
|
|
1929
|
+
|
|
1930
|
+
- **Method**: `POST`
|
|
1931
|
+
- **Path**: `/api/hosting/v1/accounts/{username}/wordpress/{software}/plugins/deactivate`
|
|
1932
|
+
|
|
1883
1933
|
#### hosting_installWordPressPluginsV1
|
|
1884
1934
|
|
|
1885
1935
|
Install one or more plugins on an existing WordPress installation.
|
|
@@ -1895,6 +1945,109 @@ job has been queued, not that the plugins are ready.
|
|
|
1895
1945
|
- **Method**: `POST`
|
|
1896
1946
|
- **Path**: `/api/hosting/v1/accounts/{username}/wordpress/{software}/plugins/install`
|
|
1897
1947
|
|
|
1948
|
+
#### hosting_listAvailableWordPressPluginsV1
|
|
1949
|
+
|
|
1950
|
+
List plugins recommended for installation on a WordPress installation that are
|
|
1951
|
+
not yet installed.
|
|
1952
|
+
|
|
1953
|
+
Provide the WordPress installation (software) identifier in the path. It can
|
|
1954
|
+
be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
|
|
1955
|
+
|
|
1956
|
+
- **Method**: `GET`
|
|
1957
|
+
- **Path**: `/api/hosting/v1/accounts/{username}/wordpress/{software}/plugins/available`
|
|
1958
|
+
|
|
1959
|
+
#### hosting_listInstalledWordPressPluginsV1
|
|
1960
|
+
|
|
1961
|
+
List plugins installed on a WordPress installation, including their status,
|
|
1962
|
+
available updates and known vulnerabilities.
|
|
1963
|
+
|
|
1964
|
+
Provide the WordPress installation (software) identifier in the path. It can
|
|
1965
|
+
be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
|
|
1966
|
+
|
|
1967
|
+
- **Method**: `GET`
|
|
1968
|
+
- **Path**: `/api/hosting/v1/accounts/{username}/wordpress/{software}/plugins`
|
|
1969
|
+
|
|
1970
|
+
#### hosting_searchWordPressPluginsV1
|
|
1971
|
+
|
|
1972
|
+
Search the WordPress.org plugin directory for plugins available to install.
|
|
1973
|
+
|
|
1974
|
+
Use the returned `slug` values with
|
|
1975
|
+
POST /api/hosting/v1/accounts/{username}/wordpress/{software}/plugins/install.
|
|
1976
|
+
|
|
1977
|
+
- **Method**: `GET`
|
|
1978
|
+
- **Path**: `/api/hosting/v1/wordpress/plugins`
|
|
1979
|
+
|
|
1980
|
+
#### hosting_listSuggestedWordPressPluginsV1
|
|
1981
|
+
|
|
1982
|
+
List curated plugin suggestions grouped by website type.
|
|
1983
|
+
|
|
1984
|
+
Use the returned `slug` values with
|
|
1985
|
+
POST /api/hosting/v1/accounts/{username}/wordpress/{software}/plugins/install.
|
|
1986
|
+
|
|
1987
|
+
- **Method**: `GET`
|
|
1988
|
+
- **Path**: `/api/hosting/v1/wordpress/plugins/suggested`
|
|
1989
|
+
|
|
1990
|
+
#### hosting_checkIfWooCommerceIsInstalledV1
|
|
1991
|
+
|
|
1992
|
+
Check whether WooCommerce is installed on any WordPress installation of a
|
|
1993
|
+
domain. Optionally filter by domain to scope the check.
|
|
1994
|
+
|
|
1995
|
+
- **Method**: `GET`
|
|
1996
|
+
- **Path**: `/api/hosting/v1/wordpress/plugins/is-woocommerce-installed`
|
|
1997
|
+
|
|
1998
|
+
#### hosting_uninstallWordPressPluginsV1
|
|
1999
|
+
|
|
2000
|
+
Uninstall one or more plugins from a WordPress installation.
|
|
2001
|
+
|
|
2002
|
+
Provide the WordPress installation (software) identifier in the path. It can
|
|
2003
|
+
be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
|
|
2004
|
+
|
|
2005
|
+
This operation is asynchronous: a successful response only means the uninstall
|
|
2006
|
+
job has been queued.
|
|
2007
|
+
|
|
2008
|
+
- **Method**: `POST`
|
|
2009
|
+
- **Path**: `/api/hosting/v1/accounts/{username}/wordpress/{software}/plugins/uninstall`
|
|
2010
|
+
|
|
2011
|
+
#### hosting_updateHostingerWordPressPluginV1
|
|
2012
|
+
|
|
2013
|
+
Update a Hostinger plugin to its latest version on a WordPress installation.
|
|
2014
|
+
|
|
2015
|
+
Provide the WordPress installation (software) identifier in the path. It can
|
|
2016
|
+
be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
|
|
2017
|
+
|
|
2018
|
+
This operation is asynchronous: a successful response only means the update job
|
|
2019
|
+
has been queued.
|
|
2020
|
+
|
|
2021
|
+
- **Method**: `POST`
|
|
2022
|
+
- **Path**: `/api/hosting/v1/accounts/{username}/wordpress/{software}/plugins/hostinger/update`
|
|
2023
|
+
|
|
2024
|
+
#### hosting_updateWordPressPluginsV1
|
|
2025
|
+
|
|
2026
|
+
Update one or more installed plugins to their latest version on a WordPress
|
|
2027
|
+
installation.
|
|
2028
|
+
|
|
2029
|
+
Provide the WordPress installation (software) identifier in the path. It can
|
|
2030
|
+
be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
|
|
2031
|
+
|
|
2032
|
+
This operation is asynchronous: a successful response only means the update job
|
|
2033
|
+
has been queued.
|
|
2034
|
+
|
|
2035
|
+
- **Method**: `POST`
|
|
2036
|
+
- **Path**: `/api/hosting/v1/accounts/{username}/wordpress/{software}/plugins/update`
|
|
2037
|
+
|
|
2038
|
+
#### hosting_activateWordPressThemeV1
|
|
2039
|
+
|
|
2040
|
+
Activate an installed theme on a WordPress installation.
|
|
2041
|
+
|
|
2042
|
+
Provide the WordPress installation (software) identifier in the path. It can
|
|
2043
|
+
be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
|
|
2044
|
+
|
|
2045
|
+
This operation is asynchronous: a successful response only means the activation
|
|
2046
|
+
job has been queued.
|
|
2047
|
+
|
|
2048
|
+
- **Method**: `POST`
|
|
2049
|
+
- **Path**: `/api/hosting/v1/accounts/{username}/wordpress/{software}/themes/activate`
|
|
2050
|
+
|
|
1898
2051
|
#### hosting_installWordPressThemeV1
|
|
1899
2052
|
|
|
1900
2053
|
Install a theme on an existing WordPress installation.
|
|
@@ -1913,3 +2066,51 @@ job has been queued, not that the theme is ready.
|
|
|
1913
2066
|
|
|
1914
2067
|
- **Method**: `POST`
|
|
1915
2068
|
- **Path**: `/api/hosting/v1/accounts/{username}/wordpress/{software}/themes/install`
|
|
2069
|
+
|
|
2070
|
+
#### hosting_listInstalledWordPressThemesV1
|
|
2071
|
+
|
|
2072
|
+
List themes installed on a WordPress installation, including their status,
|
|
2073
|
+
available updates and known vulnerabilities.
|
|
2074
|
+
|
|
2075
|
+
Provide the WordPress installation (software) identifier in the path. It can
|
|
2076
|
+
be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
|
|
2077
|
+
|
|
2078
|
+
- **Method**: `GET`
|
|
2079
|
+
- **Path**: `/api/hosting/v1/accounts/{username}/wordpress/{software}/themes`
|
|
2080
|
+
|
|
2081
|
+
#### hosting_listWordPressThemesV1
|
|
2082
|
+
|
|
2083
|
+
List WordPress themes available to install.
|
|
2084
|
+
|
|
2085
|
+
Use the returned `slug` values with
|
|
2086
|
+
POST /api/hosting/v1/accounts/{username}/wordpress/{software}/themes/install.
|
|
2087
|
+
|
|
2088
|
+
- **Method**: `GET`
|
|
2089
|
+
- **Path**: `/api/hosting/v1/wordpress/themes`
|
|
2090
|
+
|
|
2091
|
+
#### hosting_uninstallWordPressThemesV1
|
|
2092
|
+
|
|
2093
|
+
Uninstall one or more themes from a WordPress installation.
|
|
2094
|
+
|
|
2095
|
+
Provide the WordPress installation (software) identifier in the path. It can
|
|
2096
|
+
be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
|
|
2097
|
+
|
|
2098
|
+
This operation is asynchronous: a successful response only means the uninstall
|
|
2099
|
+
job has been queued.
|
|
2100
|
+
|
|
2101
|
+
- **Method**: `POST`
|
|
2102
|
+
- **Path**: `/api/hosting/v1/accounts/{username}/wordpress/{software}/themes/uninstall`
|
|
2103
|
+
|
|
2104
|
+
#### hosting_updateWordPressThemesV1
|
|
2105
|
+
|
|
2106
|
+
Update one or more installed themes to their latest version on a WordPress
|
|
2107
|
+
installation.
|
|
2108
|
+
|
|
2109
|
+
Provide the WordPress installation (software) identifier in the path. It can
|
|
2110
|
+
be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
|
|
2111
|
+
|
|
2112
|
+
This operation is asynchronous: a successful response only means the update job
|
|
2113
|
+
has been queued.
|
|
2114
|
+
|
|
2115
|
+
- **Method**: `POST`
|
|
2116
|
+
- **Path**: `/api/hosting/v1/accounts/{username}/wordpress/{software}/themes/update`
|
package/gemini-extension.json
CHANGED
package/package.json
CHANGED
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.
|
|
9
|
+
"version": "1.1.1",
|
|
10
10
|
"packages": [
|
|
11
11
|
{
|
|
12
12
|
"registryType": "npm",
|
|
13
13
|
"identifier": "hostinger-api-mcp",
|
|
14
|
-
"version": "1.
|
|
14
|
+
"version": "1.1.1",
|
|
15
15
|
"transport": {
|
|
16
16
|
"type": "stdio"
|
|
17
17
|
},
|
package/src/core/runtime.js
CHANGED
package/src/core/runtime.ts
CHANGED