Skip to main content
Glama
ncloud-mcp-server

ncloud-mcp-server

by sjk4425

ncloud_nks_create_cluster

Creates a new NKS Kubernetes cluster with node pools, network, add-on, and logging settings; set dryRun=true to preview the configuration without provisioning resources.

Instructions

Create a new NKS Kubernetes cluster. Use dryRun=true to preview without creating.

G3(KVM) cluster requirements:

  • hypervisorCode: 'KVM' (required)

  • clusterType: must contain G003 (e.g., SVR.VNKS.STAND.C004.M016.G003)

  • k8sVersion: must use nks.2 suffix (e.g., 1.35.3-nks.2)

  • lbPrivateSubnetNo: Private LB subnet number (required — returns 400 without details if missing)

  • zoneCode: Required at cluster level when isRegional=false (default). Missing causes 400 without details.

  • nodePool.softwareCode: Must use FULL value from ncloud_nks_get_server_images including pipe and image number (e.g., SW.VSVR.OS.LNX64.UBNTU.SVR22.WRKND.G003|23215604)

  • nodePool.serverSpecCode: g3 spec code (e.g., c2-g3)

  • nodePool.storageSize: 100~2000GB (required)

Server-side validations added 2026-09-17 (request fails with 400 if violated):

  • Regional cluster (isRegional=true): every nodePool.zoneCode must match the zone of the subnets assigned to that node pool (subnetNoList). Check each subnet's zone with the VPC subnet tools before creating.

  • log.audit=true requires an active Cloud Log Analytics (CLA) subscription on the account — subscribe first or leave audit off and enable later with ncloud_nks_set_audit_log.

  • Istio is now available as an add-on (1.36+ clusters): install after creation with ncloud_nks_install_addons.

G2(XEN) vs G3(KVM) differences:

  • G2: clusterType contains G002, k8sVersion suffix nks.1, hypervisorCode optional. nodePool spec goes in productCode (from ncloud_nks_get_server_specs), softwareCode has no '|' part

  • G3: clusterType contains G003, k8sVersion suffix nks.2, hypervisorCode='KVM' required

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "name": "<name>",
      "clusterType": "<clusterType>",
      "loginKeyName": "<loginKeyName>",
      "regionCode": "<regionCode>",
      "vpcNo": "<vpcNo>",
      "subnetNoList": "<subnetNoList>"
    },
    "name": "ncloud_nks_create_cluster"
  }
}

Input Schema

NameRequiredDescriptionDefault
logNoLog settings. audit=true sends the Kubernetes audit log to Cloud Log Analytics and, since 2026-09-17, is rejected (400) unless the account has an active CLA subscription. authn=true also collects the Control Plane authentication log (requires authType=API and Kubernetes 1.26+)
nameYesCluster name (3-30 chars, lowercase+numbers+'-')
vpcNoYesVPC number
addonsNoAdd-ons to install together with the cluster
dryRunNoIf true, returns a preview without actually creating
zoneNoNoZone number — documented alternative to zoneCode
authTypeNoCluster authentication mode. IAM access entries (ncloud_nks_*_access_entry) require API. ⚠️ Once set to API it cannot be changed back
nodePoolNoInitial node pool configurations
zoneCodeNoZone code (see ncloud_get_zones). Required when isRegional is false (default). API returns 400 without details if missing for single-zone clusters
kmsKeyTagNoKMS key tag for Kubernetes secret encryption (from the Key Management Service console)
isRegionalNoMulti-zone (Regional) cluster. Default: false. Public zone only (not in the Government-zone guide)
k8sVersionNoKubernetes version (from ncloud_nks_get_versions). G3/KVM uses nks.2 suffix, G2/XEN uses nks.1 suffix
regionCodeYesRegion code (see ncloud_get_regions)
subnetLbNoNoLoad balancer subnet number (legacy single LB-subnet field; conditional per the guide)
clusterTypeYesCluster type (e.g., SVR.VNKS.STAND.C004.M016.G003 for G3, SVR.VNKS.STAND.C004.M016.G002 for G2)
loginKeyNameYesLogin key name for node access
subnetNoListYesSubnet number list for the cluster
publicNetworkNoSubnet network type. true=Public, false=Private (default)
hypervisorCodeNoHypervisor code: XEN (default) or KVM (Public/Government zones; required as 'KVM' for G3 clusters). The Financial-zone guide lists XEN | RHV and has no KVM
lbPublicSubnetNoNoLoad balancer public subnet number. Required in the Government and Financial zones; in the Public zone required unless lbPublicSubnetNoList is given
lbPrivateSubnetNoNoLoad balancer private subnet number. Required for G3/KVM clusters (API returns 400 without details if missing)
bootstrapAccessEntryNoAuto-create an IAM access entry for the creating principal (authType=API only)
lbPublicSubnetNoListNoPublic zone only: up to 2 public LB subnet numbers in different zones (multi-zone). Alternative to lbPublicSubnetNo
lbPrivateSubnetNoListNoPublic zone only: up to 2 private LB subnet numbers in different zones (multi-zone). Alternative to lbPrivateSubnetNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv3.1.0
    • changedInput schema / properties / log / description
      Previous value: -"Log settings. audit=true sends the Kubernetes audit log to Cloud Log Analytics and, since 2026-09-17, is rejected (400) unless the account has an active CLA subscription"New value: +"Log settings. audit=true sends the Kubernetes audit log to Cloud Log Analytics and, since 2026-09-17, is rejected (400) unless the account has an active CLA subscription. authn=true also collects the Control Plane authentication log (requires authType=API and Kubernetes 1.26+)"
    • addedInput schema / properties / log / properties / authn
      Added value: +{
      +  "description": "Control Plane authentication log (true/false). true is only allowed when authType=API and Kubernetes version is 1.26 or later",
      +  "type": "boolean"
      +}
  2. Changed8 schema fields changedv3.0.0
    • removedInput schema / additionalProperties
      Removed value: -false
    • removedInput schema / properties / addons / items / additionalProperties
      Removed value: -false
    • addedInput schema / properties / addons / items / properties / configurationValues / propertyNames
      Added value: +{
      +  "type": "string"
      +}
    • removedInput schema / properties / log / additionalProperties
      Removed value: -false
    • removedInput schema / properties / nodePool / items / additionalProperties
      Removed value: -false
    • removedInput schema / properties / nodePool / items / properties / fabricCluster / additionalProperties
      Removed value: -false
    • removedInput schema / properties / nodePool / items / properties / labels / items / additionalProperties
      Removed value: -false
    • removedInput schema / properties / nodePool / items / properties / taints / items / additionalProperties
      Removed value: -false
  3. Changed7 schema fields changedv2.2.0
    • changedInput schema / properties / hypervisorCode / description
      Previous value: -"Hypervisor code: XEN (default) or KVM. Required as 'KVM' for G3 clusters"New value: +"Hypervisor code: XEN (default) or KVM (Public/Government zones; required as 'KVM' for G3 clusters). The Financial-zone guide lists XEN | RHV and has no KVM"
    • changedInput schema / properties / lbPublicSubnetNo / description
      Previous value: -"Load balancer public subnet number. Required unless lbPublicSubnetNoList is given (Public zone) — the Government-zone guide lists it as required"New value: +"Load balancer public subnet number. Required in the Government and Financial zones; in the Public zone required unless lbPublicSubnetNoList is given"
    • changedInput schema / properties / nodePool / items / properties / productCode / description
      Previous value: -"Product code (XEN/G2 only, not available for G3/KVM)"New value: +"Server product code — XEN/G2 only (value from ncloud_nks_get_server_specs, e.g., SVR.VSVR.STAND.C002.M004.NET.SSD.B050.G002); not used for G3/KVM"
    • changedInput schema / properties / nodePool / items / properties / softwareCode / description
      Previous value: -"Server image code — MUST use the FULL value from ncloud_nks_get_server_images including pipe and image number (e.g., SW.VSVR.OS.LNX64.UBNTU.SVR22.WRKND.G003|23215604). Do NOT strip the pipe portion."New value: +"Server image code — use the value from ncloud_nks_get_server_images exactly as returned. KVM/G3 values include a pipe and image number (e.g., SW.VSVR.OS.LNX64.UBNTU.SVR22.WRKND.G003|23215604) — do NOT strip it; XEN values have no pipe (e.g., SW.VSVR.OS.LNX64.UBNTU.SVR2004.WRKND.B050)"
    • changedInput schema / properties / nodePool / items / properties / zoneCode / description
      Previous value: -"Zone code (e.g., KR-1). Required for Regional clusters and, since 2026-09-17, must match the zone of the subnets assigned to this node pool — a mismatch is rejected with 400"New value: +"Public zone only (Regional clusters): zone code (see ncloud_get_zones). Required for Regional clusters and, since 2026-09-17, must match the zone of the subnets assigned to this node pool — a mismatch is rejected with 400"
    • changedInput schema / properties / regionCode / description
      Previous value: -"Region code (e.g., KR, SGN, JPN)"New value: +"Region code (see ncloud_get_regions)"
    • changedInput schema / properties / zoneCode / description
      Previous value: -"Zone code (e.g., KR-2). Required when isRegional is false (default). API returns 400 without details if missing for single-zone clusters"New value: +"Zone code (see ncloud_get_zones). Required when isRegional is false (default). API returns 400 without details if missing for single-zone clusters"
  4. Changed14 schema fields changedv2.0.1
    • addedInput schema / properties / addons
      Added value: +{
      +  "description": "Add-ons to install together with the cluster",
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "addonName": {
      +        "description": "Add-on name (from ncloud_nks_list_available_addons)",
      +        "type": "string"
      +      },
      +      "configurationValues": {
      +        "additionalProperties": {},
      +        "description": "Add-on configuration values (schema from ncloud_nks_get_available_addon_version)",
      +        "type": "object"
      +      },
      +      "version": {
      +        "description": "Add-on version (from ncloud_nks_get_available_addon)",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "addonName"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedInput schema / properties / authType
      Added value: +{
      +  "description": "Cluster authentication mode. IAM access entries (ncloud_nks_*_access_entry) require API. ⚠️ Once set to API it cannot be changed back",
      +  "enum": [
      +    "API",
      +    "CONFIG_MAP"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / bootstrapAccessEntry
      Added value: +{
      +  "description": "Auto-create an IAM access entry for the creating principal (authType=API only)",
      +  "type": "boolean"
      +}
    • changedInput schema / properties / isRegional / description
      Previous value: -"Multi-zone (Regional) cluster. Default: false"New value: +"Multi-zone (Regional) cluster. Default: false. Public zone only (not in the Government-zone guide)"
    • addedInput schema / properties / kmsKeyTag
      Added value: +{
      +  "description": "KMS key tag for Kubernetes secret encryption (from the Key Management Service console)",
      +  "type": "string"
      +}
    • addedInput schema / properties / lbPrivateSubnetNoList
      Added value: +{
      +  "description": "Public zone only: up to 2 private LB subnet numbers in different zones (multi-zone). Alternative to lbPrivateSubnetNo",
      +  "items": {
      +    "type": "number"
      +  },
      +  "maxItems": 2,
      +  "type": "array"
      +}
    • changedInput schema / properties / lbPublicSubnetNo / description
      Previous value: -"Load balancer public subnet number"New value: +"Load balancer public subnet number. Required unless lbPublicSubnetNoList is given (Public zone) — the Government-zone guide lists it as required"
    • addedInput schema / properties / lbPublicSubnetNoList
      Added value: +{
      +  "description": "Public zone only: up to 2 public LB subnet numbers in different zones (multi-zone). Alternative to lbPublicSubnetNo",
      +  "items": {
      +    "type": "number"
      +  },
      +  "maxItems": 2,
      +  "type": "array"
      +}
    • addedInput schema / properties / nodePool / items / properties / fabricCluster
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "Fabric cluster to place the node pool in (poolName or poolNo)",
      +  "properties": {
      +    "poolName": {
      +      "description": "Fabric cluster pool name",
      +      "type": "string"
      +    },
      +    "poolNo": {
      +      "description": "Fabric cluster pool number",
      +      "type": "number"
      +    }
      +  },
      +  "type": "object"
      +}
    • addedInput schema / properties / nodePool / items / properties / subnetNo
      Added value: +{
      +  "description": "Subnet number for the node pool (single subnet)",
      +  "type": "number"
      +}
    • addedInput schema / properties / nodePool / items / properties / subnetNoList
      Added value: +{
      +  "description": "Subnet numbers for the node pool (multiple subnets)",
      +  "items": {
      +    "type": "number"
      +  },
      +  "type": "array"
      +}
    • addedInput schema / properties / subnetLbNo
      Added value: +{
      +  "description": "Load balancer subnet number (legacy single LB-subnet field; conditional per the guide)",
      +  "type": "number"
      +}
    • addedInput schema / properties / zoneNo
      Added value: +{
      +  "description": "Zone number — documented alternative to zoneCode",
      +  "type": "number"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "name",
      -  "clusterType",
      -  "loginKeyName",
      -  "regionCode",
      -  "vpcNo",
      -  "subnetNoList",
      -  "lbPublicSubnetNo"
      -]New value: +[
      +  "name",
      +  "clusterType",
      +  "loginKeyName",
      +  "regionCode",
      +  "vpcNo",
      +  "subnetNoList"
      +]
  5. Changed2 schema fields changedv1.16.0
    • changedInput schema / properties / log / description
      Previous value: -"Log settings (audit log)"New value: +"Log settings. audit=true sends the Kubernetes audit log to Cloud Log Analytics and, since 2026-09-17, is rejected (400) unless the account has an active CLA subscription"
    • changedInput schema / properties / nodePool / items / properties / zoneCode / description
      Previous value: -"Zone code (required for Regional clusters)"New value: +"Zone code (e.g., KR-1). Required for Regional clusters and, since 2026-09-17, must match the zone of the subnets assigned to this node pool — a mismatch is rejected with 400"
  6. First observedv1.10.1

TDQS

A3.9/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With only destructiveHint=false declared, the description carries most of the burden and does so well: it discloses specific 400 failure conditions (missing lbPrivateSubnetNo, missing zoneCode, subnet/zone mismatch in Regional clusters, audit log without CLA), plus an irreversibility warning for authType=API. It never states that cluster creation is long-running or whether the call blocks versus returning an in-progress resource, which is the main behavioral gap for a creation tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Bold section headers, bullets, and a front-loaded one-line purpose make a long description scannable for a 24-parameter tool. A fair amount of content duplicates the schema, and the 'server-side validations added 2026-09-17' framing is verbose, but length is broadly justified by the tool's complexity.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 24-parameter provisioning tool with no output schema, the description covers variant requirements, prerequisite subscriptions, and validation failure modes that an agent must satisfy before calling. It omits what the call returns (cluster ID/handle) and whether creation is asynchronous, which an agent needs in order to chain a follow-up get/status call.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so every parameter is already documented and most description bullets (lbPrivateSubnetNo, zoneCode, storageSize, softwareCode pipe handling) restate the schema text. It does add some cross-parameter synthesis by grouping which fields must co-occur for G3/KVM, but that value is modest given the schema already states each rule individually.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

Opens with a specific verb and resource ('Create a new NKS Kubernetes cluster') and immediately clarifies a mode of operation (dryRun preview). It thoroughly differentiates the G2/XEN and G3/KVM variants, which is the real branching an agent faces, but never distinguishes this from the other cluster-creation siblings (ncloud_cdss_create_cluster, ncloud_hadoop_create_cluster, ncloud_serverless_create_cluster).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives concrete conditional guidance: use dryRun=true to preview, subscribe to CLA before setting log.audit=true, install Istio after creation via ncloud_nks_install_addons, and check subnet zones before building a Regional cluster. It does not name alternatives to call instead (e.g., a G2-specific path or cdss variants), so guidance is strong on prerequisites but not on tool selection.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools