Pulumi · Capability

Pulumi APIs — StackConfig

Pulumi APIs — StackConfig. 3 operations. Lead operation: DeleteStackConfig. Self-contained Naftiko capability covering one Pulumi business surface.

Run with Naftiko PulumiStackConfig

What You Can Do

DELETE
Deletestackconfig — DeleteStackConfig
/v1/api/stacks/{orgname}/{projectname}/{stackname}/config
GET
Getstackconfig — GetStackConfig
/v1/api/stacks/{orgname}/{projectname}/{stackname}/config
PUT
Updatestackconfig — UpdateStackConfig
/v1/api/stacks/{orgname}/{projectname}/{stackname}/config

MCP Tools

deletestackconfig

DeleteStackConfig

idempotent
getstackconfig

GetStackConfig

read-only idempotent
updatestackconfig

UpdateStackConfig

idempotent

Capability Spec

pulumi-stackconfig.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Pulumi APIs — StackConfig
  description: 'Pulumi APIs — StackConfig. 3 operations. Lead operation: DeleteStackConfig. Self-contained Naftiko capability
    covering one Pulumi business surface.'
  tags:
  - Pulumi
  - StackConfig
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    PULUMI_API_KEY: PULUMI_API_KEY
capability:
  consumes:
  - type: http
    namespace: pulumi-stackconfig
    baseUri: ''
    description: Pulumi APIs — StackConfig business capability. Self-contained, no shared references.
    resources:
    - name: api-stacks-orgName-projectName-stackName-config
      path: /api/stacks/{orgName}/{projectName}/{stackName}/config
      operations:
      - name: deletestackconfig
        method: DELETE
        description: DeleteStackConfig
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: orgName
          in: path
          type: string
          description: The organization name
          required: true
        - name: projectName
          in: path
          type: string
          description: The project name
          required: true
        - name: stackName
          in: path
          type: string
          description: The stack name
          required: true
      - name: getstackconfig
        method: GET
        description: GetStackConfig
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: orgName
          in: path
          type: string
          description: The organization name
          required: true
        - name: projectName
          in: path
          type: string
          description: The project name
          required: true
        - name: stackName
          in: path
          type: string
          description: The stack name
          required: true
      - name: updatestackconfig
        method: PUT
        description: UpdateStackConfig
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: orgName
          in: path
          type: string
          description: The organization name
          required: true
        - name: projectName
          in: path
          type: string
          description: The project name
          required: true
        - name: stackName
          in: path
          type: string
          description: The stack name
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
  exposes:
  - type: rest
    namespace: pulumi-stackconfig-rest
    port: 8080
    description: REST adapter for Pulumi APIs — StackConfig. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/api/stacks/{orgname}/{projectname}/{stackname}/config
      name: api-stacks-orgname-projectname-stackname-config
      description: REST surface for api-stacks-orgName-projectName-stackName-config.
      operations:
      - method: DELETE
        name: deletestackconfig
        description: DeleteStackConfig
        call: pulumi-stackconfig.deletestackconfig
        with:
          orgName: rest.orgName
          projectName: rest.projectName
          stackName: rest.stackName
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: getstackconfig
        description: GetStackConfig
        call: pulumi-stackconfig.getstackconfig
        with:
          orgName: rest.orgName
          projectName: rest.projectName
          stackName: rest.stackName
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: updatestackconfig
        description: UpdateStackConfig
        call: pulumi-stackconfig.updatestackconfig
        with:
          orgName: rest.orgName
          projectName: rest.projectName
          stackName: rest.stackName
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: pulumi-stackconfig-mcp
    port: 9090
    transport: http
    description: MCP adapter for Pulumi APIs — StackConfig. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: deletestackconfig
      description: DeleteStackConfig
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: pulumi-stackconfig.deletestackconfig
      with:
        orgName: tools.orgName
        projectName: tools.projectName
        stackName: tools.stackName
      outputParameters:
      - type: object
        mapping: $.
    - name: getstackconfig
      description: GetStackConfig
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: pulumi-stackconfig.getstackconfig
      with:
        orgName: tools.orgName
        projectName: tools.projectName
        stackName: tools.stackName
      outputParameters:
      - type: object
        mapping: $.
    - name: updatestackconfig
      description: UpdateStackConfig
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: pulumi-stackconfig.updatestackconfig
      with:
        orgName: tools.orgName
        projectName: tools.projectName
        stackName: tools.stackName
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.