hostinger-api-mcp 1.11.1 → 1.12.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 +59 -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/agency-hosting.js +177 -0
- package/src/core/tools/agency-hosting.ts +177 -0
- package/src/core/tools/all.js +221 -0
- package/src/core/tools/all.ts +221 -0
- package/src/core/tools/mail.js +44 -0
- package/src/core/tools/mail.ts +44 -0
- package/src/servers/agency-hosting.js +1 -1
- package/src/servers/agency-hosting.ts +1 -1
- 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/mail.js +1 -1
- package/src/servers/mail.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 +156 -0
package/src/core/tools/all.js
CHANGED
|
@@ -832,6 +832,183 @@ export default [
|
|
|
832
832
|
],
|
|
833
833
|
"group": "agency-hosting"
|
|
834
834
|
},
|
|
835
|
+
{
|
|
836
|
+
"name": "agency-hosting_listAgencyPlanWebsiteDatabasesV1",
|
|
837
|
+
"description": "Returns a paginated list of MySQL databases created for an Agency Plan website.\n\nEach entry includes the database's non-system users.",
|
|
838
|
+
"method": "GET",
|
|
839
|
+
"path": "/api/agency-hosting/v1/websites/{website_uid}/databases",
|
|
840
|
+
"inputSchema": {
|
|
841
|
+
"type": "object",
|
|
842
|
+
"properties": {
|
|
843
|
+
"website_uid": {
|
|
844
|
+
"type": "string",
|
|
845
|
+
"description": "Agency Plan website UID"
|
|
846
|
+
},
|
|
847
|
+
"page": {
|
|
848
|
+
"type": "integer",
|
|
849
|
+
"description": "Page number"
|
|
850
|
+
},
|
|
851
|
+
"per_page": {
|
|
852
|
+
"type": "integer",
|
|
853
|
+
"description": "Number of items per page"
|
|
854
|
+
}
|
|
855
|
+
},
|
|
856
|
+
"required": [
|
|
857
|
+
"website_uid"
|
|
858
|
+
]
|
|
859
|
+
},
|
|
860
|
+
"security": [
|
|
861
|
+
{
|
|
862
|
+
"apiToken": []
|
|
863
|
+
}
|
|
864
|
+
],
|
|
865
|
+
"group": "agency-hosting"
|
|
866
|
+
},
|
|
867
|
+
{
|
|
868
|
+
"name": "agency-hosting_createAgencyPlanWebsiteDatabaseV1",
|
|
869
|
+
"description": "Creates a MySQL database with a dedicated user for an Agency Plan website.\n\nThe database name, username, and password must all be provided by the caller.",
|
|
870
|
+
"method": "POST",
|
|
871
|
+
"path": "/api/agency-hosting/v1/websites/{website_uid}/databases",
|
|
872
|
+
"inputSchema": {
|
|
873
|
+
"type": "object",
|
|
874
|
+
"properties": {
|
|
875
|
+
"website_uid": {
|
|
876
|
+
"type": "string",
|
|
877
|
+
"description": "Agency Plan website UID"
|
|
878
|
+
},
|
|
879
|
+
"database_name": {
|
|
880
|
+
"type": "string",
|
|
881
|
+
"description": "Database name to create (alphanumeric characters)."
|
|
882
|
+
},
|
|
883
|
+
"database_user": {
|
|
884
|
+
"type": "string",
|
|
885
|
+
"description": "Database username to create alongside the database (alphanumeric characters)."
|
|
886
|
+
},
|
|
887
|
+
"password": {
|
|
888
|
+
"type": "string",
|
|
889
|
+
"description": "Password for the database user (requires mixed case, letters, and numbers)."
|
|
890
|
+
}
|
|
891
|
+
},
|
|
892
|
+
"required": [
|
|
893
|
+
"website_uid",
|
|
894
|
+
"database_name",
|
|
895
|
+
"database_user",
|
|
896
|
+
"password"
|
|
897
|
+
]
|
|
898
|
+
},
|
|
899
|
+
"security": [
|
|
900
|
+
{
|
|
901
|
+
"apiToken": []
|
|
902
|
+
}
|
|
903
|
+
],
|
|
904
|
+
"group": "agency-hosting"
|
|
905
|
+
},
|
|
906
|
+
{
|
|
907
|
+
"name": "agency-hosting_deleteAgencyPlanWebsiteDatabaseV1",
|
|
908
|
+
"description": "Permanently deletes a MySQL database and all its data from an Agency Plan website, including its users.\n\nThe operation is idempotent: deleting a database that does not exist succeeds without error.",
|
|
909
|
+
"method": "DELETE",
|
|
910
|
+
"path": "/api/agency-hosting/v1/websites/{website_uid}/databases/{database_name}",
|
|
911
|
+
"inputSchema": {
|
|
912
|
+
"type": "object",
|
|
913
|
+
"properties": {
|
|
914
|
+
"website_uid": {
|
|
915
|
+
"type": "string",
|
|
916
|
+
"description": "Agency Plan website UID"
|
|
917
|
+
},
|
|
918
|
+
"database_name": {
|
|
919
|
+
"type": "string",
|
|
920
|
+
"description": "Full database name as returned by the list databases endpoint."
|
|
921
|
+
}
|
|
922
|
+
},
|
|
923
|
+
"required": [
|
|
924
|
+
"website_uid",
|
|
925
|
+
"database_name"
|
|
926
|
+
]
|
|
927
|
+
},
|
|
928
|
+
"security": [
|
|
929
|
+
{
|
|
930
|
+
"apiToken": []
|
|
931
|
+
}
|
|
932
|
+
],
|
|
933
|
+
"group": "agency-hosting"
|
|
934
|
+
},
|
|
935
|
+
{
|
|
936
|
+
"name": "agency-hosting_createAgencyPlanWebsiteDatabaseUserV1",
|
|
937
|
+
"description": "Creates a user for an existing database on an Agency Plan website.\n\nEach database supports a single non-system user; creating a user for a database that already has one fails.",
|
|
938
|
+
"method": "POST",
|
|
939
|
+
"path": "/api/agency-hosting/v1/websites/{website_uid}/databases/{database_name}/users",
|
|
940
|
+
"inputSchema": {
|
|
941
|
+
"type": "object",
|
|
942
|
+
"properties": {
|
|
943
|
+
"website_uid": {
|
|
944
|
+
"type": "string",
|
|
945
|
+
"description": "Agency Plan website UID"
|
|
946
|
+
},
|
|
947
|
+
"database_name": {
|
|
948
|
+
"type": "string",
|
|
949
|
+
"description": "Full database name as returned by the list databases endpoint."
|
|
950
|
+
},
|
|
951
|
+
"database_user": {
|
|
952
|
+
"type": "string",
|
|
953
|
+
"description": "Database username to create (alphanumeric and underscores)."
|
|
954
|
+
},
|
|
955
|
+
"password": {
|
|
956
|
+
"type": "string",
|
|
957
|
+
"description": "Password for the database user (requires mixed case, letters, and numbers)."
|
|
958
|
+
},
|
|
959
|
+
"host": {
|
|
960
|
+
"type": "string",
|
|
961
|
+
"description": "Host the user connects from (IPv4, IPv6, % wildcard, or localhost). Defaults to localhost."
|
|
962
|
+
}
|
|
963
|
+
},
|
|
964
|
+
"required": [
|
|
965
|
+
"website_uid",
|
|
966
|
+
"database_name",
|
|
967
|
+
"database_user",
|
|
968
|
+
"password"
|
|
969
|
+
]
|
|
970
|
+
},
|
|
971
|
+
"security": [
|
|
972
|
+
{
|
|
973
|
+
"apiToken": []
|
|
974
|
+
}
|
|
975
|
+
],
|
|
976
|
+
"group": "agency-hosting"
|
|
977
|
+
},
|
|
978
|
+
{
|
|
979
|
+
"name": "agency-hosting_deleteAgencyPlanWebsiteDatabaseUserV1",
|
|
980
|
+
"description": "Permanently deletes a database user from an Agency Plan website database, revoking all access it had.\n\nThe operation is idempotent: deleting a user that does not exist succeeds without error.",
|
|
981
|
+
"method": "DELETE",
|
|
982
|
+
"path": "/api/agency-hosting/v1/websites/{website_uid}/databases/{database_name}/users/{database_user_name}",
|
|
983
|
+
"inputSchema": {
|
|
984
|
+
"type": "object",
|
|
985
|
+
"properties": {
|
|
986
|
+
"website_uid": {
|
|
987
|
+
"type": "string",
|
|
988
|
+
"description": "Agency Plan website UID"
|
|
989
|
+
},
|
|
990
|
+
"database_name": {
|
|
991
|
+
"type": "string",
|
|
992
|
+
"description": "Full database name as returned by the list databases endpoint."
|
|
993
|
+
},
|
|
994
|
+
"database_user_name": {
|
|
995
|
+
"type": "string",
|
|
996
|
+
"description": "Database username as returned by the list databases endpoint."
|
|
997
|
+
}
|
|
998
|
+
},
|
|
999
|
+
"required": [
|
|
1000
|
+
"website_uid",
|
|
1001
|
+
"database_name",
|
|
1002
|
+
"database_user_name"
|
|
1003
|
+
]
|
|
1004
|
+
},
|
|
1005
|
+
"security": [
|
|
1006
|
+
{
|
|
1007
|
+
"apiToken": []
|
|
1008
|
+
}
|
|
1009
|
+
],
|
|
1010
|
+
"group": "agency-hosting"
|
|
1011
|
+
},
|
|
835
1012
|
{
|
|
836
1013
|
"name": "agency-hosting_getAgencyPlanWebsiteDetailsV1",
|
|
837
1014
|
"description": "Retrieves detailed information about a specific Agency Plan website, including configuration,\nstatus, metadata, hosting plan details, and resource quotas.",
|
|
@@ -3940,6 +4117,50 @@ export default [
|
|
|
3940
4117
|
],
|
|
3941
4118
|
"group": "hosting"
|
|
3942
4119
|
},
|
|
4120
|
+
{
|
|
4121
|
+
"name": "mail_getMailboxListV1",
|
|
4122
|
+
"description": "Retrieve a paginated list of mailboxes belonging to a mail order.\n\nUse this endpoint to monitor mailboxes of your mail service, including\ntheir status, enabled protocols, attached resource counts, and\nperiodically synced usage numbers (usage may lag behind live values).",
|
|
4123
|
+
"method": "GET",
|
|
4124
|
+
"path": "/api/mail/v1/orders/{orderId}/mailboxes",
|
|
4125
|
+
"inputSchema": {
|
|
4126
|
+
"type": "object",
|
|
4127
|
+
"properties": {
|
|
4128
|
+
"orderId": {
|
|
4129
|
+
"type": "string",
|
|
4130
|
+
"description": "Order resource ID"
|
|
4131
|
+
},
|
|
4132
|
+
"search": {
|
|
4133
|
+
"type": "string",
|
|
4134
|
+
"description": "Filter mailboxes whose email address contains the given string"
|
|
4135
|
+
},
|
|
4136
|
+
"sort": {
|
|
4137
|
+
"type": "string",
|
|
4138
|
+
"description": "Sort mailboxes by field. Prefix with `-` for descending order.",
|
|
4139
|
+
"enum": [
|
|
4140
|
+
"address",
|
|
4141
|
+
"-address"
|
|
4142
|
+
]
|
|
4143
|
+
},
|
|
4144
|
+
"page": {
|
|
4145
|
+
"type": "integer",
|
|
4146
|
+
"description": "Page number"
|
|
4147
|
+
},
|
|
4148
|
+
"per_page": {
|
|
4149
|
+
"type": "integer",
|
|
4150
|
+
"description": "Number of items per page"
|
|
4151
|
+
}
|
|
4152
|
+
},
|
|
4153
|
+
"required": [
|
|
4154
|
+
"orderId"
|
|
4155
|
+
]
|
|
4156
|
+
},
|
|
4157
|
+
"security": [
|
|
4158
|
+
{
|
|
4159
|
+
"apiToken": []
|
|
4160
|
+
}
|
|
4161
|
+
],
|
|
4162
|
+
"group": "mail"
|
|
4163
|
+
},
|
|
3943
4164
|
{
|
|
3944
4165
|
"name": "mail_getMailOrderListV1",
|
|
3945
4166
|
"description": "Retrieve a paginated list of mail orders associated with your account.\n\nUse this endpoint to monitor your mail services, including their status,\nplan, attached domain, and expiration details.",
|
package/src/core/tools/all.ts
CHANGED
|
@@ -846,6 +846,183 @@ const tools: OpenApiTool[] = [
|
|
|
846
846
|
],
|
|
847
847
|
"group": "agency-hosting"
|
|
848
848
|
},
|
|
849
|
+
{
|
|
850
|
+
"name": "agency-hosting_listAgencyPlanWebsiteDatabasesV1",
|
|
851
|
+
"description": "Returns a paginated list of MySQL databases created for an Agency Plan website.\n\nEach entry includes the database's non-system users.",
|
|
852
|
+
"method": "GET",
|
|
853
|
+
"path": "/api/agency-hosting/v1/websites/{website_uid}/databases",
|
|
854
|
+
"inputSchema": {
|
|
855
|
+
"type": "object",
|
|
856
|
+
"properties": {
|
|
857
|
+
"website_uid": {
|
|
858
|
+
"type": "string",
|
|
859
|
+
"description": "Agency Plan website UID"
|
|
860
|
+
},
|
|
861
|
+
"page": {
|
|
862
|
+
"type": "integer",
|
|
863
|
+
"description": "Page number"
|
|
864
|
+
},
|
|
865
|
+
"per_page": {
|
|
866
|
+
"type": "integer",
|
|
867
|
+
"description": "Number of items per page"
|
|
868
|
+
}
|
|
869
|
+
},
|
|
870
|
+
"required": [
|
|
871
|
+
"website_uid"
|
|
872
|
+
]
|
|
873
|
+
},
|
|
874
|
+
"security": [
|
|
875
|
+
{
|
|
876
|
+
"apiToken": []
|
|
877
|
+
}
|
|
878
|
+
],
|
|
879
|
+
"group": "agency-hosting"
|
|
880
|
+
},
|
|
881
|
+
{
|
|
882
|
+
"name": "agency-hosting_createAgencyPlanWebsiteDatabaseV1",
|
|
883
|
+
"description": "Creates a MySQL database with a dedicated user for an Agency Plan website.\n\nThe database name, username, and password must all be provided by the caller.",
|
|
884
|
+
"method": "POST",
|
|
885
|
+
"path": "/api/agency-hosting/v1/websites/{website_uid}/databases",
|
|
886
|
+
"inputSchema": {
|
|
887
|
+
"type": "object",
|
|
888
|
+
"properties": {
|
|
889
|
+
"website_uid": {
|
|
890
|
+
"type": "string",
|
|
891
|
+
"description": "Agency Plan website UID"
|
|
892
|
+
},
|
|
893
|
+
"database_name": {
|
|
894
|
+
"type": "string",
|
|
895
|
+
"description": "Database name to create (alphanumeric characters)."
|
|
896
|
+
},
|
|
897
|
+
"database_user": {
|
|
898
|
+
"type": "string",
|
|
899
|
+
"description": "Database username to create alongside the database (alphanumeric characters)."
|
|
900
|
+
},
|
|
901
|
+
"password": {
|
|
902
|
+
"type": "string",
|
|
903
|
+
"description": "Password for the database user (requires mixed case, letters, and numbers)."
|
|
904
|
+
}
|
|
905
|
+
},
|
|
906
|
+
"required": [
|
|
907
|
+
"website_uid",
|
|
908
|
+
"database_name",
|
|
909
|
+
"database_user",
|
|
910
|
+
"password"
|
|
911
|
+
]
|
|
912
|
+
},
|
|
913
|
+
"security": [
|
|
914
|
+
{
|
|
915
|
+
"apiToken": []
|
|
916
|
+
}
|
|
917
|
+
],
|
|
918
|
+
"group": "agency-hosting"
|
|
919
|
+
},
|
|
920
|
+
{
|
|
921
|
+
"name": "agency-hosting_deleteAgencyPlanWebsiteDatabaseV1",
|
|
922
|
+
"description": "Permanently deletes a MySQL database and all its data from an Agency Plan website, including its users.\n\nThe operation is idempotent: deleting a database that does not exist succeeds without error.",
|
|
923
|
+
"method": "DELETE",
|
|
924
|
+
"path": "/api/agency-hosting/v1/websites/{website_uid}/databases/{database_name}",
|
|
925
|
+
"inputSchema": {
|
|
926
|
+
"type": "object",
|
|
927
|
+
"properties": {
|
|
928
|
+
"website_uid": {
|
|
929
|
+
"type": "string",
|
|
930
|
+
"description": "Agency Plan website UID"
|
|
931
|
+
},
|
|
932
|
+
"database_name": {
|
|
933
|
+
"type": "string",
|
|
934
|
+
"description": "Full database name as returned by the list databases endpoint."
|
|
935
|
+
}
|
|
936
|
+
},
|
|
937
|
+
"required": [
|
|
938
|
+
"website_uid",
|
|
939
|
+
"database_name"
|
|
940
|
+
]
|
|
941
|
+
},
|
|
942
|
+
"security": [
|
|
943
|
+
{
|
|
944
|
+
"apiToken": []
|
|
945
|
+
}
|
|
946
|
+
],
|
|
947
|
+
"group": "agency-hosting"
|
|
948
|
+
},
|
|
949
|
+
{
|
|
950
|
+
"name": "agency-hosting_createAgencyPlanWebsiteDatabaseUserV1",
|
|
951
|
+
"description": "Creates a user for an existing database on an Agency Plan website.\n\nEach database supports a single non-system user; creating a user for a database that already has one fails.",
|
|
952
|
+
"method": "POST",
|
|
953
|
+
"path": "/api/agency-hosting/v1/websites/{website_uid}/databases/{database_name}/users",
|
|
954
|
+
"inputSchema": {
|
|
955
|
+
"type": "object",
|
|
956
|
+
"properties": {
|
|
957
|
+
"website_uid": {
|
|
958
|
+
"type": "string",
|
|
959
|
+
"description": "Agency Plan website UID"
|
|
960
|
+
},
|
|
961
|
+
"database_name": {
|
|
962
|
+
"type": "string",
|
|
963
|
+
"description": "Full database name as returned by the list databases endpoint."
|
|
964
|
+
},
|
|
965
|
+
"database_user": {
|
|
966
|
+
"type": "string",
|
|
967
|
+
"description": "Database username to create (alphanumeric and underscores)."
|
|
968
|
+
},
|
|
969
|
+
"password": {
|
|
970
|
+
"type": "string",
|
|
971
|
+
"description": "Password for the database user (requires mixed case, letters, and numbers)."
|
|
972
|
+
},
|
|
973
|
+
"host": {
|
|
974
|
+
"type": "string",
|
|
975
|
+
"description": "Host the user connects from (IPv4, IPv6, % wildcard, or localhost). Defaults to localhost."
|
|
976
|
+
}
|
|
977
|
+
},
|
|
978
|
+
"required": [
|
|
979
|
+
"website_uid",
|
|
980
|
+
"database_name",
|
|
981
|
+
"database_user",
|
|
982
|
+
"password"
|
|
983
|
+
]
|
|
984
|
+
},
|
|
985
|
+
"security": [
|
|
986
|
+
{
|
|
987
|
+
"apiToken": []
|
|
988
|
+
}
|
|
989
|
+
],
|
|
990
|
+
"group": "agency-hosting"
|
|
991
|
+
},
|
|
992
|
+
{
|
|
993
|
+
"name": "agency-hosting_deleteAgencyPlanWebsiteDatabaseUserV1",
|
|
994
|
+
"description": "Permanently deletes a database user from an Agency Plan website database, revoking all access it had.\n\nThe operation is idempotent: deleting a user that does not exist succeeds without error.",
|
|
995
|
+
"method": "DELETE",
|
|
996
|
+
"path": "/api/agency-hosting/v1/websites/{website_uid}/databases/{database_name}/users/{database_user_name}",
|
|
997
|
+
"inputSchema": {
|
|
998
|
+
"type": "object",
|
|
999
|
+
"properties": {
|
|
1000
|
+
"website_uid": {
|
|
1001
|
+
"type": "string",
|
|
1002
|
+
"description": "Agency Plan website UID"
|
|
1003
|
+
},
|
|
1004
|
+
"database_name": {
|
|
1005
|
+
"type": "string",
|
|
1006
|
+
"description": "Full database name as returned by the list databases endpoint."
|
|
1007
|
+
},
|
|
1008
|
+
"database_user_name": {
|
|
1009
|
+
"type": "string",
|
|
1010
|
+
"description": "Database username as returned by the list databases endpoint."
|
|
1011
|
+
}
|
|
1012
|
+
},
|
|
1013
|
+
"required": [
|
|
1014
|
+
"website_uid",
|
|
1015
|
+
"database_name",
|
|
1016
|
+
"database_user_name"
|
|
1017
|
+
]
|
|
1018
|
+
},
|
|
1019
|
+
"security": [
|
|
1020
|
+
{
|
|
1021
|
+
"apiToken": []
|
|
1022
|
+
}
|
|
1023
|
+
],
|
|
1024
|
+
"group": "agency-hosting"
|
|
1025
|
+
},
|
|
849
1026
|
{
|
|
850
1027
|
"name": "agency-hosting_getAgencyPlanWebsiteDetailsV1",
|
|
851
1028
|
"description": "Retrieves detailed information about a specific Agency Plan website, including configuration,\nstatus, metadata, hosting plan details, and resource quotas.",
|
|
@@ -3954,6 +4131,50 @@ const tools: OpenApiTool[] = [
|
|
|
3954
4131
|
],
|
|
3955
4132
|
"group": "hosting"
|
|
3956
4133
|
},
|
|
4134
|
+
{
|
|
4135
|
+
"name": "mail_getMailboxListV1",
|
|
4136
|
+
"description": "Retrieve a paginated list of mailboxes belonging to a mail order.\n\nUse this endpoint to monitor mailboxes of your mail service, including\ntheir status, enabled protocols, attached resource counts, and\nperiodically synced usage numbers (usage may lag behind live values).",
|
|
4137
|
+
"method": "GET",
|
|
4138
|
+
"path": "/api/mail/v1/orders/{orderId}/mailboxes",
|
|
4139
|
+
"inputSchema": {
|
|
4140
|
+
"type": "object",
|
|
4141
|
+
"properties": {
|
|
4142
|
+
"orderId": {
|
|
4143
|
+
"type": "string",
|
|
4144
|
+
"description": "Order resource ID"
|
|
4145
|
+
},
|
|
4146
|
+
"search": {
|
|
4147
|
+
"type": "string",
|
|
4148
|
+
"description": "Filter mailboxes whose email address contains the given string"
|
|
4149
|
+
},
|
|
4150
|
+
"sort": {
|
|
4151
|
+
"type": "string",
|
|
4152
|
+
"description": "Sort mailboxes by field. Prefix with `-` for descending order.",
|
|
4153
|
+
"enum": [
|
|
4154
|
+
"address",
|
|
4155
|
+
"-address"
|
|
4156
|
+
]
|
|
4157
|
+
},
|
|
4158
|
+
"page": {
|
|
4159
|
+
"type": "integer",
|
|
4160
|
+
"description": "Page number"
|
|
4161
|
+
},
|
|
4162
|
+
"per_page": {
|
|
4163
|
+
"type": "integer",
|
|
4164
|
+
"description": "Number of items per page"
|
|
4165
|
+
}
|
|
4166
|
+
},
|
|
4167
|
+
"required": [
|
|
4168
|
+
"orderId"
|
|
4169
|
+
]
|
|
4170
|
+
},
|
|
4171
|
+
"security": [
|
|
4172
|
+
{
|
|
4173
|
+
"apiToken": []
|
|
4174
|
+
}
|
|
4175
|
+
],
|
|
4176
|
+
"group": "mail"
|
|
4177
|
+
},
|
|
3957
4178
|
{
|
|
3958
4179
|
"name": "mail_getMailOrderListV1",
|
|
3959
4180
|
"description": "Retrieve a paginated list of mail orders associated with your account.\n\nUse this endpoint to monitor your mail services, including their status,\nplan, attached domain, and expiration details.",
|
package/src/core/tools/mail.js
CHANGED
|
@@ -1,5 +1,49 @@
|
|
|
1
1
|
// Auto-generated tool list for group: mail
|
|
2
2
|
export default [
|
|
3
|
+
{
|
|
4
|
+
"name": "mail_getMailboxListV1",
|
|
5
|
+
"description": "Retrieve a paginated list of mailboxes belonging to a mail order.\n\nUse this endpoint to monitor mailboxes of your mail service, including\ntheir status, enabled protocols, attached resource counts, and\nperiodically synced usage numbers (usage may lag behind live values).",
|
|
6
|
+
"method": "GET",
|
|
7
|
+
"path": "/api/mail/v1/orders/{orderId}/mailboxes",
|
|
8
|
+
"inputSchema": {
|
|
9
|
+
"type": "object",
|
|
10
|
+
"properties": {
|
|
11
|
+
"orderId": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"description": "Order resource ID"
|
|
14
|
+
},
|
|
15
|
+
"search": {
|
|
16
|
+
"type": "string",
|
|
17
|
+
"description": "Filter mailboxes whose email address contains the given string"
|
|
18
|
+
},
|
|
19
|
+
"sort": {
|
|
20
|
+
"type": "string",
|
|
21
|
+
"description": "Sort mailboxes by field. Prefix with `-` for descending order.",
|
|
22
|
+
"enum": [
|
|
23
|
+
"address",
|
|
24
|
+
"-address"
|
|
25
|
+
]
|
|
26
|
+
},
|
|
27
|
+
"page": {
|
|
28
|
+
"type": "integer",
|
|
29
|
+
"description": "Page number"
|
|
30
|
+
},
|
|
31
|
+
"per_page": {
|
|
32
|
+
"type": "integer",
|
|
33
|
+
"description": "Number of items per page"
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"required": [
|
|
37
|
+
"orderId"
|
|
38
|
+
]
|
|
39
|
+
},
|
|
40
|
+
"security": [
|
|
41
|
+
{
|
|
42
|
+
"apiToken": []
|
|
43
|
+
}
|
|
44
|
+
],
|
|
45
|
+
"group": "mail"
|
|
46
|
+
},
|
|
3
47
|
{
|
|
4
48
|
"name": "mail_getMailOrderListV1",
|
|
5
49
|
"description": "Retrieve a paginated list of mail orders associated with your account.\n\nUse this endpoint to monitor your mail services, including their status,\nplan, attached domain, and expiration details.",
|
package/src/core/tools/mail.ts
CHANGED
|
@@ -14,6 +14,50 @@ export interface OpenApiTool extends Tool {
|
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
const tools: OpenApiTool[] = [
|
|
17
|
+
{
|
|
18
|
+
"name": "mail_getMailboxListV1",
|
|
19
|
+
"description": "Retrieve a paginated list of mailboxes belonging to a mail order.\n\nUse this endpoint to monitor mailboxes of your mail service, including\ntheir status, enabled protocols, attached resource counts, and\nperiodically synced usage numbers (usage may lag behind live values).",
|
|
20
|
+
"method": "GET",
|
|
21
|
+
"path": "/api/mail/v1/orders/{orderId}/mailboxes",
|
|
22
|
+
"inputSchema": {
|
|
23
|
+
"type": "object",
|
|
24
|
+
"properties": {
|
|
25
|
+
"orderId": {
|
|
26
|
+
"type": "string",
|
|
27
|
+
"description": "Order resource ID"
|
|
28
|
+
},
|
|
29
|
+
"search": {
|
|
30
|
+
"type": "string",
|
|
31
|
+
"description": "Filter mailboxes whose email address contains the given string"
|
|
32
|
+
},
|
|
33
|
+
"sort": {
|
|
34
|
+
"type": "string",
|
|
35
|
+
"description": "Sort mailboxes by field. Prefix with `-` for descending order.",
|
|
36
|
+
"enum": [
|
|
37
|
+
"address",
|
|
38
|
+
"-address"
|
|
39
|
+
]
|
|
40
|
+
},
|
|
41
|
+
"page": {
|
|
42
|
+
"type": "integer",
|
|
43
|
+
"description": "Page number"
|
|
44
|
+
},
|
|
45
|
+
"per_page": {
|
|
46
|
+
"type": "integer",
|
|
47
|
+
"description": "Number of items per page"
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
"required": [
|
|
51
|
+
"orderId"
|
|
52
|
+
]
|
|
53
|
+
},
|
|
54
|
+
"security": [
|
|
55
|
+
{
|
|
56
|
+
"apiToken": []
|
|
57
|
+
}
|
|
58
|
+
],
|
|
59
|
+
"group": "mail"
|
|
60
|
+
},
|
|
17
61
|
{
|
|
18
62
|
"name": "mail_getMailOrderListV1",
|
|
19
63
|
"description": "Retrieve a paginated list of mail orders associated with your account.\n\nUse this endpoint to monitor your mail services, including their status,\nplan, attached domain, and expiration details.",
|
|
@@ -3,4 +3,4 @@
|
|
|
3
3
|
import { startServer } from '../core/runtime.js';
|
|
4
4
|
import tools from '../core/tools/agency-hosting.js';
|
|
5
5
|
|
|
6
|
-
startServer({ name: 'hostinger-agency-hosting-mcp', version: '1.
|
|
6
|
+
startServer({ name: 'hostinger-agency-hosting-mcp', version: '1.12.0', tools });
|
|
@@ -3,4 +3,4 @@
|
|
|
3
3
|
import { startServer } from '../core/runtime.js';
|
|
4
4
|
import tools from '../core/tools/agency-hosting.js';
|
|
5
5
|
|
|
6
|
-
startServer({ name: 'hostinger-agency-hosting-mcp', version: '1.
|
|
6
|
+
startServer({ name: 'hostinger-agency-hosting-mcp', version: '1.12.0', tools });
|
package/src/servers/all.js
CHANGED
package/src/servers/all.ts
CHANGED
package/src/servers/billing.js
CHANGED
package/src/servers/billing.ts
CHANGED
package/src/servers/dns.js
CHANGED
package/src/servers/dns.ts
CHANGED
package/src/servers/domains.js
CHANGED
package/src/servers/domains.ts
CHANGED
package/src/servers/ecommerce.js
CHANGED
package/src/servers/ecommerce.ts
CHANGED
package/src/servers/horizons.js
CHANGED
package/src/servers/horizons.ts
CHANGED