Vistra · Capability

Vistra Incorporations API — Incorporations

Vistra Incorporations API — Incorporations. 3 operations. Lead operation: Create Incorporation. Self-contained Naftiko capability covering one Vistra business surface.

Run with Naftiko VistraIncorporations

What You Can Do

POST
Createincorporation — Create Incorporation
/v1/v1/external/incorporations
GET
Listincorporations — List Incorporations
/v1/v1/external/incorporations
GET
Getincorporation — Get Incorporation
/v1/v1/external/incorporations/{id}

MCP Tools

create-incorporation

Create Incorporation

list-incorporations

List Incorporations

read-only idempotent
get-incorporation

Get Incorporation

read-only idempotent

Capability Spec

incorporations-incorporations.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Vistra Incorporations API — Incorporations
  description: 'Vistra Incorporations API — Incorporations. 3 operations. Lead operation: Create Incorporation. Self-contained
    Naftiko capability covering one Vistra business surface.'
  tags:
  - Vistra
  - Incorporations
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    VISTRA_API_KEY: VISTRA_API_KEY
capability:
  consumes:
  - type: http
    namespace: incorporations-incorporations
    baseUri: https://api.vistra.com
    description: Vistra Incorporations API — Incorporations business capability. Self-contained, no shared references.
    resources:
    - name: v1-external-incorporations
      path: /v1/external/incorporations
      operations:
      - name: createincorporation
        method: POST
        description: Create Incorporation
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: listincorporations
        method: GET
        description: List Incorporations
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: status
          in: query
          type: string
          description: Filter by incorporation status
        - name: offset
          in: query
          type: integer
          description: Pagination offset
        - name: limit
          in: query
          type: integer
          description: Number of records per page
    - name: v1-external-incorporations-id
      path: /v1/external/incorporations/{id}
      operations:
      - name: getincorporation
        method: GET
        description: Get Incorporation
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: Incorporation request identifier
          required: true
    authentication:
      type: bearer
      token: '{{env.VISTRA_API_KEY}}'
  exposes:
  - type: rest
    namespace: incorporations-incorporations-rest
    port: 8080
    description: REST adapter for Vistra Incorporations API — Incorporations. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/v1/external/incorporations
      name: v1-external-incorporations
      description: REST surface for v1-external-incorporations.
      operations:
      - method: POST
        name: createincorporation
        description: Create Incorporation
        call: incorporations-incorporations.createincorporation
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: listincorporations
        description: List Incorporations
        call: incorporations-incorporations.listincorporations
        with:
          status: rest.status
          offset: rest.offset
          limit: rest.limit
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/external/incorporations/{id}
      name: v1-external-incorporations-id
      description: REST surface for v1-external-incorporations-id.
      operations:
      - method: GET
        name: getincorporation
        description: Get Incorporation
        call: incorporations-incorporations.getincorporation
        with:
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: incorporations-incorporations-mcp
    port: 9090
    transport: http
    description: MCP adapter for Vistra Incorporations API — Incorporations. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: create-incorporation
      description: Create Incorporation
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: incorporations-incorporations.createincorporation
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: list-incorporations
      description: List Incorporations
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: incorporations-incorporations.listincorporations
      with:
        status: tools.status
        offset: tools.offset
        limit: tools.limit
      outputParameters:
      - type: object
        mapping: $.
    - name: get-incorporation
      description: Get Incorporation
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: incorporations-incorporations.getincorporation
      with:
        id: tools.id
      outputParameters:
      - type: object
        mapping: $.