Rasayel MCP by usefulapi

v1.2.1
io.usefulapi/rasayel Checked 3 days ago Published 1 day ago

Read 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.

ParameterTypeDescription
afterstringCursor: pass pageInfo.endCursor from the previous page to get the next page.
firstintegerPage 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).

ParameterTypeDescription
id *stringNumeric 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.

ParameterTypeDescription
afterstringCursor: pass pageInfo.endCursor from the previous page to get the next page.
firstintegerPage 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.

ParameterTypeDescription
afterstringCursor: pass pageInfo.endCursor from the previous page to get the next page.
firstintegerPage 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.

ParameterTypeDescription
body *stringMessage text, in Markdown.
conversationId *integerConversation id (from rasayel_list_conversations).
appUserIdintegerTeammate (app user) id to act as, sent as X-On-Behalf-Of. Get ids from rasayel_list_teammates.