Rasayel MCP by usefulapi
v1.2.1Read conversations, contacts and teammates; send text messages in Rasayel.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
rasayel_get_app Get Rasayel app
Return the Rasayel app that the API key belongs to (id, name, company domain). Use it to confirm which workspace is connected. GraphQL: app.
rasayel_list_conversations List conversations
List conversations of the app with state, channel type, the contact and the assignee. Use pageInfo.endCursor as 'after' for the next page. GraphQL: app.conversations.
| Parameter | Type | Description |
|---|---|---|
after | string | Cursor: pass pageInfo.endCursor from the previous page to get the next page. |
first | integer | Page size (number of items to return). |
rasayel_get_conversation Get conversation
Return one conversation by id: state, channel type, the contact, the assignee and the last message summary. GraphQL: app.conversation(id).
| Parameter | Type | Description |
|---|---|---|
id * | string | Numeric Rasayel id, as a string. |
rasayel_list_contacts List contacts
List channel users (customer contacts) of the app with name, username, blocked flag and creation time. Use pageInfo.endCursor as 'after' for the next page. GraphQL: app.channelUsers.
| Parameter | Type | Description |
|---|---|---|
after | string | Cursor: pass pageInfo.endCursor from the previous page to get the next page. |
first | integer | Page size (number of items to return). |
rasayel_list_teammates List teammates
List the app users (teammates) with id, name, email, status and presence. Their ids are the appUserId for rasayel_send_text_message. GraphQL: app.appUsers.
| Parameter | Type | Description |
|---|---|---|
after | string | Cursor: pass pageInfo.endCursor from the previous page to get the next page. |
first | integer | Page size (number of items to return). |
rasayel_send_text_message Send text message
Send a text message to the customer of a conversation. The customer receives it when Rasayel accepts it. Body is Markdown. Use rasayel_get_conversation first to confirm the conversation. GraphQL: mutation textMessageCreate.
| Parameter | Type | Description |
|---|---|---|
body * | string | Message text, in Markdown. |
conversationId * | integer | Conversation id (from rasayel_list_conversations). |
appUserId | integer | Teammate (app user) id to act as, sent as X-On-Behalf-Of. Get ids from rasayel_list_teammates. |