Crisp MCP by usefulapi
Read conversations and messages; send replies and notes, and set states in Crisp.
Sollte ich dies verwenden
Qualität und Sicherheit
Basierend auf einer automatisierten Analyse der Tool-Definitionen und der Einhaltung des Protokolls.
Kontextkosten
Dies ist die ungefähre Anzahl der Tokens, die jedes Mal verbraucht werden, wenn die Tools des Servers in den Kontext eines Modells geladen werden. Höhere Werte verringern die Aufmerksamkeit, die für andere Aufgaben verfügbar ist.
Installieren
Installation mit einem Klick
Fügen Sie dies Ihrer Datei `claude_desktop_config.json` hinzu:
{
"mcpServers": {
"crisp-chat": {
"url": "https://crisp-chat.usefulapi.io/mcp"
}
}
}Remote-Endpunkte
https://crisp-chat.usefulapi.io/mcpstreamable-httpWas es kann
Tool-Inventar
Tools (8)
🟢crisp_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}.
Eingabe-Schema
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢crisp_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.
Eingabe-Schema
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢crisp_list_conversations(page, per_page, search_query, filter_unread, filter_resolved, ...)
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}.
Eingabe-Schema
{
"type": "object",
"properties": {
"page": {
"description": "Page number (default 1).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"per_page": {
"description": "Results per page, 20 to 50 (default 20).",
"type": "integer",
"minimum": 20,
"maximum": 50
},
"search_query": {
"description": "Free text to search in conversations (visitor name, email, message text).",
"type": "string"
},
"filter_unread": {
"description": "Only conversations with unread messages.",
"type": "boolean"
},
"filter_resolved": {
"description": "Only resolved conversations.",
"type": "boolean"
},
"filter_not_resolved": {
"description": "Only conversations that are not resolved.",
"type": "boolean"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢crisp_get_conversation(session_id)
Get one conversation: its state (pending, unresolved or resolved), inbox, people id and timestamps. Crisp API: GET /v1/website/{website_id}/conversation/{session_id}.
Eingabe-Schema
{
"type": "object",
"properties": {
"session_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]+$",
"description": "The conversation session id, for example session_… (from crisp_list_conversations)."
}
},
"required": [
"session_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢crisp_get_conversation_meta(session_id)
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.
Eingabe-Schema
{
"type": "object",
"properties": {
"session_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]+$",
"description": "The conversation session id, for example session_… (from crisp_list_conversations)."
}
},
"required": [
"session_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢crisp_list_messages(session_id, timestamp_before, timestamp_after, timestamp_around)
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.
Eingabe-Schema
{
"type": "object",
"properties": {
"session_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]+$",
"description": "The conversation session id, for example session_… (from crisp_list_conversations)."
},
"timestamp_before": {
"description": "Return messages older than this Unix time in milliseconds.",
"type": "string"
},
"timestamp_after": {
"description": "Return messages newer than this Unix time in milliseconds.",
"type": "string"
},
"timestamp_around": {
"description": "Return messages around this Unix time in milliseconds.",
"type": "string"
}
},
"required": [
"session_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴crisp_send_message(session_id, content, type)
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.
Eingabe-Schema
{
"type": "object",
"properties": {
"session_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]+$",
"description": "The conversation session id, for example session_… (from crisp_list_conversations)."
},
"content": {
"type": "string",
"minLength": 1,
"maxLength": 10000,
"description": "The message text."
},
"type": {
"description": "text (default) reaches the visitor; note stays internal.",
"type": "string",
"enum": [
"text",
"note"
]
}
},
"required": [
"session_id",
"content"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟡crisp_set_conversation_state(session_id, 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.
Eingabe-Schema
{
"type": "object",
"properties": {
"session_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]+$",
"description": "The conversation session id, for example session_… (from crisp_list_conversations)."
},
"state": {
"type": "string",
"enum": [
"pending",
"unresolved",
"resolved"
],
"description": "The new conversation state."
}
},
"required": [
"session_id",
"state"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}Community
Nachweis