Rasayel MCP by usefulapi
Read conversations, contacts and teammates; send text messages in Rasayel.
使うべきか
品質と安全性
ツール定義とプロトコルへの準拠に関する自動分析に基づいています。
コンテキストコスト
これは、サーバーのツールがモデルのコンテキストに読み込まれるたびに消費されるおおよそのトークン数です。数が多いほど、ほかのタスクに使える注意が減ります。
インストール
ワンクリックインストール
これを `claude_desktop_config.json` ファイルに追加してください:
{
"mcpServers": {
"rasayel": {
"url": "https://rasayel.usefulapi.io/mcp"
}
}
}リモートエンドポイント
https://rasayel.usefulapi.io/mcpstreamable-httpできること
ツール一覧
ツール(6)
🟢rasayel_get_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.
入力スキーマ
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢rasayel_list_conversations(first, after)
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.
入力スキーマ
{
"type": "object",
"properties": {
"first": {
"description": "Page size (number of items to return).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"after": {
"description": "Cursor: pass pageInfo.endCursor from the previous page to get the next page.",
"type": "string"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢rasayel_get_conversation(id)
Return one conversation by id: state, channel type, the contact, the assignee and the last message summary. GraphQL: app.conversation(id).
入力スキーマ
{
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^\\d+$",
"description": "Numeric Rasayel id, as a string."
}
},
"required": [
"id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢rasayel_list_contacts(first, after)
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.
入力スキーマ
{
"type": "object",
"properties": {
"first": {
"description": "Page size (number of items to return).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"after": {
"description": "Cursor: pass pageInfo.endCursor from the previous page to get the next page.",
"type": "string"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢rasayel_list_teammates(first, after)
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.
入力スキーマ
{
"type": "object",
"properties": {
"first": {
"description": "Page size (number of items to return).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"after": {
"description": "Cursor: pass pageInfo.endCursor from the previous page to get the next page.",
"type": "string"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴rasayel_send_text_message(conversationId, body, appUserId)
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.
入力スキーマ
{
"type": "object",
"properties": {
"conversationId": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "Conversation id (from rasayel_list_conversations)."
},
"body": {
"type": "string",
"minLength": 1,
"maxLength": 4096,
"description": "Message text, in Markdown."
},
"appUserId": {
"description": "Teammate (app user) id to act as, sent as X-On-Behalf-Of. Get ids from rasayel_list_teammates.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"conversationId",
"body"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}コミュニティ
エビデンス