{
  "info": {
    "name": "TiDB Cloud — mcp.ai",
    "description": "REST API for the TiDB Cloud MCP. Set {{apiKey}} to a workspace key (sk_live_…) created at https://mcp.ai/settings/api-keys.",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{apiKey}}",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.mcp.ai/api/tidb_cloud",
      "type": "string"
    },
    {
      "key": "apiKey",
      "value": "sk_live_...",
      "type": "string"
    }
  ],
  "item": [
    {
      "name": "tidb_cloud_get_cluster",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/cluster",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "cluster"
          ]
        },
        "description": "Get details for one Starter/Essential instance or Dedicated cluster by ID.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"view\": \"\",\n  \"cluster_id\": \"\",\n  \"service_tier\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "tidb_cloud_get_monthly_bill",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/monthly/bill",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "monthly",
            "bill"
          ]
        },
        "description": "Return the TiDB Cloud organization bill for one calendar month.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"billed_month\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "tidb_cloud_list_audit_logs",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/audit/logs",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "audit",
            "logs"
          ]
        },
        "description": "Search TiDB Cloud organization audit logs by time range, event type, or keyword and return one page of results.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"keyword\": \"\",\n  \"end_time\": \"\",\n  \"page_size\": 0,\n  \"start_time\": \"\",\n  \"next_cursor\": \"\",\n  \"audit_event_types\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "tidb_cloud_list_branches",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/branches",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "branches"
          ]
        },
        "description": "List database branches for a TiDB Cloud Starter or Essential instance. Returns one page and a continuation cursor.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"page_size\": 0,\n  \"cluster_id\": \"\",\n  \"next_cursor\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "tidb_cloud_list_clusters",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/clusters",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "clusters"
          ]
        },
        "description": "List TiDB Cloud Starter/Essential instances or Dedicated clusters, with product-specific filters. Returns one page and a continuation cursor.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"skip\": 0,\n  \"filter\": \"\",\n  \"page_size\": 0,\n  \"project_id\": \"\",\n  \"region_ids\": \"\",\n  \"cluster_ids\": \"\",\n  \"next_cursor\": \"\",\n  \"service_tier\": \"\",\n  \"cluster_states\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "tidb_cloud_list_data_app_deployments",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/data/app/deployments",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "data",
            "app",
            "deployments"
          ]
        },
        "description": "List one page of deployments and deployment status for a TiDB Cloud Data Service application, plus a continuation cursor.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"page_size\": 0,\n  \"data_app_id\": \"\",\n  \"next_cursor\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "tidb_cloud_list_data_apps",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/data/apps",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "data",
            "apps"
          ]
        },
        "description": "List TiDB Cloud Data Service applications in a project, returning one page and a continuation cursor.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"page_size\": 0,\n  \"project_id\": \"\",\n  \"next_cursor\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "tidb_cloud_list_import_tasks",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/import/tasks",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "import",
            "tasks"
          ]
        },
        "description": "List one page of import tasks for a TiDB Cloud Starter/Essential instance or Dedicated cluster, including status, progress, source, timestamps, errors, and a continuation cursor.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"order_by\": \"\",\n  \"page_size\": 0,\n  \"cluster_id\": \"\",\n  \"next_cursor\": \"\",\n  \"service_tier\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "tidb_cloud_list_organization_members",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/organization/members",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "organization",
            "members"
          ]
        },
        "description": "List one page of TiDB Cloud organization members with optional identity, assignment, role, and status filters, plus a continuation cursor.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"email\": \"\",\n  \"roles\": \"\",\n  \"order_by\": \"\",\n  \"statuses\": \"\",\n  \"page_size\": 0,\n  \"project_id\": \"\",\n  \"instance_id\": \"\",\n  \"next_cursor\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "tidb_cloud_list_regions",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/regions",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "regions"
          ]
        },
        "description": "List regions available for Starter/Essential or Dedicated clusters, optionally filtering Dedicated regions. Returns one page and a continuation cursor.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"skip\": 0,\n  \"page_size\": 0,\n  \"project_id\": \"\",\n  \"next_cursor\": \"\",\n  \"service_tier\": \"\",\n  \"cloud_provider\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    }
  ]
}