Crisp MCP by usefulapi

v1.2.1
io.usefulapi/crisp-chat Checked 4 days ago Published 1 day ago

Read conversations and messages; send replies and notes, and set states in Crisp.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

crisp_get_website Get website

Get the Crisp website (workspace) this token is scoped to: its name, domain and settings. Good first call to confirm the connection. Crisp API: GET /v1/website/{website_id}.

crisp_list_operators List operators

List the operator members of the Crisp website (name, email, type). Use the user_id values to see who may answer. Crisp API: GET /v1/website/{website_id}/operators/list.

crisp_list_conversations List conversations

List conversations of the website, newest activity first. Filter by unread, resolved or unresolved, or search text. Crisp API: GET /v1/website/{website_id}/conversations/{page}.

ParameterTypeDescription
filter_not_resolvedbooleanOnly conversations that are not resolved.
filter_resolvedbooleanOnly resolved conversations.
filter_unreadbooleanOnly conversations with unread messages.
pageintegerPage number (default 1).
per_pageintegerResults per page, 20 to 50 (default 20).
search_querystringFree text to search in conversations (visitor name, email, message text).

crisp_get_conversation Get conversation

Get one conversation: its state (pending, unresolved or resolved), inbox, people id and timestamps. Crisp API: GET /v1/website/{website_id}/conversation/{session_id}.

ParameterTypeDescription
session_id *stringThe conversation session id, for example session_… (from crisp_list_conversations).

crisp_get_conversation_meta Get conversation contact details

Get the visitor details of a conversation: nickname, email, phone, address, subject, origin and connection info. Crisp API: GET /v1/website/{website_id}/conversation/{session_id}/meta.

ParameterTypeDescription
session_id *stringThe conversation session id, for example session_… (from crisp_list_conversations).

crisp_list_messages List messages

List the latest messages of a conversation. Page to older messages with timestamp_before, to newer ones with timestamp_after, or around a time with timestamp_around (Unix time in milliseconds). Crisp API: GET /v1/website/{website_id}/conversation/{session_id}/messages.

ParameterTypeDescription
session_id *stringThe conversation session id, for example session_… (from crisp_list_conversations).
timestamp_afterstringReturn messages newer than this Unix time in milliseconds.
timestamp_aroundstringReturn messages around this Unix time in milliseconds.
timestamp_beforestringReturn messages older than this Unix time in milliseconds.

crisp_send_message Send operator message

Send a message from an operator to the visitor of a conversation (type text), or add an internal note that the visitor does not see (type note). The visitor receives the text. Crisp API: POST /v1/website/{website_id}/conversation/{session_id}/message.

ParameterTypeDescription
content *stringThe message text.
session_id *stringThe conversation session id, for example session_… (from crisp_list_conversations).
typestringtext (default) reaches the visitor; note stays internal.

crisp_set_conversation_state Set conversation state

Set a conversation to pending, unresolved or resolved. Setting the same state twice has no further effect. Crisp API: PATCH /v1/website/{website_id}/conversation/{session_id}/state.

ParameterTypeDescription
session_id *stringThe conversation session id, for example session_… (from crisp_list_conversations).
state *stringThe new conversation state.