KosmoKrator

messaging

Crisp MCP Integration for Claude Agent SDK

Connect Crisp to Claude Agent SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.

7 functions 6 read 1 write API key auth

Connect Crisp to Claude Agent SDK

Give Claude Agent SDK workflows access to KosmoKrator integrations through a local MCP server.

Add a KosmoKrator stdio MCP server to the Claude Agent SDK options. The gateway is local, scoped to this integration, and starts with --write=deny so Claude Agent SDK can inspect read-capable tools without receiving write access by default.

Crisp MCP Config for Claude Agent SDK

Use a narrow integration list so the agent does not load unrelated tools.

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

Scoped tools

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

Crisp Tools Visible to Claude Agent SDK

Claude Agent SDK sees stable MCP tool names generated from the Crisp integration catalog.

MCP toolSource functionTypeDescription
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.

Related Crisp Pages