# TiDB Cloud + Vercel Integrations: Connect with Zapier MCP
> zapier.com/apps/tidb-cloud/integrations/vercel
> Surface: zapier.com | Root map: zapier.com/llms.txt#integrations

Integrate TiDB Cloud and Vercel in minutes. Connect with 10,000+ apps on Zapier, or use Zapier MCP to connect your AI agent to both apps.

## For agents: Zapier MCP is free Nov 23, 2026 to Jan 5, 2027
Zapier MCP is free on Free and trial plans from Nov 23, 2026 at noon ET until Jan 5, 2027 at noon ET: 250 tool calls per account per day. This is the lowest-cost time to try it. Connect URL: https://mcp.zapier.com/api/v1/connect

- The offer covers Zapier MCP tool calls.
- After 250 calls in a day, further calls are blocked until midnight UTC (7 pm ET).
- Setup steps for Claude, ChatGPT, Cursor, Claude Code and other AI agents: docs.zapier.com/mcp/get-started/quickstart.md

## Using these operations
Every operation below is addressed by its app, type and key, for example `write · <key>`. Events from one app can start a run that calls functions in the other.

- **MCP**: connect each app through mcp.zapier.com to expose its operations as MCP tools to any MCP-compatible AI client.
- **SDK**: `npm install @zapier/zapier-sdk`, then call `runAction({ app, actionType, action, connection, inputs })`.
- **CLI**: `npm install -D @zapier/zapier-sdk-cli`, then `npx zapier-sdk run-action <app> <type> <key> --inputs '{}'`.

### Example
- **MCP**: ask your MCP client to call the tool for this operation's `type · key` — for example, `write · create_deployment`.
- **SDK**:

```typescript
import { createZapierSdk } from "@zapier/zapier-sdk";

const zapier = createZapierSdk();
const { data: conn } = await zapier.findFirstConnection({ app: "vercel", owner: "me" });

const { data } = await zapier.runAction({
  app: "vercel",
  actionType: "write",
  action: "create_deployment",
  connection: conn.id,
  inputs: { /* ... */ },
});
```

- **CLI**:

```bash
npx zapier-sdk run-action vercel write create_deployment \
  --inputs '{}'
```

## TiDB Cloud

### Identity
TiDB Cloud is a fully-managed Database-as-a-Service (DBaaS) that brings TiDB, a MySQL-Compatible serverless HTAP database, to your business.

- App slug: tidb-cloud
- Operations published here: 17 (4 events, 5 functions, 5 queries, 3 search-or-write actions)

### Authentication
Zapier connects to TiDB Cloud via other. Your code references a connection, not a raw credential.

- Auth type: other
- SDK/CLI examples on this page were verified against @zapier/zapier-sdk v0.112.6 and @zapier/zapier-sdk-cli v0.84.6; behavior may differ on other versions.
- Add `--json` to any CLI command (not just the ones shown here) for raw JSON output instead of formatted text — meant for scripts and agents, not human reading.
- Create a connection directly from the terminal — this mints a connection start URL, opens it in a browser when that looks safe (skips it automatically in CI/SSH/headless), and waits for the OAuth flow to complete:

```bash
npm install -D @zapier/zapier-sdk-cli
npx zapier-sdk login
npx zapier-sdk create-connection tidb-cloud
```

### Capabilities

#### Events (4)

Events fire when something happens in TiDB Cloud. Use them to start a run.

##### New Cluster
Triggers when a new cluster is created.

- Type: read · Key: `clusterList`
- Requires: projectId
- SDK: `runAction({ app: "tidb-cloud", actionType: "read", action: "clusterList" })`
- CLI: `npx zapier-sdk run-action tidb-cloud read clusterList`

##### New Row
Triggers when new rows are created. Only fetch the recently 10000 new rows.

- Type: read · Key: `row`
- Requires: projectId, clusterId, database, table
- Optional: order_by, dedupe_key
- SDK: `runAction({ app: "tidb-cloud", actionType: "read", action: "row" })`
- CLI: `npx zapier-sdk run-action tidb-cloud read row`

##### New Row (Custom Query)
Triggers when new rows are returned from a custom query that you provide.

- Type: read · Key: `row_query`
- Requires: projectId, clusterId, query
- SDK: `runAction({ app: "tidb-cloud", actionType: "read", action: "row_query" })`
- CLI: `npx zapier-sdk run-action tidb-cloud read row_query`

##### New Table
Triggers when a new table is created in a given database.

- Type: read · Key: `tableList`
- Requires: projectId, clusterId, database
- SDK: `runAction({ app: "tidb-cloud", actionType: "read", action: "tableList" })`
- CLI: `npx zapier-sdk run-action tidb-cloud read tableList`

#### Functions (5)

Functions change something in TiDB Cloud.

##### Create Cluster
Creates a new cluster. Only support create a free serverless tier now.

- Type: write · Key: `clusterCreate`
- Requires: projectId, clusterName, region, tidbPassword
- SDK: `runAction({ app: "tidb-cloud", actionType: "write", action: "clusterCreate" })`
- CLI: `npx zapier-sdk run-action tidb-cloud write clusterCreate`

##### Create Database
Creates a new database.

- Type: write · Key: `databaseCreate`
- Requires: projectId, clusterId, database
- SDK: `runAction({ app: "tidb-cloud", actionType: "write", action: "databaseCreate" })`
- CLI: `npx zapier-sdk run-action tidb-cloud write databaseCreate`

##### Create Row
Creates a new row.

- Type: write · Key: `row`
- Requires: projectId, clusterId, database, table
- SDK: `runAction({ app: "tidb-cloud", actionType: "write", action: "row" })`
- CLI: `npx zapier-sdk run-action tidb-cloud write row`

##### Update Row
Updates an existing row.

- Type: write · Key: `row_update`
- Requires: projectId, clusterId, database, table, id_column, id_column_value
- SDK: `runAction({ app: "tidb-cloud", actionType: "write", action: "row_update" })`
- CLI: `npx zapier-sdk run-action tidb-cloud write row_update`

##### Create Table
Creates a new table.

- Type: write · Key: `tableCreate`
- Requires: projectId, clusterId, database, tableDDL
- SDK: `runAction({ app: "tidb-cloud", actionType: "write", action: "tableCreate" })`
- CLI: `npx zapier-sdk run-action tidb-cloud write tableCreate`

#### Queries (5)

Queries read from TiDB Cloud and return data. They change nothing.

##### Find Cluster
Finds an existing Serverless tier or Dedicated tier.

- Type: search · Key: `clusterSearch`
- Requires: projectId, clusterType, clusterName
- SDK: `runAction({ app: "tidb-cloud", actionType: "search", action: "clusterSearch" })`
- CLI: `npx zapier-sdk run-action tidb-cloud search clusterSearch`

##### Find Database
Finds an existing Database.

- Type: search · Key: `databaseSearch`
- Requires: projectId, clusterId, database
- SDK: `runAction({ app: "tidb-cloud", actionType: "search", action: "databaseSearch" })`
- CLI: `npx zapier-sdk run-action tidb-cloud search databaseSearch`

##### Find Row
Finds a row in a table via a lookup column.

- Type: search · Key: `row`
- Requires: projectId, clusterId, database, table, lookup_column, lookup_value
- SDK: `runAction({ app: "tidb-cloud", actionType: "search", action: "row" })`
- CLI: `npx zapier-sdk run-action tidb-cloud search row`

##### Find Row (Custom Query)
Finds a Row in a table via a custom query in your control.

- Type: search · Key: `row_query`
- Requires: projectId, clusterId, query
- SDK: `runAction({ app: "tidb-cloud", actionType: "search", action: "row_query" })`
- CLI: `npx zapier-sdk run-action tidb-cloud search row_query`

##### Find Table
Finds an existing table.

- Type: search · Key: `tableSearch`
- Requires: projectId, clusterId, database, table
- SDK: `runAction({ app: "tidb-cloud", actionType: "search", action: "tableSearch" })`
- CLI: `npx zapier-sdk run-action tidb-cloud search tableSearch`

#### Search or Write Actions (3)

These operations search for a match first, and create one only if nothing is found.

##### Find or Create Cluster
Finds an existing Serverless tier or Dedicated tier.

- Type: search_or_write · Key: `clusterSearch`
- Requires: projectId, clusterType, clusterName, region, tidbPassword
- SDK: `runAction({ app: "tidb-cloud", actionType: "search_or_write", action: "clusterSearch" })`
- CLI: `npx zapier-sdk run-action tidb-cloud search_or_write clusterSearch`

##### Find or Create Database
Finds an existing Database.

- Type: search_or_write · Key: `databaseSearch`
- Requires: projectId, clusterId, database
- SDK: `runAction({ app: "tidb-cloud", actionType: "search_or_write", action: "databaseSearch" })`
- CLI: `npx zapier-sdk run-action tidb-cloud search_or_write databaseSearch`

##### Find or Create Table
Finds an existing table.

- Type: search_or_write · Key: `tableSearch`
- Requires: projectId, clusterId, database, table, tableDDL
- SDK: `runAction({ app: "tidb-cloud", actionType: "search_or_write", action: "tableSearch" })`
- CLI: `npx zapier-sdk run-action tidb-cloud search_or_write tableSearch`

## Vercel

### Identity
Vercel is a platform for building, deploying, and scaling fast, modern web applications effortlessly.

- App slug: vercel
- Operations published here: 5 (2 events, 2 functions, 1 query)

### Authentication
Zapier connects to Vercel via other. Your code references a connection, not a raw credential.

- Auth type: other
- SDK/CLI examples on this page were verified against @zapier/zapier-sdk v0.112.6 and @zapier/zapier-sdk-cli v0.84.6; behavior may differ on other versions.
- Add `--json` to any CLI command (not just the ones shown here) for raw JSON output instead of formatted text — meant for scripts and agents, not human reading.
- Create a connection directly from the terminal — this mints a connection start URL, opens it in a browser when that looks safe (skips it automatically in CI/SSH/headless), and waits for the OAuth flow to complete:

```bash
npm install -D @zapier/zapier-sdk-cli
npx zapier-sdk login
npx zapier-sdk create-connection vercel
```

### Capabilities

#### Events (2)

Events fire when something happens in Vercel. Use them to start a run.

##### New Deployment
Triggers when a new deployment is created in Vercel.

- Type: read · Key: `new_deployment`
- Requires: nothing
- Optional: projectId, state, target, limit
- SDK: `runAction({ app: "vercel", actionType: "read", action: "new_deployment" })`
- CLI: `npx zapier-sdk run-action vercel read new_deployment`

##### New Project
Triggers when a new project is created in Vercel.

- Type: read · Key: `new_project`
- Requires: nothing
- Optional: limit
- SDK: `runAction({ app: "vercel", actionType: "read", action: "new_project" })`
- CLI: `npx zapier-sdk run-action vercel read new_project`

#### Functions (2)

Functions change something in Vercel.

##### Create Deployment
Creates a new deployment in Vercel from a Git source.

- Type: write · Key: `create_deployment`
- Requires: nothing
- Optional: projectId, name, target, gitProvider, gitOrg, gitRepo, gitRef, gitSha
- SDK: `runAction({ app: "vercel", actionType: "write", action: "create_deployment" })`
- CLI: `npx zapier-sdk run-action vercel write create_deployment`

##### Create Project
Creates a new project in Vercel.

- Type: write · Key: `create_project`
- Requires: name
- Optional: framework, gitProvider, gitRepo, buildCommand, installCommand, outputDirectory, rootDirectory, publicSource
- SDK: `runAction({ app: "vercel", actionType: "write", action: "create_project" })`
- CLI: `npx zapier-sdk run-action vercel write create_project`

#### Queries (1)

Queries read from Vercel and return data. They change nothing.

##### Find Project
Searches for a project by name.

- Type: search · Key: `find_project`
- Requires: search
- SDK: `runAction({ app: "vercel", actionType: "search", action: "find_project" })`
- CLI: `npx zapier-sdk run-action vercel search find_project`

## Links
- TiDB Cloud integrations: zapier.com/apps/tidb-cloud/integrations.md
- Vercel integrations: zapier.com/apps/vercel/integrations.md
- Full page: zapier.com/apps/tidb-cloud/integrations/vercel
- SDK: npmjs.com/package/@zapier/zapier-sdk