@dokploy/mcp 0.30.3 → 0.30.4
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/build/generated/tools.js +25 -13
- package/package.json +1 -1
package/build/generated/tools.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// AUTO-GENERATED FILE — DO NOT EDIT MANUALLY
|
|
2
|
-
// Generated from openapi.json on 2026-
|
|
2
|
+
// Generated from openapi.json on 2026-09-01
|
|
3
3
|
// Run `pnpm generate` to regenerate
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
export const generatedTools = [
|
|
@@ -1390,7 +1390,7 @@ export const generatedTools = [
|
|
|
1390
1390
|
method: "POST",
|
|
1391
1391
|
path: "/dnsProvider.create",
|
|
1392
1392
|
schema: z.object({ "name": z.string().regex(new RegExp("^[a-zA-Z0-9_-]+$")).min(1).max(64), "config": z.record(z.any()).and(z.any().superRefine((x, ctx) => {
|
|
1393
|
-
const schemas = [z.object({ "providerType": z.literal("cloudflare"), "apiToken": z.string().min(1) }), z.object({ "providerType": z.literal("route53"), "accessKeyId": z.string().min(1), "secretAccessKey": z.string().min(1) })];
|
|
1393
|
+
const schemas = [z.object({ "providerType": z.literal("cloudflare"), "apiToken": z.string().min(1) }), z.object({ "providerType": z.literal("route53"), "accessKeyId": z.string().min(1), "secretAccessKey": z.string().min(1) }), z.object({ "providerType": z.literal("porkbun"), "apiKey": z.string().min(1), "secretApiKey": z.string().min(1) })];
|
|
1394
1394
|
const { errors, failed } = schemas.reduce(({ errors, failed }, schema) => ((result) => result.error
|
|
1395
1395
|
? {
|
|
1396
1396
|
errors: [...errors, result.error],
|
|
@@ -1423,7 +1423,7 @@ export const generatedTools = [
|
|
|
1423
1423
|
method: "POST",
|
|
1424
1424
|
path: "/dnsProvider.update",
|
|
1425
1425
|
schema: z.object({ "dnsProviderId": z.string().min(1), "name": z.string().regex(new RegExp("^[a-zA-Z0-9_-]+$")).min(1).max(64), "config": z.record(z.any()).and(z.any().superRefine((x, ctx) => {
|
|
1426
|
-
const schemas = [z.object({ "providerType": z.literal("cloudflare"), "apiToken": z.string().min(1) }), z.object({ "providerType": z.literal("route53"), "accessKeyId": z.string().min(1), "secretAccessKey": z.string().min(1) })];
|
|
1426
|
+
const schemas = [z.object({ "providerType": z.literal("cloudflare"), "apiToken": z.string().min(1) }), z.object({ "providerType": z.literal("route53"), "accessKeyId": z.string().min(1), "secretAccessKey": z.string().min(1) }), z.object({ "providerType": z.literal("porkbun"), "apiKey": z.string().min(1), "secretApiKey": z.string().min(1) })];
|
|
1427
1427
|
const { errors, failed } = schemas.reduce(({ errors, failed }, schema) => ((result) => result.error
|
|
1428
1428
|
? {
|
|
1429
1429
|
errors: [...errors, result.error],
|
|
@@ -1492,7 +1492,7 @@ export const generatedTools = [
|
|
|
1492
1492
|
method: "POST",
|
|
1493
1493
|
path: "/dnsProvider.testConnection",
|
|
1494
1494
|
schema: z.object({ "dnsProviderId": z.string().min(1).optional(), "config": z.record(z.any()).and(z.any().superRefine((x, ctx) => {
|
|
1495
|
-
const schemas = [z.object({ "providerType": z.literal("cloudflare"), "apiToken": z.string().min(1) }), z.object({ "providerType": z.literal("route53"), "accessKeyId": z.string().min(1), "secretAccessKey": z.string().min(1) })];
|
|
1495
|
+
const schemas = [z.object({ "providerType": z.literal("cloudflare"), "apiToken": z.string().min(1) }), z.object({ "providerType": z.literal("route53"), "accessKeyId": z.string().min(1), "secretAccessKey": z.string().min(1) }), z.object({ "providerType": z.literal("porkbun"), "apiKey": z.string().min(1), "secretApiKey": z.string().min(1) })];
|
|
1496
1496
|
const { errors, failed } = schemas.reduce(({ errors, failed }, schema) => ((result) => result.error
|
|
1497
1497
|
? {
|
|
1498
1498
|
errors: [...errors, result.error],
|
|
@@ -1548,7 +1548,7 @@ export const generatedTools = [
|
|
|
1548
1548
|
tag: "dnsProvider",
|
|
1549
1549
|
method: "POST",
|
|
1550
1550
|
path: "/dnsProvider.createRecord",
|
|
1551
|
-
schema: z.object({ "type": z.enum(["A", "CNAME"]), "name": z.string().min(1), "content": z.string().min(1), "ttl": z.number().int().gt(0).lte(9007199254740991).optional(), "dnsProviderId": z.string().min(1), "zoneId": z.string().min(1) }),
|
|
1551
|
+
schema: z.object({ "type": z.enum(["A", "AAAA", "CNAME", "MX", "TXT", "NS", "SRV", "CAA", "PTR"]), "name": z.string().min(1), "content": z.string().min(1), "ttl": z.number().int().gt(0).lte(9007199254740991).optional(), "proxied": z.boolean().optional(), "dnsProviderId": z.string().min(1), "zoneId": z.string().min(1) }),
|
|
1552
1552
|
annotations: {
|
|
1553
1553
|
title: "DnsProvider CreateRecord",
|
|
1554
1554
|
...{ "openWorldHint": true },
|
|
@@ -1560,7 +1560,7 @@ export const generatedTools = [
|
|
|
1560
1560
|
tag: "dnsProvider",
|
|
1561
1561
|
method: "POST",
|
|
1562
1562
|
path: "/dnsProvider.updateRecord",
|
|
1563
|
-
schema: z.object({ "type": z.enum(["A", "CNAME"]), "name": z.string().min(1), "content": z.string().min(1), "ttl": z.number().int().gt(0).lte(9007199254740991).optional(), "dnsProviderId": z.string().min(1), "zoneId": z.string().min(1), "recordId": z.string().min(1) }),
|
|
1563
|
+
schema: z.object({ "type": z.enum(["A", "AAAA", "CNAME", "MX", "TXT", "NS", "SRV", "CAA", "PTR"]), "name": z.string().min(1), "content": z.string().min(1), "ttl": z.number().int().gt(0).lte(9007199254740991).optional(), "proxied": z.boolean().optional(), "dnsProviderId": z.string().min(1), "zoneId": z.string().min(1), "recordId": z.string().min(1) }),
|
|
1564
1564
|
annotations: {
|
|
1565
1565
|
title: "DnsProvider UpdateRecord",
|
|
1566
1566
|
...{ "idempotentHint": true, "openWorldHint": true },
|
|
@@ -3432,7 +3432,7 @@ export const generatedTools = [
|
|
|
3432
3432
|
tag: "notification",
|
|
3433
3433
|
method: "POST",
|
|
3434
3434
|
path: "/notification.createGotify",
|
|
3435
|
-
schema: z.object({ "appBuildError": z.boolean(), "databaseBackup": z.boolean(), "dokployBackup": z.boolean(), "volumeBackup": z.boolean(), "dokployRestart": z.boolean(), "name": z.string(), "appDeploy": z.boolean(), "dockerCleanup": z.boolean(), "serverUrl": z.string().min(1), "appToken": z.string().min(1), "priority": z.number().gte(1), "decoration": z.boolean() }),
|
|
3435
|
+
schema: z.object({ "appBuildError": z.boolean(), "databaseBackup": z.boolean(), "dokployBackup": z.boolean(), "volumeBackup": z.boolean(), "dokployRestart": z.boolean(), "name": z.string(), "appDeploy": z.boolean(), "dockerCleanup": z.boolean(), "serverThreshold": z.boolean(), "serverUrl": z.string().min(1), "appToken": z.string().min(1), "priority": z.number().gte(1), "decoration": z.boolean() }),
|
|
3436
3436
|
annotations: {
|
|
3437
3437
|
title: "Notification CreateGotify",
|
|
3438
3438
|
...{ "openWorldHint": true },
|
|
@@ -3444,7 +3444,7 @@ export const generatedTools = [
|
|
|
3444
3444
|
tag: "notification",
|
|
3445
3445
|
method: "POST",
|
|
3446
3446
|
path: "/notification.updateGotify",
|
|
3447
|
-
schema: z.object({ "appBuildError": z.boolean().optional(), "databaseBackup": z.boolean().optional(), "dokployBackup": z.boolean().optional(), "volumeBackup": z.boolean().optional(), "dokployRestart": z.boolean().optional(), "name": z.string().optional(), "appDeploy": z.boolean().optional(), "dockerCleanup": z.boolean().optional(), "serverUrl": z.string().min(1).optional(), "appToken": z.string().min(1).optional(), "priority": z.number().gte(1).optional(), "decoration": z.boolean().optional(), "notificationId": z.string().min(1), "gotifyId": z.string().min(1), "organizationId": z.string().optional() }),
|
|
3447
|
+
schema: z.object({ "appBuildError": z.boolean().optional(), "databaseBackup": z.boolean().optional(), "dokployBackup": z.boolean().optional(), "volumeBackup": z.boolean().optional(), "dokployRestart": z.boolean().optional(), "name": z.string().optional(), "appDeploy": z.boolean().optional(), "dockerCleanup": z.boolean().optional(), "serverThreshold": z.boolean().optional(), "serverUrl": z.string().min(1).optional(), "appToken": z.string().min(1).optional(), "priority": z.number().gte(1).optional(), "decoration": z.boolean().optional(), "notificationId": z.string().min(1), "gotifyId": z.string().min(1), "organizationId": z.string().optional() }),
|
|
3448
3448
|
annotations: {
|
|
3449
3449
|
title: "Notification UpdateGotify",
|
|
3450
3450
|
...{ "idempotentHint": true, "openWorldHint": true },
|
|
@@ -3468,7 +3468,7 @@ export const generatedTools = [
|
|
|
3468
3468
|
tag: "notification",
|
|
3469
3469
|
method: "POST",
|
|
3470
3470
|
path: "/notification.createNtfy",
|
|
3471
|
-
schema: z.object({ "appBuildError": z.boolean(), "databaseBackup": z.boolean(), "dokployBackup": z.boolean(), "volumeBackup": z.boolean(), "dokployRestart": z.boolean(), "name": z.string(), "appDeploy": z.boolean(), "dockerCleanup": z.boolean(), "serverUrl": z.string().min(1), "topic": z.string().min(1), "accessToken": z.string(), "priority": z.number().gte(1) }),
|
|
3471
|
+
schema: z.object({ "appBuildError": z.boolean(), "databaseBackup": z.boolean(), "dokployBackup": z.boolean(), "volumeBackup": z.boolean(), "dokployRestart": z.boolean(), "name": z.string(), "appDeploy": z.boolean(), "dockerCleanup": z.boolean(), "serverThreshold": z.boolean(), "serverUrl": z.string().min(1), "topic": z.string().min(1), "accessToken": z.string(), "priority": z.number().gte(1) }),
|
|
3472
3472
|
annotations: {
|
|
3473
3473
|
title: "Notification CreateNtfy",
|
|
3474
3474
|
...{ "openWorldHint": true },
|
|
@@ -3480,7 +3480,7 @@ export const generatedTools = [
|
|
|
3480
3480
|
tag: "notification",
|
|
3481
3481
|
method: "POST",
|
|
3482
3482
|
path: "/notification.updateNtfy",
|
|
3483
|
-
schema: z.object({ "appBuildError": z.boolean().optional(), "databaseBackup": z.boolean().optional(), "dokployBackup": z.boolean().optional(), "volumeBackup": z.boolean().optional(), "dokployRestart": z.boolean().optional(), "name": z.string().optional(), "appDeploy": z.boolean().optional(), "dockerCleanup": z.boolean().optional(), "serverUrl": z.string().min(1).optional(), "topic": z.string().min(1).optional(), "accessToken": z.string().optional(), "priority": z.number().gte(1).optional(), "notificationId": z.string().min(1), "ntfyId": z.string().min(1), "organizationId": z.string().optional() }),
|
|
3483
|
+
schema: z.object({ "appBuildError": z.boolean().optional(), "databaseBackup": z.boolean().optional(), "dokployBackup": z.boolean().optional(), "volumeBackup": z.boolean().optional(), "dokployRestart": z.boolean().optional(), "name": z.string().optional(), "appDeploy": z.boolean().optional(), "dockerCleanup": z.boolean().optional(), "serverThreshold": z.boolean().optional(), "serverUrl": z.string().min(1).optional(), "topic": z.string().min(1).optional(), "accessToken": z.string().optional(), "priority": z.number().gte(1).optional(), "notificationId": z.string().min(1), "ntfyId": z.string().min(1), "organizationId": z.string().optional() }),
|
|
3484
3484
|
annotations: {
|
|
3485
3485
|
title: "Notification UpdateNtfy",
|
|
3486
3486
|
...{ "idempotentHint": true, "openWorldHint": true },
|
|
@@ -4494,6 +4494,18 @@ export const generatedTools = [
|
|
|
4494
4494
|
...{ "readOnlyHint": true, "idempotentHint": true, "openWorldHint": true },
|
|
4495
4495
|
},
|
|
4496
4496
|
},
|
|
4497
|
+
{
|
|
4498
|
+
name: "server-getServices",
|
|
4499
|
+
description: "GET /server.getServices",
|
|
4500
|
+
tag: "server",
|
|
4501
|
+
method: "GET",
|
|
4502
|
+
path: "/server.getServices",
|
|
4503
|
+
schema: z.object({ "serverId": z.string().min(1) }),
|
|
4504
|
+
annotations: {
|
|
4505
|
+
title: "Server GetServices",
|
|
4506
|
+
...{ "readOnlyHint": true, "idempotentHint": true, "openWorldHint": true },
|
|
4507
|
+
},
|
|
4508
|
+
},
|
|
4497
4509
|
{
|
|
4498
4510
|
name: "server-all",
|
|
4499
4511
|
description: "GET /server.all",
|
|
@@ -5845,7 +5857,7 @@ export const generatedTools = [
|
|
|
5845
5857
|
method: "POST",
|
|
5846
5858
|
path: "/vaultProvider.create",
|
|
5847
5859
|
schema: z.object({ "name": z.string().regex(new RegExp("^[a-zA-Z0-9_-]+$")).min(1).max(64), "config": z.record(z.any()).and(z.any().superRefine((x, ctx) => {
|
|
5848
|
-
const schemas = [z.object({ "providerType": z.literal("hashicorp"), "url": z.string().url(), "token": z.string().min(1), "namespace": z.string().optional(), "mount": z.string().min(1).default("secret") }), z.object({ "providerType": z.literal("infisical"), "siteUrl": z.string().url().default("https://app.infisical.com"), "clientId": z.string().min(1), "clientSecret": z.string().min(1), "projectId": z.string().min(1), "environmentSlug": z.string().min(1), "secretPath": z.string().default("/") }), z.object({ "providerType": z.literal("aws"), "region": z.string().min(1), "accessKeyId": z.string().min(1), "secretAccessKey": z.string().min(1), "endpoint": z.string().url().optional() }), z.object({ "providerType": z.literal("doppler"), "serviceToken": z.string().min(1), "project": z.string().optional(), "config": z.string().optional() }), z.object({ "providerType": z.literal("azure"), "vaultUri": z.string().url(), "tenantId": z.string().min(1), "clientId": z.string().min(1), "clientSecret": z.string().min(1) }), z.object({ "providerType": z.literal("scaleway"), "region": z.string().min(1).default("fr-par"), "projectId": z.string().min(1), "secretKey": z.string().min(1), "apiUrl": z.string().url().default("https://api.scaleway.com") })];
|
|
5860
|
+
const schemas = [z.object({ "providerType": z.literal("hashicorp"), "url": z.string().url(), "token": z.string().min(1), "namespace": z.string().optional(), "mount": z.string().min(1).default("secret") }), z.object({ "providerType": z.literal("infisical"), "siteUrl": z.string().url().default("https://app.infisical.com"), "clientId": z.string().min(1), "clientSecret": z.string().min(1), "projectId": z.string().min(1), "environmentSlug": z.string().min(1), "secretPath": z.string().default("/") }), z.object({ "providerType": z.literal("aws"), "region": z.string().min(1), "accessKeyId": z.string().min(1), "secretAccessKey": z.string().min(1), "endpoint": z.string().url().optional() }), z.object({ "providerType": z.literal("doppler"), "serviceToken": z.string().min(1), "project": z.string().optional(), "config": z.string().optional() }), z.object({ "providerType": z.literal("azure"), "vaultUri": z.string().url(), "tenantId": z.string().min(1), "clientId": z.string().min(1), "clientSecret": z.string().min(1) }), z.object({ "providerType": z.literal("scaleway"), "region": z.string().min(1).default("fr-par"), "projectId": z.string().min(1), "secretKey": z.string().min(1), "apiUrl": z.string().url().default("https://api.scaleway.com") }), z.object({ "providerType": z.literal("phase"), "token": z.string().min(1), "appId": z.string().min(1), "env": z.string().min(1), "path": z.string().default("/"), "apiUrl": z.string().url().default("https://api.phase.dev") })];
|
|
5849
5861
|
const { errors, failed } = schemas.reduce(({ errors, failed }, schema) => ((result) => result.error
|
|
5850
5862
|
? {
|
|
5851
5863
|
errors: [...errors, result.error],
|
|
@@ -5878,7 +5890,7 @@ export const generatedTools = [
|
|
|
5878
5890
|
method: "POST",
|
|
5879
5891
|
path: "/vaultProvider.update",
|
|
5880
5892
|
schema: z.object({ "vaultProviderId": z.string().min(1), "name": z.string().regex(new RegExp("^[a-zA-Z0-9_-]+$")).min(1).max(64), "config": z.record(z.any()).and(z.any().superRefine((x, ctx) => {
|
|
5881
|
-
const schemas = [z.object({ "providerType": z.literal("hashicorp"), "url": z.string().url(), "token": z.string().min(1), "namespace": z.string().optional(), "mount": z.string().min(1).default("secret") }), z.object({ "providerType": z.literal("infisical"), "siteUrl": z.string().url().default("https://app.infisical.com"), "clientId": z.string().min(1), "clientSecret": z.string().min(1), "projectId": z.string().min(1), "environmentSlug": z.string().min(1), "secretPath": z.string().default("/") }), z.object({ "providerType": z.literal("aws"), "region": z.string().min(1), "accessKeyId": z.string().min(1), "secretAccessKey": z.string().min(1), "endpoint": z.string().url().optional() }), z.object({ "providerType": z.literal("doppler"), "serviceToken": z.string().min(1), "project": z.string().optional(), "config": z.string().optional() }), z.object({ "providerType": z.literal("azure"), "vaultUri": z.string().url(), "tenantId": z.string().min(1), "clientId": z.string().min(1), "clientSecret": z.string().min(1) }), z.object({ "providerType": z.literal("scaleway"), "region": z.string().min(1).default("fr-par"), "projectId": z.string().min(1), "secretKey": z.string().min(1), "apiUrl": z.string().url().default("https://api.scaleway.com") })];
|
|
5893
|
+
const schemas = [z.object({ "providerType": z.literal("hashicorp"), "url": z.string().url(), "token": z.string().min(1), "namespace": z.string().optional(), "mount": z.string().min(1).default("secret") }), z.object({ "providerType": z.literal("infisical"), "siteUrl": z.string().url().default("https://app.infisical.com"), "clientId": z.string().min(1), "clientSecret": z.string().min(1), "projectId": z.string().min(1), "environmentSlug": z.string().min(1), "secretPath": z.string().default("/") }), z.object({ "providerType": z.literal("aws"), "region": z.string().min(1), "accessKeyId": z.string().min(1), "secretAccessKey": z.string().min(1), "endpoint": z.string().url().optional() }), z.object({ "providerType": z.literal("doppler"), "serviceToken": z.string().min(1), "project": z.string().optional(), "config": z.string().optional() }), z.object({ "providerType": z.literal("azure"), "vaultUri": z.string().url(), "tenantId": z.string().min(1), "clientId": z.string().min(1), "clientSecret": z.string().min(1) }), z.object({ "providerType": z.literal("scaleway"), "region": z.string().min(1).default("fr-par"), "projectId": z.string().min(1), "secretKey": z.string().min(1), "apiUrl": z.string().url().default("https://api.scaleway.com") }), z.object({ "providerType": z.literal("phase"), "token": z.string().min(1), "appId": z.string().min(1), "env": z.string().min(1), "path": z.string().default("/"), "apiUrl": z.string().url().default("https://api.phase.dev") })];
|
|
5882
5894
|
const { errors, failed } = schemas.reduce(({ errors, failed }, schema) => ((result) => result.error
|
|
5883
5895
|
? {
|
|
5884
5896
|
errors: [...errors, result.error],
|
|
@@ -5947,7 +5959,7 @@ export const generatedTools = [
|
|
|
5947
5959
|
method: "POST",
|
|
5948
5960
|
path: "/vaultProvider.testConnection",
|
|
5949
5961
|
schema: z.object({ "vaultProviderId": z.string().min(1).optional(), "config": z.record(z.any()).and(z.any().superRefine((x, ctx) => {
|
|
5950
|
-
const schemas = [z.object({ "providerType": z.literal("hashicorp"), "url": z.string().url(), "token": z.string().min(1), "namespace": z.string().optional(), "mount": z.string().min(1).default("secret") }), z.object({ "providerType": z.literal("infisical"), "siteUrl": z.string().url().default("https://app.infisical.com"), "clientId": z.string().min(1), "clientSecret": z.string().min(1), "projectId": z.string().min(1), "environmentSlug": z.string().min(1), "secretPath": z.string().default("/") }), z.object({ "providerType": z.literal("aws"), "region": z.string().min(1), "accessKeyId": z.string().min(1), "secretAccessKey": z.string().min(1), "endpoint": z.string().url().optional() }), z.object({ "providerType": z.literal("doppler"), "serviceToken": z.string().min(1), "project": z.string().optional(), "config": z.string().optional() }), z.object({ "providerType": z.literal("azure"), "vaultUri": z.string().url(), "tenantId": z.string().min(1), "clientId": z.string().min(1), "clientSecret": z.string().min(1) }), z.object({ "providerType": z.literal("scaleway"), "region": z.string().min(1).default("fr-par"), "projectId": z.string().min(1), "secretKey": z.string().min(1), "apiUrl": z.string().url().default("https://api.scaleway.com") })];
|
|
5962
|
+
const schemas = [z.object({ "providerType": z.literal("hashicorp"), "url": z.string().url(), "token": z.string().min(1), "namespace": z.string().optional(), "mount": z.string().min(1).default("secret") }), z.object({ "providerType": z.literal("infisical"), "siteUrl": z.string().url().default("https://app.infisical.com"), "clientId": z.string().min(1), "clientSecret": z.string().min(1), "projectId": z.string().min(1), "environmentSlug": z.string().min(1), "secretPath": z.string().default("/") }), z.object({ "providerType": z.literal("aws"), "region": z.string().min(1), "accessKeyId": z.string().min(1), "secretAccessKey": z.string().min(1), "endpoint": z.string().url().optional() }), z.object({ "providerType": z.literal("doppler"), "serviceToken": z.string().min(1), "project": z.string().optional(), "config": z.string().optional() }), z.object({ "providerType": z.literal("azure"), "vaultUri": z.string().url(), "tenantId": z.string().min(1), "clientId": z.string().min(1), "clientSecret": z.string().min(1) }), z.object({ "providerType": z.literal("scaleway"), "region": z.string().min(1).default("fr-par"), "projectId": z.string().min(1), "secretKey": z.string().min(1), "apiUrl": z.string().url().default("https://api.scaleway.com") }), z.object({ "providerType": z.literal("phase"), "token": z.string().min(1), "appId": z.string().min(1), "env": z.string().min(1), "path": z.string().default("/"), "apiUrl": z.string().url().default("https://api.phase.dev") })];
|
|
5951
5963
|
const { errors, failed } = schemas.reduce(({ errors, failed }, schema) => ((result) => result.error
|
|
5952
5964
|
? {
|
|
5953
5965
|
errors: [...errors, result.error],
|