KosmoKrator

productivity

Zapier MCP Integration for LangChain

Connect Zapier to LangChain 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 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.

Zapier MCP Config for LangChain

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

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

LangChain 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