KosmoKrator

marketing

VBout MCP Integration for LangChain

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

6 functions 5 read 1 write API key auth

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

VBout MCP Config for LangChain

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

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

Run the Gateway Manually

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

Why Use KosmoKrator Here

Scoped tools

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

VBout Tools Visible to LangChain

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

MCP toolSource functionTypeDescription
integration__vbout__vbout_list_contacts vbout.vbout_list_contacts Read List contacts from VBout. Returns paginated contact records including email, name, and list membership.
integration__vbout__vbout_get_contact vbout.vbout_get_contact Read Get details for a specific VBout contact by ID, including email, name, custom fields, and list memberships.
integration__vbout__vbout_create_contact vbout.vbout_create_contact Write Add a new contact to a VBout email list. Requires an email address and a list ID. Optionally pass additional fields like first name, last name, or custom fields.
integration__vbout__vbout_list_campaigns vbout.vbout_list_campaigns Read List email campaigns from VBout. Returns paginated campaign records including subject, status, and send statistics.
integration__vbout__vbout_get_campaign vbout.vbout_get_campaign Read Get details for a specific VBout email campaign by ID, including subject, content, status, and delivery statistics.
integration__vbout__vbout_get_current_user vbout.vbout_get_current_user Read Get the currently authenticated VBout user profile. Useful for verifying API credentials and retrieving account information.

Related VBout Pages