Amazon Step Functions · Capability

Amazon Step Functions API — State Machines

Amazon Step Functions API — State Machines. 5 operations. Lead operation: Amazon Step Functions Create a state machine. Self-contained Naftiko capability covering one Amazon Step Functions business surface.

Run with Naftiko Amazon Step FunctionsState Machines

What You Can Do

POST
Createstatemachine — Amazon Step Functions Create a state machine
/v1/x-amz-target-awsstepfunctions-createstatemachine
POST
Deletestatemachine — Amazon Step Functions Delete a state machine
/v1/x-amz-target-awsstepfunctions-deletestatemachine
POST
Describestatemachine — Amazon Step Functions Describe a state machine
/v1/x-amz-target-awsstepfunctions-describestatemachine
POST
Liststatemachines — Amazon Step Functions List state machines
/v1/x-amz-target-awsstepfunctions-liststatemachines
POST
Updatestatemachine — Amazon Step Functions Update a state machine
/v1/x-amz-target-awsstepfunctions-updatestatemachine

MCP Tools

amazon-step-functions-create-state

Amazon Step Functions Create a state machine

amazon-step-functions-delete-state

Amazon Step Functions Delete a state machine

amazon-step-functions-describe-state

Amazon Step Functions Describe a state machine

amazon-step-functions-list-state

Amazon Step Functions List state machines

read-only
amazon-step-functions-update-state

Amazon Step Functions Update a state machine

Capability Spec

amazon-step-functions-state-machines.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Amazon Step Functions API — State Machines
  description: 'Amazon Step Functions API — State Machines. 5 operations. Lead operation: Amazon Step Functions Create a state
    machine. Self-contained Naftiko capability covering one Amazon Step Functions business surface.'
  tags:
  - Amazon Step Functions
  - State Machines
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    AMAZON_STEP_FUNCTIONS_API_KEY: AMAZON_STEP_FUNCTIONS_API_KEY
capability:
  consumes:
  - type: http
    namespace: amazon-step-functions-state-machines
    baseUri: https://states.{region}.amazonaws.com
    description: Amazon Step Functions API — State Machines business capability. Self-contained, no shared references.
    resources:
    - name: '#X-Amz-Target=AWSStepFunctions.CreateStateMachine'
      path: /#X-Amz-Target=AWSStepFunctions.CreateStateMachine
      operations:
      - name: createstatemachine
        method: POST
        description: Amazon Step Functions Create a state machine
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: '#X-Amz-Target=AWSStepFunctions.DeleteStateMachine'
      path: /#X-Amz-Target=AWSStepFunctions.DeleteStateMachine
      operations:
      - name: deletestatemachine
        method: POST
        description: Amazon Step Functions Delete a state machine
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: '#X-Amz-Target=AWSStepFunctions.DescribeStateMachine'
      path: /#X-Amz-Target=AWSStepFunctions.DescribeStateMachine
      operations:
      - name: describestatemachine
        method: POST
        description: Amazon Step Functions Describe a state machine
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: '#X-Amz-Target=AWSStepFunctions.ListStateMachines'
      path: /#X-Amz-Target=AWSStepFunctions.ListStateMachines
      operations:
      - name: liststatemachines
        method: POST
        description: Amazon Step Functions List state machines
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: '#X-Amz-Target=AWSStepFunctions.UpdateStateMachine'
      path: /#X-Amz-Target=AWSStepFunctions.UpdateStateMachine
      operations:
      - name: updatestatemachine
        method: POST
        description: Amazon Step Functions Update a state machine
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: apikey
      key: Authorization
      value: '{{env.AMAZON_STEP_FUNCTIONS_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: amazon-step-functions-state-machines-rest
    port: 8080
    description: REST adapter for Amazon Step Functions API — State Machines. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/x-amz-target-awsstepfunctions-createstatemachine
      name: x-amz-target-awsstepfunctions-createstatemachine
      description: 'REST surface for #X-Amz-Target=AWSStepFunctions.CreateStateMachine.'
      operations:
      - method: POST
        name: createstatemachine
        description: Amazon Step Functions Create a state machine
        call: amazon-step-functions-state-machines.createstatemachine
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/x-amz-target-awsstepfunctions-deletestatemachine
      name: x-amz-target-awsstepfunctions-deletestatemachine
      description: 'REST surface for #X-Amz-Target=AWSStepFunctions.DeleteStateMachine.'
      operations:
      - method: POST
        name: deletestatemachine
        description: Amazon Step Functions Delete a state machine
        call: amazon-step-functions-state-machines.deletestatemachine
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/x-amz-target-awsstepfunctions-describestatemachine
      name: x-amz-target-awsstepfunctions-describestatemachine
      description: 'REST surface for #X-Amz-Target=AWSStepFunctions.DescribeStateMachine.'
      operations:
      - method: POST
        name: describestatemachine
        description: Amazon Step Functions Describe a state machine
        call: amazon-step-functions-state-machines.describestatemachine
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/x-amz-target-awsstepfunctions-liststatemachines
      name: x-amz-target-awsstepfunctions-liststatemachines
      description: 'REST surface for #X-Amz-Target=AWSStepFunctions.ListStateMachines.'
      operations:
      - method: POST
        name: liststatemachines
        description: Amazon Step Functions List state machines
        call: amazon-step-functions-state-machines.liststatemachines
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/x-amz-target-awsstepfunctions-updatestatemachine
      name: x-amz-target-awsstepfunctions-updatestatemachine
      description: 'REST surface for #X-Amz-Target=AWSStepFunctions.UpdateStateMachine.'
      operations:
      - method: POST
        name: updatestatemachine
        description: Amazon Step Functions Update a state machine
        call: amazon-step-functions-state-machines.updatestatemachine
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: amazon-step-functions-state-machines-mcp
    port: 9090
    transport: http
    description: MCP adapter for Amazon Step Functions API — State Machines. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: amazon-step-functions-create-state
      description: Amazon Step Functions Create a state machine
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: amazon-step-functions-state-machines.createstatemachine
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: amazon-step-functions-delete-state
      description: Amazon Step Functions Delete a state machine
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: amazon-step-functions-state-machines.deletestatemachine
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: amazon-step-functions-describe-state
      description: Amazon Step Functions Describe a state machine
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: amazon-step-functions-state-machines.describestatemachine
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: amazon-step-functions-list-state
      description: Amazon Step Functions List state machines
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: amazon-step-functions-state-machines.liststatemachines
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: amazon-step-functions-update-state
      description: Amazon Step Functions Update a state machine
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: amazon-step-functions-state-machines.updatestatemachine
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.