Stigg · Capability

Stigg API — Subscriptions

Stigg API — Subscriptions. 1 operations. Lead operation: Execute GraphQL Query or Mutation. Self-contained Naftiko capability covering one Stigg business surface.

Run with Naftiko StiggSubscriptions

What You Can Do

POST
Executegraphql — Execute GraphQL Query or Mutation
/v1/graphql

MCP Tools

execute-graphql-query-mutation

Execute GraphQL Query or Mutation

read-only

Capability Spec

stigg-subscriptions.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Stigg API — Subscriptions
  description: 'Stigg API — Subscriptions. 1 operations. Lead operation: Execute GraphQL Query or Mutation. Self-contained
    Naftiko capability covering one Stigg business surface.'
  tags:
  - Stigg
  - Subscriptions
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    STIGG_API_KEY: STIGG_API_KEY
capability:
  consumes:
  - type: http
    namespace: stigg-subscriptions
    baseUri: https://api.stigg.io
    description: Stigg API — Subscriptions business capability. Self-contained, no shared references.
    resources:
    - name: graphql
      path: /graphql
      operations:
      - name: executegraphql
        method: POST
        description: Execute GraphQL Query or Mutation
        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: X-API-KEY
      value: '{{env.STIGG_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: stigg-subscriptions-rest
    port: 8080
    description: REST adapter for Stigg API — Subscriptions. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/graphql
      name: graphql
      description: REST surface for graphql.
      operations:
      - method: POST
        name: executegraphql
        description: Execute GraphQL Query or Mutation
        call: stigg-subscriptions.executegraphql
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: stigg-subscriptions-mcp
    port: 9090
    transport: http
    description: MCP adapter for Stigg API — Subscriptions. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: execute-graphql-query-mutation
      description: Execute GraphQL Query or Mutation
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: stigg-subscriptions.executegraphql
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.