hostinger-api-mcp 1.2.1 → 1.3.0
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 +180 -2
- 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 +507 -0
- package/src/core/tools/all.ts +507 -0
- package/src/core/tools/wordpress.js +507 -0
- package/src/core/tools/wordpress.ts +507 -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 +366 -0
package/README.md
CHANGED
|
@@ -49,7 +49,7 @@ 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 (197 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
|
|
@@ -58,7 +58,7 @@ This package installs the following MCP server commands:
|
|
|
58
58
|
- `hostinger-hosting-mcp` — 41 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` — 35 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
|
|
|
@@ -1941,6 +1941,65 @@ Use this endpoint to power off running VPS instances.
|
|
|
1941
1941
|
|
|
1942
1942
|
### `hostinger-wordpress-mcp`
|
|
1943
1943
|
|
|
1944
|
+
#### hosting_showAIOptionStatusV1
|
|
1945
|
+
|
|
1946
|
+
Show the current AI option status for the Hostinger Tools plugin on the
|
|
1947
|
+
specified WordPress installation. Filter by `option` to return a single
|
|
1948
|
+
option, or omit it to return all options.
|
|
1949
|
+
|
|
1950
|
+
Provide the WordPress installation (software) identifier in the path. It can
|
|
1951
|
+
be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
|
|
1952
|
+
|
|
1953
|
+
- **Method**: `GET`
|
|
1954
|
+
- **Path**: `/api/hosting/v1/accounts/{username}/wordpress/{software}/hostinger-plugins/ai-option/status`
|
|
1955
|
+
|
|
1956
|
+
#### hosting_setAIOptionStatusV1
|
|
1957
|
+
|
|
1958
|
+
Enable or disable an AI option for the Hostinger Tools plugin on the specified
|
|
1959
|
+
WordPress installation.
|
|
1960
|
+
|
|
1961
|
+
Provide the WordPress installation (software) identifier in the path. It can
|
|
1962
|
+
be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
|
|
1963
|
+
|
|
1964
|
+
- **Method**: `PATCH`
|
|
1965
|
+
- **Path**: `/api/hosting/v1/accounts/{username}/wordpress/{software}/hostinger-plugins/ai-option/status`
|
|
1966
|
+
|
|
1967
|
+
#### hosting_checkIfWordPressInstallationsAreValidV1
|
|
1968
|
+
|
|
1969
|
+
Check whether one or more WordPress installations are valid and working
|
|
1970
|
+
correctly. Detects broken installations caused by missing files, broken
|
|
1971
|
+
plugins, themes and similar issues.
|
|
1972
|
+
|
|
1973
|
+
Provide the WordPress installation (software) identifiers in the body. They
|
|
1974
|
+
can be obtained from GET /api/hosting/v1/wordpress/installations (the `id`
|
|
1975
|
+
field).
|
|
1976
|
+
|
|
1977
|
+
- **Method**: `POST`
|
|
1978
|
+
- **Path**: `/api/hosting/v1/accounts/{username}/wordpress/installations/check-is-valid`
|
|
1979
|
+
|
|
1980
|
+
#### hosting_deleteWordPressInstallationV1
|
|
1981
|
+
|
|
1982
|
+
Delete the specified WordPress installation, with optional file and database
|
|
1983
|
+
removal. This removes all associated components including plugins, themes,
|
|
1984
|
+
staging websites and any other related data.
|
|
1985
|
+
|
|
1986
|
+
Provide the WordPress installation (software) identifier in the path. It can
|
|
1987
|
+
be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
|
|
1988
|
+
|
|
1989
|
+
- **Method**: `DELETE`
|
|
1990
|
+
- **Path**: `/api/hosting/v1/accounts/{username}/wordpress/{software}`
|
|
1991
|
+
|
|
1992
|
+
#### hosting_detectWordPressInstallationsV1
|
|
1993
|
+
|
|
1994
|
+
Trigger a background scan to detect WordPress installations for the account.
|
|
1995
|
+
|
|
1996
|
+
This operation is asynchronous: a successful response only means the scan has
|
|
1997
|
+
been queued. Poll GET /api/hosting/v1/wordpress/installations to fetch the
|
|
1998
|
+
detected installations once the scan completes.
|
|
1999
|
+
|
|
2000
|
+
- **Method**: `POST`
|
|
2001
|
+
- **Path**: `/api/hosting/v1/accounts/{username}/wordpress/installations/detect`
|
|
2002
|
+
|
|
1944
2003
|
#### hosting_installWordPressV1
|
|
1945
2004
|
|
|
1946
2005
|
Install WordPress on an existing website.
|
|
@@ -1978,6 +2037,125 @@ Each installation includes a `valid` flag and, when invalid, a
|
|
|
1978
2037
|
- **Method**: `GET`
|
|
1979
2038
|
- **Path**: `/api/hosting/v1/wordpress/installations`
|
|
1980
2039
|
|
|
2040
|
+
#### hosting_listAvailableWordPressCoreUpdatesV1
|
|
2041
|
+
|
|
2042
|
+
List available WordPress core updates for the specified installation.
|
|
2043
|
+
|
|
2044
|
+
Provide the WordPress installation (software) identifier in the path. It can
|
|
2045
|
+
be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
|
|
2046
|
+
|
|
2047
|
+
- **Method**: `GET`
|
|
2048
|
+
- **Path**: `/api/hosting/v1/accounts/{username}/wordpress/{software}/updates`
|
|
2049
|
+
|
|
2050
|
+
#### hosting_getInstallationJWTTokenV1
|
|
2051
|
+
|
|
2052
|
+
Return a JWT token used to authenticate requests against the specified
|
|
2053
|
+
WordPress installation, including its MCP (Model Context Protocol) endpoint.
|
|
2054
|
+
|
|
2055
|
+
Provide the WordPress installation (software) identifier in the path. It can
|
|
2056
|
+
be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
|
|
2057
|
+
|
|
2058
|
+
- **Method**: `GET`
|
|
2059
|
+
- **Path**: `/api/hosting/v1/accounts/{username}/wordpress/{software}/jwt-token`
|
|
2060
|
+
|
|
2061
|
+
#### hosting_showWordPressCoreVersionV1
|
|
2062
|
+
|
|
2063
|
+
Show the WordPress core version for the specified installation, along with
|
|
2064
|
+
known vulnerabilities affecting it.
|
|
2065
|
+
|
|
2066
|
+
Provide the WordPress installation (software) identifier in the path. It can
|
|
2067
|
+
be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
|
|
2068
|
+
|
|
2069
|
+
- **Method**: `GET`
|
|
2070
|
+
- **Path**: `/api/hosting/v1/accounts/{username}/wordpress/{software}/version`
|
|
2071
|
+
|
|
2072
|
+
#### hosting_updateWordPressCoreV1
|
|
2073
|
+
|
|
2074
|
+
Update the WordPress core for the specified installation (minor update or a
|
|
2075
|
+
specific version).
|
|
2076
|
+
|
|
2077
|
+
Provide the WordPress installation (software) identifier in the path. It can
|
|
2078
|
+
be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
|
|
2079
|
+
|
|
2080
|
+
This operation is asynchronous: a successful response only means the update
|
|
2081
|
+
job has been queued.
|
|
2082
|
+
|
|
2083
|
+
- **Method**: `POST`
|
|
2084
|
+
- **Path**: `/api/hosting/v1/accounts/{username}/wordpress/{software}/update`
|
|
2085
|
+
|
|
2086
|
+
#### hosting_purgeLiteSpeedCacheV1
|
|
2087
|
+
|
|
2088
|
+
Purge the LiteSpeed Cache for the specified WordPress installation.
|
|
2089
|
+
|
|
2090
|
+
Provide the WordPress installation (software) identifier in the path. It can
|
|
2091
|
+
be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
|
|
2092
|
+
|
|
2093
|
+
- **Method**: `POST`
|
|
2094
|
+
- **Path**: `/api/hosting/v1/accounts/{username}/wordpress/{software}/litespeed-cache/purge`
|
|
2095
|
+
|
|
2096
|
+
#### hosting_showLiteSpeedCacheStatusV1
|
|
2097
|
+
|
|
2098
|
+
Show the LiteSpeed Cache status for the specified WordPress installation.
|
|
2099
|
+
|
|
2100
|
+
Provide the WordPress installation (software) identifier in the path. It can
|
|
2101
|
+
be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
|
|
2102
|
+
|
|
2103
|
+
- **Method**: `GET`
|
|
2104
|
+
- **Path**: `/api/hosting/v1/accounts/{username}/wordpress/{software}/litespeed-cache/status`
|
|
2105
|
+
|
|
2106
|
+
#### hosting_createLoginLinksV1
|
|
2107
|
+
|
|
2108
|
+
Create temporary auto-login links for the specified WordPress installation.
|
|
2109
|
+
|
|
2110
|
+
Provide the WordPress installation (software) identifier in the path. It can
|
|
2111
|
+
be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
|
|
2112
|
+
|
|
2113
|
+
- **Method**: `POST`
|
|
2114
|
+
- **Path**: `/api/hosting/v1/accounts/{username}/wordpress/{software}/login/links`
|
|
2115
|
+
|
|
2116
|
+
#### hosting_showMaintenanceStatusV1
|
|
2117
|
+
|
|
2118
|
+
Show the maintenance mode status for the specified WordPress installation.
|
|
2119
|
+
|
|
2120
|
+
Provide the WordPress installation (software) identifier in the path. It can
|
|
2121
|
+
be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
|
|
2122
|
+
|
|
2123
|
+
- **Method**: `GET`
|
|
2124
|
+
- **Path**: `/api/hosting/v1/accounts/{username}/wordpress/{software}/maintenance/status`
|
|
2125
|
+
|
|
2126
|
+
#### hosting_toggleMaintenanceModeV1
|
|
2127
|
+
|
|
2128
|
+
Enable or disable maintenance mode for the specified WordPress installation,
|
|
2129
|
+
based on the `enabled` flag.
|
|
2130
|
+
|
|
2131
|
+
Provide the WordPress installation (software) identifier in the path. It can
|
|
2132
|
+
be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
|
|
2133
|
+
|
|
2134
|
+
- **Method**: `PATCH`
|
|
2135
|
+
- **Path**: `/api/hosting/v1/accounts/{username}/wordpress/{software}/maintenance/toggle`
|
|
2136
|
+
|
|
2137
|
+
#### hosting_showMemcachedObjectCacheStatusV1
|
|
2138
|
+
|
|
2139
|
+
Show the Memcached object cache status for the specified WordPress
|
|
2140
|
+
installation.
|
|
2141
|
+
|
|
2142
|
+
Provide the WordPress installation (software) identifier in the path. It can
|
|
2143
|
+
be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
|
|
2144
|
+
|
|
2145
|
+
- **Method**: `GET`
|
|
2146
|
+
- **Path**: `/api/hosting/v1/accounts/{username}/wordpress/{software}/memcached/status`
|
|
2147
|
+
|
|
2148
|
+
#### hosting_toggleMemcachedObjectCacheV1
|
|
2149
|
+
|
|
2150
|
+
Activate or deactivate the Memcached object cache for the specified WordPress
|
|
2151
|
+
installation, based on the `enabled` flag.
|
|
2152
|
+
|
|
2153
|
+
Provide the WordPress installation (software) identifier in the path. It can
|
|
2154
|
+
be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
|
|
2155
|
+
|
|
2156
|
+
- **Method**: `PATCH`
|
|
2157
|
+
- **Path**: `/api/hosting/v1/accounts/{username}/wordpress/{software}/memcached/toggle`
|
|
2158
|
+
|
|
1981
2159
|
#### hosting_activateWordPressPluginV1
|
|
1982
2160
|
|
|
1983
2161
|
Activate an installed plugin on a WordPress installation.
|
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.3.0",
|
|
10
10
|
"packages": [
|
|
11
11
|
{
|
|
12
12
|
"registryType": "npm",
|
|
13
13
|
"identifier": "hostinger-api-mcp",
|
|
14
|
-
"version": "1.
|
|
14
|
+
"version": "1.3.0",
|
|
15
15
|
"transport": {
|
|
16
16
|
"type": "stdio"
|
|
17
17
|
},
|
package/src/core/runtime.js
CHANGED
package/src/core/runtime.ts
CHANGED