@masonator/coolify-mcp 1.5.0 → 2.0.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 +22 -30
- package/dist/__tests__/coolify-client.test.js +81 -0
- package/dist/__tests__/mcp-server.test.js +115 -316
- package/dist/lib/coolify-client.d.ts +9 -1
- package/dist/lib/coolify-client.js +49 -0
- package/dist/lib/mcp-server.d.ts +2 -19
- package/dist/lib/mcp-server.js +436 -541
- package/dist/types/coolify.d.ts +66 -0
- package/package.json +1 -1
package/dist/types/coolify.d.ts
CHANGED
|
@@ -451,6 +451,72 @@ export interface UpdateDatabaseRequest {
|
|
|
451
451
|
clickhouse_admin_password?: string;
|
|
452
452
|
dragonfly_password?: string;
|
|
453
453
|
}
|
|
454
|
+
export interface CreateDatabaseBaseRequest {
|
|
455
|
+
server_uuid: string;
|
|
456
|
+
project_uuid: string;
|
|
457
|
+
environment_name?: string;
|
|
458
|
+
environment_uuid?: string;
|
|
459
|
+
destination_uuid?: string;
|
|
460
|
+
name?: string;
|
|
461
|
+
description?: string;
|
|
462
|
+
image?: string;
|
|
463
|
+
is_public?: boolean;
|
|
464
|
+
public_port?: number;
|
|
465
|
+
limits_memory?: string;
|
|
466
|
+
limits_memory_swap?: string;
|
|
467
|
+
limits_memory_swappiness?: number;
|
|
468
|
+
limits_memory_reservation?: string;
|
|
469
|
+
limits_cpus?: string;
|
|
470
|
+
limits_cpuset?: string;
|
|
471
|
+
limits_cpu_shares?: number;
|
|
472
|
+
instant_deploy?: boolean;
|
|
473
|
+
}
|
|
474
|
+
export interface CreatePostgresqlRequest extends CreateDatabaseBaseRequest {
|
|
475
|
+
postgres_user?: string;
|
|
476
|
+
postgres_password?: string;
|
|
477
|
+
postgres_db?: string;
|
|
478
|
+
postgres_initdb_args?: string;
|
|
479
|
+
postgres_host_auth_method?: string;
|
|
480
|
+
postgres_conf?: string;
|
|
481
|
+
}
|
|
482
|
+
export interface CreateMysqlRequest extends CreateDatabaseBaseRequest {
|
|
483
|
+
mysql_root_password?: string;
|
|
484
|
+
mysql_user?: string;
|
|
485
|
+
mysql_password?: string;
|
|
486
|
+
mysql_database?: string;
|
|
487
|
+
mysql_conf?: string;
|
|
488
|
+
}
|
|
489
|
+
export interface CreateMariadbRequest extends CreateDatabaseBaseRequest {
|
|
490
|
+
mariadb_root_password?: string;
|
|
491
|
+
mariadb_user?: string;
|
|
492
|
+
mariadb_password?: string;
|
|
493
|
+
mariadb_database?: string;
|
|
494
|
+
mariadb_conf?: string;
|
|
495
|
+
}
|
|
496
|
+
export interface CreateMongodbRequest extends CreateDatabaseBaseRequest {
|
|
497
|
+
mongo_initdb_root_username?: string;
|
|
498
|
+
mongo_initdb_root_password?: string;
|
|
499
|
+
mongo_initdb_database?: string;
|
|
500
|
+
mongo_conf?: string;
|
|
501
|
+
}
|
|
502
|
+
export interface CreateRedisRequest extends CreateDatabaseBaseRequest {
|
|
503
|
+
redis_password?: string;
|
|
504
|
+
redis_conf?: string;
|
|
505
|
+
}
|
|
506
|
+
export interface CreateKeydbRequest extends CreateDatabaseBaseRequest {
|
|
507
|
+
keydb_password?: string;
|
|
508
|
+
keydb_conf?: string;
|
|
509
|
+
}
|
|
510
|
+
export interface CreateClickhouseRequest extends CreateDatabaseBaseRequest {
|
|
511
|
+
clickhouse_admin_user?: string;
|
|
512
|
+
clickhouse_admin_password?: string;
|
|
513
|
+
}
|
|
514
|
+
export interface CreateDragonflyRequest extends CreateDatabaseBaseRequest {
|
|
515
|
+
dragonfly_password?: string;
|
|
516
|
+
}
|
|
517
|
+
export interface CreateDatabaseResponse {
|
|
518
|
+
uuid: string;
|
|
519
|
+
}
|
|
454
520
|
export interface DatabaseBackup {
|
|
455
521
|
id: number;
|
|
456
522
|
uuid: string;
|