KosmoKrator

sales

Lasso CRM MCP Integration for LangChain

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

7 functions 6 read 1 write API token auth

Connect Lasso CRM 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.

Lasso CRM MCP Config for LangChain

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

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

Run the Gateway Manually

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

Why Use KosmoKrator Here

Scoped tools

Expose only Lasso CRM 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.

Lasso CRM Tools Visible to LangChain

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

MCP toolSource functionTypeDescription
integration__lasso__lasso_list_contacts lasso.lasso_list_contacts Read List contacts (registrants) in Lasso CRM. Optionally filter by project ID or other criteria. Supports pagination.
integration__lasso__lasso_get_contact lasso.lasso_get_contact Read Get full details for a single contact (registrant) in Lasso CRM, including emails, phone numbers, and associated information.
integration__lasso__lasso_create_contact lasso.lasso_create_contact Write Create a new contact (registrant) in Lasso CRM. Provide at least a first name or last name, and optionally email, phone, and other details.
integration__lasso__lasso_list_deals lasso.lasso_list_deals Read List deals (sales) in Lasso CRM. Optionally filter by project ID or status. Supports pagination.
integration__lasso__lasso_get_deal lasso.lasso_get_deal Read Get full details for a single deal (sale) in Lasso CRM, including pricing, unit details, and associated contacts.
integration__lasso__lasso_list_inventory lasso.lasso_list_inventory Read List available inventory (units/lots) in Lasso CRM. Optionally filter by project ID or status. Supports pagination.
integration__lasso__lasso_get_current_user lasso.lasso_get_current_user Read Get the profile of the currently authenticated Lasso CRM user — name, email, organization, and other account details.

Related Lasso CRM Pages