@masonator/coolify-mcp 2.9.0 → 2.11.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 +25 -22
- package/dist/__tests__/coolify-client.test.js +656 -0
- package/dist/__tests__/mcp-server.test.js +215 -0
- package/dist/lib/coolify-client.d.ts +42 -1
- package/dist/lib/coolify-client.js +225 -0
- package/dist/lib/mcp-server.js +449 -20
- package/dist/types/coolify.d.ts +172 -0
- package/package.json +2 -2
package/dist/types/coolify.d.ts
CHANGED
|
@@ -224,6 +224,20 @@ export interface CreateApplicationPublicRequest {
|
|
|
224
224
|
install_command?: string;
|
|
225
225
|
build_command?: string;
|
|
226
226
|
start_command?: string;
|
|
227
|
+
dockerfile_location?: string;
|
|
228
|
+
watch_paths?: string;
|
|
229
|
+
health_check_enabled?: boolean;
|
|
230
|
+
health_check_path?: string;
|
|
231
|
+
health_check_port?: number;
|
|
232
|
+
health_check_host?: string;
|
|
233
|
+
health_check_method?: string;
|
|
234
|
+
health_check_return_code?: number;
|
|
235
|
+
health_check_scheme?: string;
|
|
236
|
+
health_check_response_text?: string;
|
|
237
|
+
health_check_interval?: number;
|
|
238
|
+
health_check_timeout?: number;
|
|
239
|
+
health_check_retries?: number;
|
|
240
|
+
health_check_start_period?: number;
|
|
227
241
|
custom_docker_run_options?: string;
|
|
228
242
|
custom_labels?: string;
|
|
229
243
|
instant_deploy?: boolean;
|
|
@@ -271,6 +285,18 @@ export interface CreateApplicationDockerImageRequest {
|
|
|
271
285
|
docker_registry_image_tag?: string;
|
|
272
286
|
ports_exposes: string;
|
|
273
287
|
ports_mappings?: string;
|
|
288
|
+
health_check_enabled?: boolean;
|
|
289
|
+
health_check_path?: string;
|
|
290
|
+
health_check_port?: number;
|
|
291
|
+
health_check_host?: string;
|
|
292
|
+
health_check_method?: string;
|
|
293
|
+
health_check_return_code?: number;
|
|
294
|
+
health_check_scheme?: string;
|
|
295
|
+
health_check_response_text?: string;
|
|
296
|
+
health_check_interval?: number;
|
|
297
|
+
health_check_timeout?: number;
|
|
298
|
+
health_check_retries?: number;
|
|
299
|
+
health_check_start_period?: number;
|
|
274
300
|
custom_docker_run_options?: string;
|
|
275
301
|
custom_labels?: string;
|
|
276
302
|
instant_deploy?: boolean;
|
|
@@ -316,6 +342,8 @@ export interface UpdateApplicationRequest {
|
|
|
316
342
|
install_command?: string;
|
|
317
343
|
build_command?: string;
|
|
318
344
|
start_command?: string;
|
|
345
|
+
dockerfile_target_build?: string;
|
|
346
|
+
watch_paths?: string;
|
|
319
347
|
health_check_enabled?: boolean;
|
|
320
348
|
health_check_path?: string;
|
|
321
349
|
health_check_port?: number;
|
|
@@ -921,6 +949,150 @@ export interface BatchOperationResult {
|
|
|
921
949
|
error: string;
|
|
922
950
|
}>;
|
|
923
951
|
}
|
|
952
|
+
export interface Storage {
|
|
953
|
+
id: number;
|
|
954
|
+
uuid: string;
|
|
955
|
+
name?: string;
|
|
956
|
+
mount_path: string;
|
|
957
|
+
host_path?: string;
|
|
958
|
+
content?: string;
|
|
959
|
+
is_directory?: boolean;
|
|
960
|
+
fs_path?: string;
|
|
961
|
+
type: 'persistent' | 'file';
|
|
962
|
+
is_preview_suffix_enabled?: boolean;
|
|
963
|
+
created_at: string;
|
|
964
|
+
updated_at: string;
|
|
965
|
+
}
|
|
966
|
+
export interface StorageListResponse {
|
|
967
|
+
persistent_storages: Storage[];
|
|
968
|
+
file_storages: Storage[];
|
|
969
|
+
}
|
|
970
|
+
export interface CreateStorageRequest {
|
|
971
|
+
type: 'persistent' | 'file';
|
|
972
|
+
mount_path: string;
|
|
973
|
+
name?: string;
|
|
974
|
+
host_path?: string;
|
|
975
|
+
content?: string;
|
|
976
|
+
is_directory?: boolean;
|
|
977
|
+
fs_path?: string;
|
|
978
|
+
is_preview_suffix_enabled?: boolean;
|
|
979
|
+
}
|
|
980
|
+
export interface UpdateStorageRequest {
|
|
981
|
+
uuid?: string;
|
|
982
|
+
id?: number;
|
|
983
|
+
type: 'persistent' | 'file';
|
|
984
|
+
is_preview_suffix_enabled?: boolean;
|
|
985
|
+
name?: string;
|
|
986
|
+
mount_path?: string;
|
|
987
|
+
host_path?: string;
|
|
988
|
+
content?: string;
|
|
989
|
+
is_directory?: boolean;
|
|
990
|
+
}
|
|
991
|
+
export interface ScheduledTask {
|
|
992
|
+
id: number;
|
|
993
|
+
uuid: string;
|
|
994
|
+
enabled: boolean;
|
|
995
|
+
name: string;
|
|
996
|
+
command: string;
|
|
997
|
+
frequency: string;
|
|
998
|
+
container?: string;
|
|
999
|
+
timeout: number;
|
|
1000
|
+
created_at: string;
|
|
1001
|
+
updated_at: string;
|
|
1002
|
+
}
|
|
1003
|
+
export interface ScheduledTaskExecution {
|
|
1004
|
+
uuid: string;
|
|
1005
|
+
status: 'success' | 'failed' | 'running';
|
|
1006
|
+
message?: string;
|
|
1007
|
+
retry_count: number;
|
|
1008
|
+
duration?: number;
|
|
1009
|
+
created_at: string;
|
|
1010
|
+
updated_at: string;
|
|
1011
|
+
}
|
|
1012
|
+
export interface CreateScheduledTaskRequest {
|
|
1013
|
+
name: string;
|
|
1014
|
+
command: string;
|
|
1015
|
+
frequency: string;
|
|
1016
|
+
container?: string;
|
|
1017
|
+
timeout?: number;
|
|
1018
|
+
enabled?: boolean;
|
|
1019
|
+
}
|
|
1020
|
+
export interface UpdateScheduledTaskRequest {
|
|
1021
|
+
name?: string;
|
|
1022
|
+
command?: string;
|
|
1023
|
+
frequency?: string;
|
|
1024
|
+
container?: string;
|
|
1025
|
+
timeout?: number;
|
|
1026
|
+
enabled?: boolean;
|
|
1027
|
+
}
|
|
1028
|
+
export interface HetznerLocation {
|
|
1029
|
+
id: number;
|
|
1030
|
+
name: string;
|
|
1031
|
+
description: string;
|
|
1032
|
+
country: string;
|
|
1033
|
+
city: string;
|
|
1034
|
+
latitude: number;
|
|
1035
|
+
longitude: number;
|
|
1036
|
+
}
|
|
1037
|
+
export interface HetznerServerType {
|
|
1038
|
+
id: number;
|
|
1039
|
+
name: string;
|
|
1040
|
+
description: string;
|
|
1041
|
+
cores: number;
|
|
1042
|
+
memory: number;
|
|
1043
|
+
disk: number;
|
|
1044
|
+
architecture: string;
|
|
1045
|
+
}
|
|
1046
|
+
export interface HetznerImage {
|
|
1047
|
+
id: number;
|
|
1048
|
+
name: string;
|
|
1049
|
+
description: string;
|
|
1050
|
+
type: string;
|
|
1051
|
+
os_flavor: string;
|
|
1052
|
+
os_version: string;
|
|
1053
|
+
architecture: string;
|
|
1054
|
+
}
|
|
1055
|
+
export interface HetznerSSHKey {
|
|
1056
|
+
id: number;
|
|
1057
|
+
name: string;
|
|
1058
|
+
fingerprint: string;
|
|
1059
|
+
public_key: string;
|
|
1060
|
+
}
|
|
1061
|
+
export interface CreateHetznerServerRequest {
|
|
1062
|
+
cloud_provider_token_uuid?: string;
|
|
1063
|
+
location: string;
|
|
1064
|
+
server_type: string;
|
|
1065
|
+
image: number;
|
|
1066
|
+
name?: string;
|
|
1067
|
+
private_key_uuid: string;
|
|
1068
|
+
enable_ipv4?: boolean;
|
|
1069
|
+
enable_ipv6?: boolean;
|
|
1070
|
+
hetzner_ssh_key_ids?: number[];
|
|
1071
|
+
cloud_init_script?: string;
|
|
1072
|
+
instant_validate?: boolean;
|
|
1073
|
+
}
|
|
1074
|
+
export interface CreateHetznerServerResponse {
|
|
1075
|
+
uuid: string;
|
|
1076
|
+
hetzner_server_id: number;
|
|
1077
|
+
ip: string;
|
|
1078
|
+
}
|
|
1079
|
+
export interface GitHubRepository {
|
|
1080
|
+
id: number;
|
|
1081
|
+
name: string;
|
|
1082
|
+
full_name: string;
|
|
1083
|
+
private: boolean;
|
|
1084
|
+
html_url: string;
|
|
1085
|
+
default_branch: string;
|
|
1086
|
+
}
|
|
1087
|
+
export interface GitHubBranch {
|
|
1088
|
+
name: string;
|
|
1089
|
+
}
|
|
1090
|
+
export interface ResourceListItem {
|
|
1091
|
+
uuid: string;
|
|
1092
|
+
name: string;
|
|
1093
|
+
type: 'server' | 'application' | 'database' | 'service' | string;
|
|
1094
|
+
status?: string;
|
|
1095
|
+
}
|
|
924
1096
|
export interface ResponseAction {
|
|
925
1097
|
tool: string;
|
|
926
1098
|
args: Record<string, string | number | boolean>;
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@masonator/coolify-mcp",
|
|
3
3
|
"scope": "@masonator",
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.11.0",
|
|
5
5
|
"mcpName": "io.github.StuMason/coolify",
|
|
6
|
-
"description": "MCP server for Coolify —
|
|
6
|
+
"description": "MCP server for Coolify — 42 optimized tools for infrastructure management, diagnostics, and documentation search",
|
|
7
7
|
"type": "module",
|
|
8
8
|
"main": "./dist/index.js",
|
|
9
9
|
"types": "./dist/index.d.ts",
|