KosmoKrator

productivity

Zapier MCP Integration for Vercel AI SDK

Connect Zapier to Vercel AI SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.

7 functions 7 read 0 write Bearer token auth

Connect Zapier to Vercel AI SDK

Use KosmoKrator as a local integration gateway for Vercel AI SDK agents and scripts.

Create an MCP client that starts or connects to the KosmoKrator gateway for the selected integration. The gateway is local, scoped to this integration, and starts with --write=deny so Vercel AI SDK can inspect read-capable tools without receiving write access by default.

Zapier MCP Config for Vercel AI SDK

Prefer CLI JSON calls when a workflow only needs one deterministic integration operation.

{
  "mcpServers": {
    "kosmokrator-zapier": {
      "type": "stdio",
      "command": "kosmo",
      "args": [
        "mcp:serve",
        "--integration=zapier",
        "--write=deny"
      ]
    }
  }
}

Run the Gateway Manually

kosmokrator mcp:serve --integration=zapier --write=deny

Why Use KosmoKrator Here

Scoped tools

Expose only Zapier instead of a broad multi-service tool list.

Local credentials

Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.

Write policy

Start read-only, then opt into ask or allow for trusted workspaces.

Zapier Tools Visible to Vercel AI SDK

Vercel AI SDK sees stable MCP tool names generated from the Zapier integration catalog.

MCP toolSource functionTypeDescription
integration__zapier__zapier_list_zaps zapier.zapier_list_zaps Read List zaps in Zapier with optional filters.
integration__zapier__zapier_get_zap zapier.zapier_get_zap Read Get detailed information about a Zapier zap.
integration__zapier__zapier_list_executions zapier.zapier_list_executions Read List zap executions in Zapier with optional filters.
integration__zapier__zapier_get_execution zapier.zapier_get_execution Read Get detailed information about a Zapier execution.
integration__zapier__zapier_list_connections zapier.zapier_list_connections Read List connections in Zapier with optional filters.
integration__zapier__zapier_get_connection zapier.zapier_get_connection Read Get detailed information about a Zapier connection.
integration__zapier__zapier_get_current_user zapier.zapier_get_current_user Read Get the currently authenticated Zapier user.

Related Zapier Pages