messaging
Crisp MCP Integration for LangChain
Connect Crisp to LangChain through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Crisp 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.
Crisp MCP Config for LangChain
Keep the gateway scoped to the integration and operation class needed by the chain.
{
"mcpServers": {
"kosmokrator-crisp": {
"type": "stdio",
"command": "kosmo",
"args": [
"mcp:serve",
"--integration=crisp",
"--write=deny"
]
}
}
} Run the Gateway Manually
kosmokrator mcp:serve --integration=crisp --write=deny Why Use KosmoKrator Here
Expose only Crisp instead of a broad multi-service tool list.
Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.
Start read-only, then opt into ask or allow for trusted workspaces.
Crisp Tools Visible to LangChain
LangChain sees stable MCP tool names generated from the Crisp integration catalog.
| MCP tool | Source function | Type | Description |
|---|---|---|---|
integration__crisp__crisp_list_conversations | crisp.crisp_list_conversations | Read | List chat conversations from Crisp. Returns conversation sessions with status, participant info, and last message preview. Supports pagination. |
integration__crisp__crisp_get_conversation | crisp.crisp_get_conversation | Read | Get details and messages of a specific Crisp conversation. Returns the full message thread including sender info, timestamps, and message content. |
integration__crisp__crisp_send_message | crisp.crisp_send_message | Write | Send a message in a Crisp conversation. Posts as an operator by default. Use the "type" parameter to send text, notes, or file messages. |
integration__crisp__crisp_list_contacts | crisp.crisp_list_contacts | Read | List contacts from Crisp. Returns contact profiles with email, name, and custom data. Supports pagination. |
integration__crisp__crisp_get_contact | crisp.crisp_get_contact | Read | Get details of a specific Crisp contact. Returns profile info, custom data, segments, and more. |
integration__crisp__crisp_list_campaigns | crisp.crisp_list_campaigns | Read | List marketing campaigns from Crisp. Returns campaigns with status, template details, and delivery statistics. Supports pagination. |
integration__crisp__crisp_get_current_user | crisp.crisp_get_current_user | Read | Get the currently authenticated Crisp user profile. Useful for verifying credentials and identifying the connected operator. |