KosmoKrator

marketing

ManyChat MCP Integration for LangChain

Connect ManyChat to LangChain through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.

6 functions 4 read 2 write API key auth

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

ManyChat MCP Config for LangChain

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

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

Run the Gateway Manually

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

Why Use KosmoKrator Here

Scoped tools

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

ManyChat Tools Visible to LangChain

LangChain sees stable MCP tool names generated from the ManyChat integration catalog.

MCP toolSource functionTypeDescription
integration__manychat__manychat_list_flows manychat.manychat_list_flows Read List all flows (pages) in your ManyChat account. Returns flow IDs and names that can be used with get_flow.
integration__manychat__manychat_get_flow manychat.manychat_get_flow Read Get details of a specific ManyChat flow (page) by ID. Returns the full flow configuration including nodes and content.
integration__manychat__manychat_send_message manychat.manychat_send_message Write Send a message via ManyChat to a subscriber on Instagram, Messenger, WhatsApp, or SMS. Requires a subscriber ID and message content.
integration__manychat__manychat_list_tags manychat.manychat_list_tags Read List all tags in your ManyChat account. Tags are used to segment subscribers and trigger automations.
integration__manychat__manychat_create_tag manychat.manychat_create_tag Write Create a new tag in ManyChat. Tags help segment subscribers for targeted messaging and automation.
integration__manychat__manychat_get_current_user manychat.manychat_get_current_user Read Get the currently authenticated ManyChat user profile. Returns account details, plan info, and connected channels.

Related ManyChat Pages