Channel Talk MCP by usefulapi
Read customer chats and messages; send replies, assign and close chats in Channel Talk.
Sollte ich dies verwenden
Qualität und Sicherheit
Befunde (3)
- LOWin channeltalk_list_user_chat_messages
- LOWin channeltalk_get_message_file_url
- LOWin channeltalk_get_user_by_member_id
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": {
"channel-talk": {
"url": "https://channel-talk.usefulapi.io/mcp"
}
}
}Remote-Endpunkte
https://channel-talk.usefulapi.io/mcpstreamable-httpWas es kann
Tool-Inventar
Tools (16)
🟢channeltalk_get_channel
Get the Channel Talk channel this key belongs to (name, id, plan details). Good first call to check the connection. Channel Talk API: GET /open/channel.
Eingabe-Schema
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢channeltalk_list_user_chats(state, sortOrder, cursor, limit, from, ...)
List customer chats (user chats), optionally filtered by state (opened, closed, snoozed, queued, initial, missed) and by a time range. Channel Talk API: GET /open/user-chats.
Eingabe-Schema
{
"type": "object",
"properties": {
"state": {
"description": "Filter by chat state.",
"type": "string",
"enum": [
"opened",
"closed",
"snoozed",
"queued",
"initial",
"missed"
]
},
"sortOrder": {
"description": "Sort order for results.",
"type": "string",
"enum": [
"asc",
"desc"
]
},
"cursor": {
"description": "Cursor from the previous page (nextCursor), for paging.",
"type": "string"
},
"limit": {
"description": "Items to return (Channel Talk default applies).",
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"from": {
"description": "Start of the time range, Unix timestamp in milliseconds. Send with `to`.",
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"to": {
"description": "End of the time range (exclusive), Unix timestamp in milliseconds. Send with `from`.",
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"dateTimeFieldName": {
"description": "Field used for the time range. Defaults to deskUpdatedAt.",
"type": "string",
"enum": [
"deskUpdatedAt",
"managedAt"
]
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢channeltalk_get_user_chat(userChatId, expand)
Get one customer chat by id. Optionally include the read bookmark or the participant sessions. Channel Talk API: GET /open/user-chats/{userChatId}.
Eingabe-Schema
{
"type": "object",
"properties": {
"userChatId": {
"type": "string",
"minLength": 1,
"description": "User chat id (from channeltalk_list_user_chats)."
},
"expand": {
"description": "Extra data to include.",
"type": "array",
"items": {
"type": "string",
"enum": [
"bookmark",
"sessions"
]
}
}
},
"required": [
"userChatId"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢channeltalk_list_user_chat_messages(userChatId, sortOrder, cursor, limit, from, ...)
List the messages of one customer chat, with paging by cursor or by a time range. Channel Talk API: GET /open/user-chats/{userChatId}/messages.
Eingabe-Schema
{
"type": "object",
"properties": {
"userChatId": {
"type": "string",
"minLength": 1,
"description": "User chat id (from channeltalk_list_user_chats)."
},
"sortOrder": {
"description": "Sort order for results.",
"type": "string",
"enum": [
"asc",
"desc"
]
},
"cursor": {
"description": "Cursor from the previous page (nextCursor), for paging.",
"type": "string"
},
"limit": {
"description": "Items to return (Channel Talk default applies).",
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"from": {
"description": "Start of the time range, Unix timestamp in milliseconds. Send with `to`.",
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"to": {
"description": "End of the time range (exclusive), Unix timestamp in milliseconds. Send with `from`.",
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
}
},
"required": [
"userChatId"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢channeltalk_get_message_file_url(userChatId, key)
Get a download URL for a file attached to a message in a user chat. Pass the file key from the message. Channel Talk API: GET /open/user-chats/{userChatId}/messages/file.
Eingabe-Schema
{
"type": "object",
"properties": {
"userChatId": {
"type": "string",
"minLength": 1,
"description": "User chat id (from channeltalk_list_user_chats)."
},
"key": {
"type": "string",
"minLength": 1,
"description": "File key from the message's file entry."
}
},
"required": [
"userChatId",
"key"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢channeltalk_list_managers(cursor, limit)
List the managers (operators, agents) of the channel. Use the manager id to assign chats. Channel Talk API: GET /open/managers.
Eingabe-Schema
{
"type": "object",
"properties": {
"cursor": {
"description": "Cursor from the previous page (nextCursor), for paging.",
"type": "string"
},
"limit": {
"description": "Items to return (Channel Talk default applies).",
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢channeltalk_get_manager(managerId)
Get one manager by id. Channel Talk API: GET /open/managers/{managerId}.
Eingabe-Schema
{
"type": "object",
"properties": {
"managerId": {
"type": "string",
"minLength": 1,
"description": "Manager id (from channeltalk_list_managers)."
}
},
"required": [
"managerId"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢channeltalk_list_groups(cursor, limit)
List the groups (team inboxes) of the channel. Channel Talk API: GET /open/groups.
Eingabe-Schema
{
"type": "object",
"properties": {
"cursor": {
"description": "Cursor from the previous page (nextCursor), for paging.",
"type": "string"
},
"limit": {
"description": "Items to return (Channel Talk default applies).",
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢channeltalk_get_group(groupId)
Get one group by id. Channel Talk API: GET /open/groups/{groupId}.
Eingabe-Schema
{
"type": "object",
"properties": {
"groupId": {
"type": "string",
"minLength": 1,
"description": "Group id (from channeltalk_list_groups)."
}
},
"required": [
"groupId"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢channeltalk_get_user(userId)
Get one customer (user) by user id. Channel Talk API: GET /open/users/{userId}.
Eingabe-Schema
{
"type": "object",
"properties": {
"userId": {
"type": "string",
"minLength": 1,
"description": "User id (from a user chat)."
}
},
"required": [
"userId"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢channeltalk_get_user_by_member_id(memberId)
Get one customer by your own member id (the id you use in your system, set when the user was created). Channel Talk API: GET /open/users/@{memberId}.
Eingabe-Schema
{
"type": "object",
"properties": {
"memberId": {
"type": "string",
"minLength": 1,
"description": "Your member id for the customer."
}
},
"required": [
"memberId"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢channeltalk_list_chat_tags(cursor, limit)
List the chat tags defined for the channel. Channel Talk API: GET /open/chat-tags.
Eingabe-Schema
{
"type": "object",
"properties": {
"cursor": {
"description": "Cursor from the previous page (nextCursor), for paging.",
"type": "string"
},
"limit": {
"description": "Items to return (Channel Talk default applies).",
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴channeltalk_send_message(userChatId, botName, plainText)
Send a plain-text message to the customer in one chat. The customer sees it at once; this cannot be undone. Use only when the user asked for this reply. Channel Talk API: POST /open/user-chats/{userChatId}/messages.
Eingabe-Schema
{
"type": "object",
"properties": {
"userChatId": {
"type": "string",
"minLength": 1,
"description": "User chat id (from channeltalk_list_user_chats)."
},
"botName": {
"type": "string",
"minLength": 1,
"description": "Bot name shown as the sender of this action in Channel Talk."
},
"plainText": {
"type": "string",
"minLength": 1,
"description": "Message text to send."
}
},
"required": [
"userChatId",
"botName",
"plainText"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟡channeltalk_assign_user_chat(userChatId, managerId, botName)
Assign one customer chat to a manager. Repeating the same assignment has no further effect. Channel Talk API: PATCH /open/user-chats/{userChatId}/assign-to/managers/{managerId}.
Eingabe-Schema
{
"type": "object",
"properties": {
"userChatId": {
"type": "string",
"minLength": 1,
"description": "User chat id (from channeltalk_list_user_chats)."
},
"managerId": {
"type": "string",
"minLength": 1,
"description": "Manager id (from channeltalk_list_managers)."
},
"botName": {
"type": "string",
"minLength": 1,
"description": "Bot name shown as the sender of this action in Channel Talk."
}
},
"required": [
"userChatId",
"managerId",
"botName"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴channeltalk_unassign_user_chat(userChatId, botName)
Remove the manager from one customer chat. Repeating the call has no further effect. Channel Talk API: PATCH /open/user-chats/{userChatId}/unassign.
Eingabe-Schema
{
"type": "object",
"properties": {
"userChatId": {
"type": "string",
"minLength": 1,
"description": "User chat id (from channeltalk_list_user_chats)."
},
"botName": {
"type": "string",
"minLength": 1,
"description": "Bot name shown as the sender of this action in Channel Talk."
}
},
"required": [
"userChatId",
"botName"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟡channeltalk_close_user_chat(userChatId, botName)
Close one customer chat. Closing a chat that is already closed has no further effect. Channel Talk API: PATCH /open/user-chats/{userChatId}/close.
Eingabe-Schema
{
"type": "object",
"properties": {
"userChatId": {
"type": "string",
"minLength": 1,
"description": "User chat id (from channeltalk_list_user_chats)."
},
"botName": {
"type": "string",
"minLength": 1,
"description": "Bot name shown as the sender of this action in Channel Talk."
}
},
"required": [
"userChatId",
"botName"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}Community
Nachweis