@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.
@@ -414,6 +414,55 @@ export class CoolifyClient {
414
414
  method: 'POST',
415
415
  });
416
416
  }
417
+ // Database creation methods
418
+ async createPostgresql(data) {
419
+ return this.request('/databases/postgresql', {
420
+ method: 'POST',
421
+ body: JSON.stringify(data),
422
+ });
423
+ }
424
+ async createMysql(data) {
425
+ return this.request('/databases/mysql', {
426
+ method: 'POST',
427
+ body: JSON.stringify(data),
428
+ });
429
+ }
430
+ async createMariadb(data) {
431
+ return this.request('/databases/mariadb', {
432
+ method: 'POST',
433
+ body: JSON.stringify(data),
434
+ });
435
+ }
436
+ async createMongodb(data) {
437
+ return this.request('/databases/mongodb', {
438
+ method: 'POST',
439
+ body: JSON.stringify(data),
440
+ });
441
+ }
442
+ async createRedis(data) {
443
+ return this.request('/databases/redis', {
444
+ method: 'POST',
445
+ body: JSON.stringify(data),
446
+ });
447
+ }
448
+ async createKeydb(data) {
449
+ return this.request('/databases/keydb', {
450
+ method: 'POST',
451
+ body: JSON.stringify(data),
452
+ });
453
+ }
454
+ async createClickhouse(data) {
455
+ return this.request('/databases/clickhouse', {
456
+ method: 'POST',
457
+ body: JSON.stringify(data),
458
+ });
459
+ }
460
+ async createDragonfly(data) {
461
+ return this.request('/databases/dragonfly', {
462
+ method: 'POST',
463
+ body: JSON.stringify(data),
464
+ });
465
+ }
417
466
  // ===========================================================================
418
467
  // Service endpoints
419
468
  // ===========================================================================
@@ -1,30 +1,13 @@
1
1
  /**
2
- * Coolify MCP Server
3
- * Model Context Protocol server for Coolify API
4
- *
5
- * Tools focused on debugging, management, and deployment:
6
- * - Servers: list, get, validate, resources, domains
7
- * - Projects: CRUD
8
- * - Environments: CRUD
9
- * - Applications: list, get, update, delete, start/stop/restart, logs, env vars, deploy (private-gh, private-key)
10
- * - Databases: list, get, start/stop/restart
11
- * - Services: list, get, update, start/stop/restart, env vars
12
- * - Deployments: list, get, deploy
13
- *
14
- * Note: @ts-nocheck is required because the MCP SDK's tool() method causes
15
- * TypeScript type instantiation depth errors with 40+ zod-typed tools.
16
- * The client and types are still fully type-checked.
2
+ * Coolify MCP Server v2.0.0
3
+ * Consolidated tools for efficient token usage
17
4
  */
18
5
  import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
19
6
  import type { Transport } from '@modelcontextprotocol/sdk/shared/transport.js';
20
7
  import type { CoolifyConfig } from '../types/coolify.js';
21
- /**
22
- * Coolify MCP Server
23
- */
24
8
  export declare class CoolifyMcpServer extends McpServer {
25
9
  private readonly client;
26
10
  constructor(config: CoolifyConfig);
27
11
  connect(transport: Transport): Promise<void>;
28
12
  private registerTools;
29
- private registerPrompts;
30
13
  }