@settlemint/sdk-mcp 1.2.0 → 1.2.1-mainf577bcce

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.
Files changed (3) hide show
  1. package/dist/mcp.js +110 -357
  2. package/dist/mcp.js.map +14 -22
  3. package/package.json +3 -3
package/dist/mcp.js CHANGED
@@ -62582,7 +62582,7 @@ var {
62582
62582
  var package_default = {
62583
62583
  name: "@settlemint/sdk-mcp",
62584
62584
  description: "MCP interface for SettleMint SDK, providing development tools and project management capabilities",
62585
- version: "1.2.0",
62585
+ version: "1.2.1-mainf577bcce",
62586
62586
  type: "module",
62587
62587
  private: false,
62588
62588
  license: "FSL-1.1-MIT",
@@ -62624,8 +62624,8 @@ var package_default = {
62624
62624
  "@graphql-tools/load": "8.0.17",
62625
62625
  "@graphql-tools/url-loader": "8.0.29",
62626
62626
  "@modelcontextprotocol/sdk": "1.7.0",
62627
- "@settlemint/sdk-js": "1.2.0",
62628
- "@settlemint/sdk-utils": "1.2.0",
62627
+ "@settlemint/sdk-js": "1.2.1-mainf577bcce",
62628
+ "@settlemint/sdk-utils": "1.2.1-mainf577bcce",
62629
62629
  "@commander-js/extra-typings": "11.1.0",
62630
62630
  commander: "11.1.0",
62631
62631
  zod: "3.24.2"
@@ -65509,6 +65509,8 @@ var createCustomDeployment = graphql(`
65509
65509
  $port: Int!
65510
65510
  $provider: String!
65511
65511
  $region: String!
65512
+ $size: ClusterServiceSize
65513
+ $type: ClusterServiceType
65512
65514
  ) {
65513
65515
  createCustomDeployment(
65514
65516
  applicationId: $applicationId
@@ -65520,6 +65522,8 @@ var createCustomDeployment = graphql(`
65520
65522
  environmentVariables: $environmentVariables
65521
65523
  provider: $provider
65522
65524
  region: $region
65525
+ size: $size
65526
+ type: $type
65523
65527
  ) {
65524
65528
  ...CustomDeployment
65525
65529
  }
@@ -66373,124 +66377,6 @@ function createSettleMintClient(options) {
66373
66377
  };
66374
66378
  }
66375
66379
 
66376
- // src/tools/platform/application-access-token/create.ts
66377
- var platformApplicationAccessTokenCreate = (server, env3, pat) => {
66378
- const instance = env3.SETTLEMINT_INSTANCE;
66379
- if (!instance) {
66380
- throw new Error("SETTLEMINT_INSTANCE is not set");
66381
- }
66382
- const client = createSettleMintClient({
66383
- accessToken: pat,
66384
- instance
66385
- });
66386
- const scopeSchema = z.object({
66387
- type: z.enum(["ALL", "SPECIFIC"]).describe("Scope type (ALL or SPECIFIC)"),
66388
- values: z.array(z.string()).describe("Specific values if type is SPECIFIC")
66389
- });
66390
- server.tool("platform-application-access-token-create", {
66391
- applicationUniqueName: z.string().describe("Unique name of the application to create the access token for"),
66392
- name: z.string().describe("Name of the access token"),
66393
- validityPeriod: z.enum(["CUSTOM", "DAYS_7", "DAYS_30", "DAYS_60", "DAYS_90", "NONE"]).describe("Validity period for the access token"),
66394
- blockchainNetworkScope: scopeSchema.describe("Blockchain network scope"),
66395
- blockchainNodeScope: scopeSchema.describe("Blockchain node scope"),
66396
- customDeploymentScope: scopeSchema.describe("Custom deployment scope"),
66397
- insightsScope: scopeSchema.describe("Insights scope"),
66398
- integrationScope: scopeSchema.describe("Integration scope"),
66399
- loadBalancerScope: scopeSchema.describe("Load balancer scope"),
66400
- middlewareScope: scopeSchema.describe("Middleware scope"),
66401
- privateKeyScope: scopeSchema.describe("Private key scope"),
66402
- smartContractSetScope: scopeSchema.describe("Smart contract set scope"),
66403
- storageScope: scopeSchema.describe("Storage scope")
66404
- }, async (params) => {
66405
- const token = await client.applicationAccessToken.create({
66406
- applicationUniqueName: params.applicationUniqueName,
66407
- name: params.name,
66408
- validityPeriod: params.validityPeriod,
66409
- blockchainNetworkScope: params.blockchainNetworkScope,
66410
- blockchainNodeScope: params.blockchainNodeScope,
66411
- customDeploymentScope: params.customDeploymentScope,
66412
- insightsScope: params.insightsScope,
66413
- integrationScope: params.integrationScope,
66414
- loadBalancerScope: params.loadBalancerScope,
66415
- middlewareScope: params.middlewareScope,
66416
- privateKeyScope: params.privateKeyScope,
66417
- smartContractSetScope: params.smartContractSetScope,
66418
- storageScope: params.storageScope
66419
- });
66420
- return {
66421
- content: [
66422
- {
66423
- type: "text",
66424
- name: "Application Access Token Created",
66425
- description: `Created access token: ${params.name} for application: ${params.applicationUniqueName}`,
66426
- mimeType: "text/plain",
66427
- text: token
66428
- }
66429
- ]
66430
- };
66431
- });
66432
- };
66433
-
66434
- // src/tools/platform/application/create.ts
66435
- var platformApplicationCreate = (server, env3, pat) => {
66436
- const instance = env3.SETTLEMINT_INSTANCE;
66437
- if (!instance) {
66438
- throw new Error("SETTLEMINT_INSTANCE is not set");
66439
- }
66440
- const client = createSettleMintClient({
66441
- accessToken: pat,
66442
- instance
66443
- });
66444
- server.tool("platform-application-create", {
66445
- name: z.string().describe("Name of the application"),
66446
- workspaceUniqueName: z.string().describe("Unique name of the workspace to create the application in")
66447
- }, async (params) => {
66448
- const application = await client.application.create({
66449
- name: params.name,
66450
- workspaceUniqueName: params.workspaceUniqueName
66451
- });
66452
- return {
66453
- content: [
66454
- {
66455
- type: "text",
66456
- name: "Application Created",
66457
- description: `Created application: ${params.name} in workspace: ${params.workspaceUniqueName}`,
66458
- mimeType: "application/json",
66459
- text: JSON.stringify(application, null, 2)
66460
- }
66461
- ]
66462
- };
66463
- });
66464
- };
66465
-
66466
- // src/tools/platform/application/delete.ts
66467
- var platformApplicationDelete = (server, env3, pat) => {
66468
- const instance = env3.SETTLEMINT_INSTANCE;
66469
- if (!instance) {
66470
- throw new Error("SETTLEMINT_INSTANCE is not set");
66471
- }
66472
- const client = createSettleMintClient({
66473
- accessToken: pat,
66474
- instance
66475
- });
66476
- server.tool("platform-application-delete", {
66477
- applicationId: z.string().describe("ID of the application to delete")
66478
- }, async (params) => {
66479
- const application = await client.application.delete(params.applicationId);
66480
- return {
66481
- content: [
66482
- {
66483
- type: "text",
66484
- name: "Application Deleted",
66485
- description: `Deleted application with ID: ${params.applicationId}`,
66486
- mimeType: "application/json",
66487
- text: JSON.stringify(application, null, 2)
66488
- }
66489
- ]
66490
- };
66491
- });
66492
- };
66493
-
66494
66380
  // src/tools/platform/application/list.ts
66495
66381
  var platformApplicationList = (server, env3, pat) => {
66496
66382
  const instance = env3.SETTLEMINT_INSTANCE;
@@ -66561,6 +66447,7 @@ var platformBlockchainNetworkCreate = (server, env3, pat) => {
66561
66447
  applicationUniqueName: z.string().describe("Unique name of the application to create the network in").optional(),
66562
66448
  name: z.string().describe("Name of the blockchain network"),
66563
66449
  type: z.enum(["DEDICATED", "SHARED"]).describe("Type of the blockchain network (DEDICATED or SHARED)"),
66450
+ size: z.enum(["SMALL", "MEDIUM", "LARGE"]).describe("Size of the blockchain network"),
66564
66451
  provider: z.string().describe("Provider for the blockchain network"),
66565
66452
  region: z.string().describe("Region for the blockchain network"),
66566
66453
  nodeName: z.string().describe("Name for the initial node"),
@@ -66586,6 +66473,7 @@ var platformBlockchainNetworkCreate = (server, env3, pat) => {
66586
66473
  applicationUniqueName,
66587
66474
  name: params.name,
66588
66475
  type: params.type,
66476
+ size: params.size,
66589
66477
  provider: params.provider,
66590
66478
  region: params.region,
66591
66479
  nodeName: params.nodeName,
@@ -66605,38 +66493,6 @@ var platformBlockchainNetworkCreate = (server, env3, pat) => {
66605
66493
  });
66606
66494
  };
66607
66495
 
66608
- // src/tools/platform/blockchain-network/delete.ts
66609
- var platformBlockchainNetworkDelete = (server, env3, pat) => {
66610
- const instance = env3.SETTLEMINT_INSTANCE;
66611
- if (!instance) {
66612
- throw new Error("SETTLEMINT_INSTANCE is not set");
66613
- }
66614
- const client = createSettleMintClient({
66615
- accessToken: pat,
66616
- instance
66617
- });
66618
- server.tool("platform-blockchain-network-delete", {
66619
- networkUniqueName: z.string().describe("Unique name of the blockchain network to delete").optional()
66620
- }, async (params) => {
66621
- const networkUniqueName = env3.SETTLEMINT_BLOCKCHAIN_NETWORK || params.networkUniqueName;
66622
- if (!networkUniqueName) {
66623
- throw new Error("Blockchain network unique name is required. Set SETTLEMINT_BLOCKCHAIN_NETWORK environment variable or provide networkUniqueName parameter.");
66624
- }
66625
- const network = await client.blockchainNetwork.delete(networkUniqueName);
66626
- return {
66627
- content: [
66628
- {
66629
- type: "text",
66630
- name: "Blockchain Network Deleted",
66631
- description: `Deleted blockchain network: ${networkUniqueName}`,
66632
- mimeType: "application/json",
66633
- text: JSON.stringify(network, null, 2)
66634
- }
66635
- ]
66636
- };
66637
- });
66638
- };
66639
-
66640
66496
  // src/tools/platform/blockchain-network/list.ts
66641
66497
  var platformBlockchainNetworkList = (server, env3, pat) => {
66642
66498
  const instance = env3.SETTLEMINT_INSTANCE;
@@ -66748,6 +66604,7 @@ var platformBlockchainNodeCreate = (server, env3, pat) => {
66748
66604
  blockchainNetworkUniqueName: z.string().describe("Unique name of the blockchain network for the node"),
66749
66605
  name: z.string().describe("Name of the blockchain node"),
66750
66606
  type: z.enum(["DEDICATED", "SHARED"]).describe("Type of the blockchain node (DEDICATED or SHARED)"),
66607
+ size: z.enum(["SMALL", "MEDIUM", "LARGE"]).describe("Size of the blockchain node"),
66751
66608
  nodeType: z.enum(["NON_VALIDATOR", "NOTARY", "ORDERER", "PEER", "UNSPECIFIED", "VALIDATOR"]).describe("The type of the blockchain node (NON_VALIDATOR, NOTARY, ORDERER, PEER, UNSPECIFIED, or VALIDATOR)").optional(),
66752
66609
  provider: z.string().describe("Provider for the blockchain node"),
66753
66610
  region: z.string().describe("Region for the blockchain node")
@@ -66757,6 +66614,7 @@ var platformBlockchainNodeCreate = (server, env3, pat) => {
66757
66614
  blockchainNetworkUniqueName: params.blockchainNetworkUniqueName,
66758
66615
  name: params.name,
66759
66616
  type: params.type,
66617
+ size: params.size,
66760
66618
  nodeType: params.nodeType,
66761
66619
  provider: params.provider,
66762
66620
  region: params.region
@@ -66859,6 +66717,85 @@ var platformBlockchainNodeRestart = (server, env3, pat) => {
66859
66717
  });
66860
66718
  };
66861
66719
 
66720
+ // src/tools/platform/custom-deployment/create.ts
66721
+ var platformCustomDeploymentCreate = (server, env3, pat) => {
66722
+ const instance = env3.SETTLEMINT_INSTANCE;
66723
+ if (!instance) {
66724
+ throw new Error("SETTLEMINT_INSTANCE is not set");
66725
+ }
66726
+ const client = createSettleMintClient({
66727
+ accessToken: pat,
66728
+ instance
66729
+ });
66730
+ server.tool("platform-custom-deployment-create", {
66731
+ applicationUniqueName: z.string().describe("Unique name of the application to create the custom deployment in"),
66732
+ name: z.string().describe("Name of the custom deployment"),
66733
+ imageTag: z.string().describe("The tag of the Docker image"),
66734
+ imageName: z.string().describe("The name of the Docker image"),
66735
+ imageRepository: z.string().describe("The repository of the Docker image"),
66736
+ port: z.number().describe("The port number for the custom deployment"),
66737
+ environmentVariables: z.record(z.string(), z.any()).optional().describe("Environment variables for the custom deployment"),
66738
+ provider: z.string().describe("Provider for the custom deployment"),
66739
+ region: z.string().describe("Region for the custom deployment"),
66740
+ type: z.enum(["DEDICATED", "SHARED"]).describe("Type of the custom deployment (DEDICATED or SHARED)"),
66741
+ size: z.enum(["SMALL", "MEDIUM", "LARGE"]).describe("Size of the custom deployment")
66742
+ }, async (params) => {
66743
+ const customDeployment = await client.customDeployment.create({
66744
+ applicationUniqueName: params.applicationUniqueName,
66745
+ name: params.name,
66746
+ imageTag: params.imageTag,
66747
+ imageName: params.imageName,
66748
+ imageRepository: params.imageRepository,
66749
+ port: params.port,
66750
+ environmentVariables: params.environmentVariables,
66751
+ provider: params.provider,
66752
+ region: params.region,
66753
+ type: params.type,
66754
+ size: params.size
66755
+ });
66756
+ return {
66757
+ content: [
66758
+ {
66759
+ type: "text",
66760
+ name: "Custom Deployment Created",
66761
+ description: `Created custom deployment: ${params.name} in application: ${params.applicationUniqueName}`,
66762
+ mimeType: "application/json",
66763
+ text: JSON.stringify(customDeployment, null, 2)
66764
+ }
66765
+ ]
66766
+ };
66767
+ });
66768
+ };
66769
+
66770
+ // src/tools/platform/custom-deployment/edit.ts
66771
+ var platformCustomDeploymentEdit = (server, env3, pat) => {
66772
+ const instance = env3.SETTLEMINT_INSTANCE;
66773
+ if (!instance) {
66774
+ throw new Error("SETTLEMINT_INSTANCE is not set");
66775
+ }
66776
+ const client = createSettleMintClient({
66777
+ accessToken: pat,
66778
+ instance
66779
+ });
66780
+ server.tool("platform-custom-deployment-edit", {
66781
+ customDeploymentUniqueName: z.string().describe("Unique name of the custom deployment to edit"),
66782
+ imageTag: z.string().describe("The new tag of the Docker image")
66783
+ }, async (params) => {
66784
+ const customDeployment = await client.customDeployment.update(params.customDeploymentUniqueName, params.imageTag);
66785
+ return {
66786
+ content: [
66787
+ {
66788
+ type: "text",
66789
+ name: "Custom Deployment Updated",
66790
+ description: `Updated custom deployment: ${params.customDeploymentUniqueName} to tag: ${params.imageTag}`,
66791
+ mimeType: "application/json",
66792
+ text: JSON.stringify(customDeployment, null, 2)
66793
+ }
66794
+ ]
66795
+ };
66796
+ });
66797
+ };
66798
+
66862
66799
  // src/tools/platform/custom-deployment/list.ts
66863
66800
  var platformCustomDeploymentList = (server, env3, pat) => {
66864
66801
  const instance = env3.SETTLEMINT_INSTANCE;
@@ -66915,8 +66852,8 @@ var platformCustomDeploymentRead = (server, env3, pat) => {
66915
66852
  });
66916
66853
  };
66917
66854
 
66918
- // src/tools/platform/foundry/env.ts
66919
- var platformFoundryEnv = (server, env3, pat) => {
66855
+ // src/tools/platform/custom-deployment/restart.ts
66856
+ var platformCustomDeploymentRestart = (server, env3, pat) => {
66920
66857
  const instance = env3.SETTLEMINT_INSTANCE;
66921
66858
  if (!instance) {
66922
66859
  throw new Error("SETTLEMINT_INSTANCE is not set");
@@ -66925,18 +66862,18 @@ var platformFoundryEnv = (server, env3, pat) => {
66925
66862
  accessToken: pat,
66926
66863
  instance
66927
66864
  });
66928
- server.tool("platform-foundry-env", {
66929
- blockchainNodeUniqueName: z.string().describe("Unique name of the blockchain node to get foundry environment variables for")
66865
+ server.tool("platform-custom-deployment-restart", {
66866
+ customDeploymentUniqueName: z.string().describe("Unique name of the custom deployment to restart")
66930
66867
  }, async (params) => {
66931
- const foundryEnv = await client.foundry.env(params.blockchainNodeUniqueName);
66868
+ const customDeployment = await client.customDeployment.restart(params.customDeploymentUniqueName);
66932
66869
  return {
66933
66870
  content: [
66934
66871
  {
66935
66872
  type: "text",
66936
- name: "Foundry Environment Variables",
66937
- description: `Foundry environment variables for blockchain node: ${params.blockchainNodeUniqueName}`,
66873
+ name: "Custom Deployment Restarted",
66874
+ description: `Restarted custom deployment: ${params.customDeploymentUniqueName}`,
66938
66875
  mimeType: "application/json",
66939
- text: JSON.stringify(foundryEnv, null, 2)
66876
+ text: JSON.stringify(customDeployment, null, 2)
66940
66877
  }
66941
66878
  ]
66942
66879
  };
@@ -66957,6 +66894,7 @@ var platformInsightsCreate = (server, env3, pat) => {
66957
66894
  applicationUniqueName: z.string().describe("Unique name of the application to create the insights in"),
66958
66895
  name: z.string().describe("Name of the insights"),
66959
66896
  type: z.enum(["DEDICATED", "SHARED"]).describe("Type of the insights (DEDICATED or SHARED)"),
66897
+ size: z.enum(["SMALL", "MEDIUM", "LARGE"]).describe("Size of the insights"),
66960
66898
  provider: z.string().describe("Provider for the insights"),
66961
66899
  region: z.string().describe("Region for the insights"),
66962
66900
  insightsCategory: z.enum(["BLOCKCHAIN_EXPLORER", "HYPERLEDGER_EXPLORER", "OTTERSCAN_BLOCKCHAIN_EXPLORER"]).describe("Category of insights"),
@@ -66966,6 +66904,7 @@ var platformInsightsCreate = (server, env3, pat) => {
66966
66904
  applicationUniqueName: params.applicationUniqueName,
66967
66905
  name: params.name,
66968
66906
  type: params.type,
66907
+ size: params.size,
66969
66908
  provider: params.provider,
66970
66909
  region: params.region,
66971
66910
  insightsCategory: params.insightsCategory,
@@ -67083,6 +67022,7 @@ var platformIntegrationToolCreate = (server, env3, pat) => {
67083
67022
  applicationUniqueName: z.string().describe("Unique name of the application to create the integration tool in"),
67084
67023
  name: z.string().describe("Name of the integration tool"),
67085
67024
  type: z.enum(["DEDICATED", "SHARED"]).describe("Type of the integration tool (DEDICATED or SHARED)"),
67025
+ size: z.enum(["SMALL", "MEDIUM", "LARGE"]).describe("Size of the integration tool"),
67086
67026
  provider: z.string().describe("Provider for the integration tool"),
67087
67027
  region: z.string().describe("Region for the integration tool"),
67088
67028
  integrationType: z.enum(["CHAINLINK", "HASURA", "INTEGRATION_STUDIO"]).describe("Type of integration")
@@ -67091,6 +67031,7 @@ var platformIntegrationToolCreate = (server, env3, pat) => {
67091
67031
  applicationUniqueName: params.applicationUniqueName,
67092
67032
  name: params.name,
67093
67033
  type: params.type,
67034
+ size: params.size,
67094
67035
  provider: params.provider,
67095
67036
  region: params.region,
67096
67037
  integrationType: params.integrationType
@@ -67207,6 +67148,7 @@ var platformMiddlewareCreate = (server, env3, pat) => {
67207
67148
  applicationUniqueName: z.string().describe("Unique name of the application to create the middleware in"),
67208
67149
  name: z.string().describe("Name of the middleware"),
67209
67150
  type: z.enum(["DEDICATED", "SHARED"]).describe("Type of the middleware (DEDICATED or SHARED)"),
67151
+ size: z.enum(["SMALL", "MEDIUM", "LARGE"]).describe("Size of the middleware"),
67210
67152
  provider: z.string().describe("Provider for the middleware"),
67211
67153
  region: z.string().describe("Region for the middleware"),
67212
67154
  interface: z.enum(["ATTESTATION_INDEXER", "BESU", "FIREFLY_FABCONNECT", "GRAPH", "HA_GRAPH", "SMART_CONTRACT_PORTAL"]).describe("Interface type for the middleware"),
@@ -67216,6 +67158,7 @@ var platformMiddlewareCreate = (server, env3, pat) => {
67216
67158
  applicationUniqueName: params.applicationUniqueName,
67217
67159
  name: params.name,
67218
67160
  type: params.type,
67161
+ size: params.size,
67219
67162
  provider: params.provider,
67220
67163
  region: params.region,
67221
67164
  interface: params.interface,
@@ -67235,35 +67178,6 @@ var platformMiddlewareCreate = (server, env3, pat) => {
67235
67178
  });
67236
67179
  };
67237
67180
 
67238
- // src/tools/platform/middleware/graph-subgraphs.ts
67239
- var platformMiddlewareGraphSubgraphs = (server, env3, pat) => {
67240
- const instance = env3.SETTLEMINT_INSTANCE;
67241
- if (!instance) {
67242
- throw new Error("SETTLEMINT_INSTANCE is not set");
67243
- }
67244
- const client = createSettleMintClient({
67245
- accessToken: pat,
67246
- instance
67247
- });
67248
- server.tool("platform-middleware-graph-subgraphs", {
67249
- middlewareUniqueName: z.string().describe("Unique name of the middleware to retrieve graph subgraphs from"),
67250
- noCache: z.boolean().optional().describe("Whether to bypass cache when retrieving subgraphs")
67251
- }, async (params) => {
67252
- const middlewareWithSubgraphs = await client.middleware.graphSubgraphs(params.middlewareUniqueName, params.noCache);
67253
- return {
67254
- content: [
67255
- {
67256
- type: "text",
67257
- name: "Middleware Graph Subgraphs",
67258
- description: `Graph subgraphs for middleware: ${params.middlewareUniqueName}`,
67259
- mimeType: "application/json",
67260
- text: JSON.stringify(middlewareWithSubgraphs, null, 2)
67261
- }
67262
- ]
67263
- };
67264
- });
67265
- };
67266
-
67267
67181
  // src/tools/platform/middleware/list.ts
67268
67182
  var platformMiddlewareList = (server, env3, pat) => {
67269
67183
  const instance = env3.SETTLEMINT_INSTANCE;
@@ -67348,32 +67262,6 @@ var platformMiddlewareRestart = (server, env3, pat) => {
67348
67262
  });
67349
67263
  };
67350
67264
 
67351
- // src/tools/platform/platform/config.ts
67352
- var platformPlatformConfig = (server, env3, pat) => {
67353
- const instance = env3.SETTLEMINT_INSTANCE;
67354
- if (!instance) {
67355
- throw new Error("SETTLEMINT_INSTANCE is not set");
67356
- }
67357
- const client = createSettleMintClient({
67358
- accessToken: pat,
67359
- instance
67360
- });
67361
- server.tool("platform-platform-config", {}, async () => {
67362
- const config3 = await client.platform.config();
67363
- return {
67364
- content: [
67365
- {
67366
- type: "text",
67367
- name: "Platform Configuration",
67368
- description: "Platform configuration details",
67369
- mimeType: "application/json",
67370
- text: JSON.stringify(config3, null, 2)
67371
- }
67372
- ]
67373
- };
67374
- });
67375
- };
67376
-
67377
67265
  // src/tools/platform/private-key/create.ts
67378
67266
  var platformPrivateKeyCreate = (server, env3, pat) => {
67379
67267
  const instance = env3.SETTLEMINT_INSTANCE;
@@ -67508,6 +67396,7 @@ var platformStorageCreate = (server, env3, pat) => {
67508
67396
  applicationUniqueName: z.string().describe("Unique name of the application to create the storage in"),
67509
67397
  name: z.string().describe("Name of the storage"),
67510
67398
  type: z.enum(["DEDICATED", "SHARED"]).describe("Type of the storage (DEDICATED or SHARED)"),
67399
+ size: z.enum(["SMALL", "MEDIUM", "LARGE"]).describe("Size of the storage"),
67511
67400
  provider: z.string().describe("Provider for the storage"),
67512
67401
  region: z.string().describe("Region for the storage"),
67513
67402
  storageProtocol: z.enum(["IPFS", "MINIO"]).describe("Storage protocol (IPFS or MINIO)")
@@ -67516,6 +67405,7 @@ var platformStorageCreate = (server, env3, pat) => {
67516
67405
  applicationUniqueName: params.applicationUniqueName,
67517
67406
  name: params.name,
67518
67407
  type: params.type,
67408
+ size: params.size,
67519
67409
  provider: params.provider,
67520
67410
  region: params.region,
67521
67411
  storageProtocol: params.storageProtocol
@@ -67618,135 +67508,6 @@ var platformStorageRestart = (server, env3, pat) => {
67618
67508
  });
67619
67509
  };
67620
67510
 
67621
- // src/tools/platform/wallet/pincode-verification-response.ts
67622
- var platformWalletPincodeVerificationResponse = (server, env3, pat) => {
67623
- const instance = env3.SETTLEMINT_INSTANCE;
67624
- if (!instance) {
67625
- throw new Error("SETTLEMINT_INSTANCE is not set");
67626
- }
67627
- const client = createSettleMintClient({
67628
- accessToken: pat,
67629
- instance
67630
- });
67631
- server.tool("platform-wallet-pincode-verification-response", {
67632
- userWalletAddress: z.string().describe("User wallet address"),
67633
- pincode: z.string().describe("Pincode for verification"),
67634
- nodeId: z.string().describe("Node ID")
67635
- }, async (params) => {
67636
- const response = await client.wallet.pincodeVerificationResponse({
67637
- userWalletAddress: params.userWalletAddress,
67638
- pincode: params.pincode,
67639
- nodeId: params.nodeId
67640
- });
67641
- return {
67642
- content: [
67643
- {
67644
- type: "text",
67645
- name: "Pincode Verification Response",
67646
- description: "Generated pincode verification response",
67647
- mimeType: "text/plain",
67648
- text: response
67649
- }
67650
- ]
67651
- };
67652
- });
67653
- };
67654
-
67655
- // src/tools/platform/workspace/add-credits.ts
67656
- var platformWorkspaceAddCredits = (server, env3, pat) => {
67657
- const instance = env3.SETTLEMINT_INSTANCE;
67658
- if (!instance) {
67659
- throw new Error("SETTLEMINT_INSTANCE is not set");
67660
- }
67661
- const client = createSettleMintClient({
67662
- accessToken: pat,
67663
- instance
67664
- });
67665
- server.tool("platform-workspace-add-credits", {
67666
- workspaceId: z.string().describe("ID of the workspace to add credits to"),
67667
- amount: z.number().describe("Amount of credits to add")
67668
- }, async (params) => {
67669
- const result = await client.workspace.addCredits(params.workspaceId, params.amount);
67670
- return {
67671
- content: [
67672
- {
67673
- type: "text",
67674
- name: "Credits Added",
67675
- description: `Added ${params.amount} credits to workspace: ${params.workspaceId}`,
67676
- mimeType: "application/json",
67677
- text: JSON.stringify({ success: result }, null, 2)
67678
- }
67679
- ]
67680
- };
67681
- });
67682
- };
67683
-
67684
- // src/tools/platform/workspace/create.ts
67685
- var platformWorkspaceCreate = (server, env3, pat) => {
67686
- const instance = env3.SETTLEMINT_INSTANCE;
67687
- if (!instance) {
67688
- throw new Error("SETTLEMINT_INSTANCE is not set");
67689
- }
67690
- const client = createSettleMintClient({
67691
- accessToken: pat,
67692
- instance
67693
- });
67694
- server.tool("platform-workspace-create", {
67695
- name: z.string().describe("Name of the workspace"),
67696
- addressLine1: z.string().optional().describe("Address line 1"),
67697
- addressLine2: z.string().optional().describe("Address line 2"),
67698
- city: z.string().optional().describe("City"),
67699
- companyName: z.string().optional().describe("Company name"),
67700
- country: z.string().optional().describe("Country"),
67701
- parentId: z.string().optional().describe("Parent workspace ID"),
67702
- paymentMethodId: z.string().optional().describe("Payment method ID"),
67703
- postalCode: z.string().optional().describe("Postal code"),
67704
- taxIdType: z.string().optional().describe("Tax ID type"),
67705
- taxIdValue: z.string().optional().describe("Tax ID value")
67706
- }, async (params) => {
67707
- const workspace = await client.workspace.create(params);
67708
- return {
67709
- content: [
67710
- {
67711
- type: "text",
67712
- name: "Workspace Created",
67713
- description: `Created workspace: ${params.name}`,
67714
- mimeType: "application/json",
67715
- text: JSON.stringify(workspace, null, 2)
67716
- }
67717
- ]
67718
- };
67719
- });
67720
- };
67721
-
67722
- // src/tools/platform/workspace/delete.ts
67723
- var platformWorkspaceDelete = (server, env3, pat) => {
67724
- const instance = env3.SETTLEMINT_INSTANCE;
67725
- if (!instance) {
67726
- throw new Error("SETTLEMINT_INSTANCE is not set");
67727
- }
67728
- const client = createSettleMintClient({
67729
- accessToken: pat,
67730
- instance
67731
- });
67732
- server.tool("platform-workspace-delete", {
67733
- workspaceUniqueName: z.string().describe("Unique name of the workspace to delete")
67734
- }, async (params) => {
67735
- const workspace = await client.workspace.delete(params.workspaceUniqueName);
67736
- return {
67737
- content: [
67738
- {
67739
- type: "text",
67740
- name: "Workspace Deleted",
67741
- description: `Deleted workspace: ${params.workspaceUniqueName}`,
67742
- mimeType: "application/json",
67743
- text: JSON.stringify(workspace, null, 2)
67744
- }
67745
- ]
67746
- };
67747
- });
67748
- };
67749
-
67750
67511
  // src/tools/platform/workspace/list.ts
67751
67512
  var platformWorkspaceList = (server, env3, pat) => {
67752
67513
  const instance = env3.SETTLEMINT_INSTANCE;
@@ -68239,17 +68000,11 @@ async function main() {
68239
68000
  promptsResourcesToolsUsagePrompt(server);
68240
68001
  platformWorkspaceList(server, env3, pat);
68241
68002
  platformWorkspaceRead(server, env3, pat);
68242
- platformWorkspaceCreate(server, env3, pat);
68243
- platformWorkspaceDelete(server, env3, pat);
68244
- platformWorkspaceAddCredits(server, env3, pat);
68245
68003
  platformApplicationList(server, env3, pat);
68246
68004
  platformApplicationRead(server, env3, pat);
68247
- platformApplicationCreate(server, env3, pat);
68248
- platformApplicationDelete(server, env3, pat);
68249
68005
  platformBlockchainNetworkList(server, env3, pat);
68250
68006
  platformBlockchainNetworkRead(server, env3, pat);
68251
68007
  platformBlockchainNetworkCreate(server, env3, pat);
68252
- platformBlockchainNetworkDelete(server, env3, pat);
68253
68008
  platformBlockchainNetworkRestart(server, env3, pat);
68254
68009
  platformBlockchainNodeList(server, env3, pat);
68255
68010
  platformBlockchainNodeRead(server, env3, pat);
@@ -68257,7 +68012,6 @@ async function main() {
68257
68012
  platformBlockchainNodeRestart(server, env3, pat);
68258
68013
  platformMiddlewareList(server, env3, pat);
68259
68014
  platformMiddlewareRead(server, env3, pat);
68260
- platformMiddlewareGraphSubgraphs(server, env3, pat);
68261
68015
  platformMiddlewareCreate(server, env3, pat);
68262
68016
  platformMiddlewareRestart(server, env3, pat);
68263
68017
  platformIntegrationToolList(server, env3, pat);
@@ -68278,10 +68032,9 @@ async function main() {
68278
68032
  platformInsightsRestart(server, env3, pat);
68279
68033
  platformCustomDeploymentList(server, env3, pat);
68280
68034
  platformCustomDeploymentRead(server, env3, pat);
68281
- platformFoundryEnv(server, env3, pat);
68282
- platformApplicationAccessTokenCreate(server, env3, pat);
68283
- platformPlatformConfig(server, env3, pat);
68284
- platformWalletPincodeVerificationResponse(server, env3, pat);
68035
+ platformCustomDeploymentCreate(server, env3, pat);
68036
+ platformCustomDeploymentRestart(server, env3, pat);
68037
+ platformCustomDeploymentEdit(server, env3, pat);
68285
68038
  const transport = new StdioServerTransport;
68286
68039
  await server.connect(transport);
68287
68040
  } catch (error2) {
@@ -68294,4 +68047,4 @@ await main().catch((error2) => {
68294
68047
  process.exit(1);
68295
68048
  });
68296
68049
 
68297
- //# debugId=7FAF1146A184EFBA64756E2164756E21
68050
+ //# debugId=70E41A628EA4397064756E2164756E21