KosmoKrator

productivity

Airtable MCP Integration for LangChain

Connect Airtable to LangChain 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 LangChain

Bridge LangChain agents to local KosmoKrator integration tools through MCP or headless CLI calls.

Use the MCP gateway when the agent should discover tools, or wrap kosmo integrations:call for fixed chains. The gateway is local, scoped to this integration, and starts with --write=deny so LangChain can inspect read-capable tools without receiving write access by default.

Airtable MCP Config for LangChain

Keep the gateway scoped to the integration and operation class needed by the chain.

{
  "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 LangChain

LangChain 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