Supaglue · Capability

Management API — Providers

Management API — Providers. 5 operations. Lead operation: List providers. Self-contained Naftiko capability covering one Supaglue business surface.

Run with Naftiko SupaglueProviders

What You Can Do

GET
Getproviders — List providers
/v1/providers
POST
Createprovider — Create provider
/v1/providers
GET
Getprovider — Get provider
/v1/providers/{provider-id}
PUT
Updateprovider — Update provider
/v1/providers/{provider-id}
DELETE
Deleteprovider — Delete provider
/v1/providers/{provider-id}

MCP Tools

list-providers

List providers

read-only idempotent
create-provider

Create provider

get-provider

Get provider

read-only idempotent
update-provider

Update provider

idempotent
delete-provider

Delete provider

idempotent

Capability Spec

management-providers.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Management API — Providers
  description: 'Management API — Providers. 5 operations. Lead operation: List providers. Self-contained Naftiko capability
    covering one Supaglue business surface.'
  tags:
  - Supaglue
  - Providers
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    SUPAGLUE_API_KEY: SUPAGLUE_API_KEY
capability:
  consumes:
  - type: http
    namespace: management-providers
    baseUri: https://api.supaglue.io/mgmt/v2
    description: Management API — Providers business capability. Self-contained, no shared references.
    resources:
    - name: providers
      path: /providers
      operations:
      - name: getproviders
        method: GET
        description: List providers
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createprovider
        method: POST
        description: Create provider
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: providers-provider_id
      path: /providers/{provider_id}
      operations:
      - name: getprovider
        method: GET
        description: Get provider
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: updateprovider
        method: PUT
        description: Update provider
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: deleteprovider
        method: DELETE
        description: Delete provider
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: apikey
      key: x-api-key
      value: '{{env.SUPAGLUE_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: management-providers-rest
    port: 8080
    description: REST adapter for Management API — Providers. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/providers
      name: providers
      description: REST surface for providers.
      operations:
      - method: GET
        name: getproviders
        description: List providers
        call: management-providers.getproviders
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createprovider
        description: Create provider
        call: management-providers.createprovider
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/providers/{provider-id}
      name: providers-provider-id
      description: REST surface for providers-provider_id.
      operations:
      - method: GET
        name: getprovider
        description: Get provider
        call: management-providers.getprovider
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: updateprovider
        description: Update provider
        call: management-providers.updateprovider
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deleteprovider
        description: Delete provider
        call: management-providers.deleteprovider
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: management-providers-mcp
    port: 9090
    transport: http
    description: MCP adapter for Management API — Providers. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: list-providers
      description: List providers
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: management-providers.getproviders
      outputParameters:
      - type: object
        mapping: $.
    - name: create-provider
      description: Create provider
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: management-providers.createprovider
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: get-provider
      description: Get provider
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: management-providers.getprovider
      outputParameters:
      - type: object
        mapping: $.
    - name: update-provider
      description: Update provider
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: management-providers.updateprovider
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-provider
      description: Delete provider
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: management-providers.deleteprovider
      outputParameters:
      - type: object
        mapping: $.