tidb · Capability

TiDB Cloud API — Integrations

TiDB Cloud API — Integrations. 2 operations. Lead operation: List integrations. Self-contained Naftiko capability covering one Tidb business surface.

Run with Naftiko TidbIntegrations

What You Can Do

GET
Listintegrations — List integrations
/v1/clusters/{clusterid}/integrations
POST
Createintegration — Create an integration
/v1/clusters/{clusterid}/integrations

MCP Tools

list-integrations

List integrations

read-only idempotent
create-integration

Create an integration

Capability Spec

cloud-integrations.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: TiDB Cloud API — Integrations
  description: 'TiDB Cloud API — Integrations. 2 operations. Lead operation: List integrations. Self-contained Naftiko capability
    covering one Tidb business surface.'
  tags:
  - Tidb
  - Integrations
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    TIDB_API_KEY: TIDB_API_KEY
capability:
  consumes:
  - type: http
    namespace: cloud-integrations
    baseUri: https://dedicated.tidbapi.com/v1beta1
    description: TiDB Cloud API — Integrations business capability. Self-contained, no shared references.
    resources:
    - name: clusters-clusterId-integrations
      path: /clusters/{clusterId}/integrations
      operations:
      - name: listintegrations
        method: GET
        description: List integrations
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createintegration
        method: POST
        description: Create an integration
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
  exposes:
  - type: rest
    namespace: cloud-integrations-rest
    port: 8080
    description: REST adapter for TiDB Cloud API — Integrations. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/clusters/{clusterid}/integrations
      name: clusters-clusterid-integrations
      description: REST surface for clusters-clusterId-integrations.
      operations:
      - method: GET
        name: listintegrations
        description: List integrations
        call: cloud-integrations.listintegrations
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createintegration
        description: Create an integration
        call: cloud-integrations.createintegration
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: cloud-integrations-mcp
    port: 9090
    transport: http
    description: MCP adapter for TiDB Cloud API — Integrations. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: list-integrations
      description: List integrations
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: cloud-integrations.listintegrations
      outputParameters:
      - type: object
        mapping: $.
    - name: create-integration
      description: Create an integration
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: cloud-integrations.createintegration
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.