KosmoKrator

productivity

Airtable MCP Integration for Vercel AI SDK

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

7 functions 6 read 1 write Manual OAuth token auth

Connect Airtable 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.

Airtable MCP Config for Vercel AI SDK

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

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

Run the Gateway Manually

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

Why Use KosmoKrator Here

Scoped tools

Expose only Airtable 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.

Airtable Tools Visible to Vercel AI SDK

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

MCP toolSource functionTypeDescription
integration__airtable__airtable_list_bases airtable.airtable_list_bases Read List all Airtable bases the token has access to.
integration__airtable__airtable_get_base airtable.airtable_get_base Read Get details for a single Airtable base by ID.
integration__airtable__airtable_list_records airtable.airtable_list_records Read List records from an Airtable table with optional filtering, sorting, and pagination.
integration__airtable__airtable_get_record airtable.airtable_get_record Read Get a single Airtable record by ID.
integration__airtable__airtable_create_record airtable.airtable_create_record Write Create a new record in an Airtable table.
integration__airtable__airtable_list_views airtable.airtable_list_views Read List views for an Airtable base.
integration__airtable__airtable_get_current_user airtable.airtable_get_current_user Read Get the profile of the currently authenticated Airtable user. Useful for verifying credentials and displaying account information.

Related Airtable Pages