RongCloud Native MCP server for IM messaging

RongCloud Native MCP server for IM messaging

rongcloud-native-mcp-python•byrongcloud

An MCP protocol server wrapping the RongCloud IM SDK to expose messaging tools for private and group chats, including text, image, history retrieval, and message recall.

License: Not specified•Runtime: Awaiting documentation review•Category: communication social

WHAT IT DOES

  • •Sends private text messages to a specified user with optional extended content.
  • •Sends group text messages to a specified group chat.
  • •Retrieves historical private and group messages with configurable ordering and count.
  • •Sends image messages and recalls messages.

BEST FOR

  • •Agents that need to send or receive RongCloud IM private and group messages on behalf of a user.
  • •Workflows that need to review chat history or recall previously sent messages.

ABOUT RONGCLOUD-NATIVE-MCP-PYTHON

RongCloud Native MCP server for IM messaging is cataloged as an MCP server attributed to rongcloud. An MCP protocol server wrapping the RongCloud IM SDK to expose messaging tools for private and group chats, including text, image, history retrieval, and message recall. It is categorized under communication social. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for RongCloud Native MCP server for IM messaging are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

How does the IM engine connect when tools are used?

The IM engine automatically initializes and connects on the first call to any message-related tool, and resources are cleaned up when the server disconnects.

上游原版 README

在 GitHub 查看同一版本原文

README.md · 0de869eebd73 · 采集于 2026-11-13 12:03:54 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

Rongcloud Native MCP

基于 MCP 协议的融云 IM 服务(包装 Rust SDK)

English Documentation

使用方法

前提--安装 UV 包管理工具

 pip install uv 

UV 是一个用 Rust 编写的 Python 包安装和依赖管理工具,比传统工具(如 pip)有着更快、更高效的体验。它主要关注两个核心目标:

速度: UV 在包安装、依赖解析和虚拟环境创建等方面进行了优化,速度有显著的提升。 效率: UV 可以减少资源消耗,尤其是在大型项目中。

后续我们会用到 UVX 命令,它的作用是"如果本地没有,先下载。再运行",而且每次都是在单独的虚拟环境中,很适合大模型/Agent相关场景

在 Cursor 中使用(Cline / Claude 类似)

配置路径:Cursor -> 首选项 -> Cursor Settings -> MCP -> Add new global MCP server 配置内容:

{
  "mcpServers": {
    "rongcloud-native-mcp-python": {
      "name": "rongcloud-native-mcp-python",
      "type": "stdio",
      "command": "uvx",
      "args": [
        "rongcloud-native-mcp-python"
      ],
      "env": {
          "APP_KEY": "融云 App Key",
          "TOKEN": "应用 SDK Token (从 Server API 获取)",
          "AREA_CODE": "数据中心区域码(北京 = 1,新加坡 = 2,北美 = 3,新加坡B = 4,沙特 = 5),非公有云客户不设置",
          "NAVI_URL": "导航地址(非公有云客户)",
          "STATS_URL": "数据统计地址(非公有云客户)"
      }
    }
  }
}

环境变量说明

  • APP_KEY: (必填)您的融云应用密钥
  • TOKEN: (必填)应用 SDK 令牌,从服务器 API 获取
  • AREA_CODE: (可选)数据中心区域代码:
    • 1: 北京
    • 2: 新加坡
    • 3: 北美
    • 4: 新加坡 B
    • 5: 沙特
    • 注意:非公有云客户请勿设置
  • NAVI_URL: (可选)导航 URL,非公有云客户必填
  • STATS_URL: (可选)统计 URL,非公有云客户必填

在 Cherry studio 中使用

先安装 UV 和 Bun(都需要安装),安装后重启 Cherry Studio。然后按照下图配置: Cherry Studio 界面示例 Cherry Studio 界面示例

主要功能与工具(tools)说明(持续更新)

服务端通过 MCP 协议暴露以下工具:

1. send_private_text_message

  • 功能:发送 IM 消息给指定用户(私聊)
  • 参数:
    • user_id (str, 默认""):消息接收者的用户ID
    • content (str, 默认""):消息内容
    • ext_content (dict, 默认{}):扩展内容字典,用于附加消息数据
  • 返回:
    • 失败:包含 code 和 error 的字典
    • 成功:包含 code、message_id 和 message 的字典

2. send_group_text_message

  • 功能:发送 IM 消息给指定群组(群聊)
  • 参数:
    • group_id (str, 默认""):群组ID
    • content (str, 默认""):消息内容
    • ext_content (dict, 默认{}):扩展内容字典,用于附加消息数据
  • 返回:
    • 失败:包含 code 和 error 的字典
    • 成功:包含 code、message_id 和 message 的字典

3. get_private_messages

  • 功能:获取与指定用户的历史消息(私聊)
  • 参数:
    • user_id (str, 默认""):用户ID
    • order_asc (bool, 默认False):是否按升序排列,默认为降序
    • count (int, 默认10):获取的消息数量
  • 返回:
    • 失败:包含 code 和 error 的字典
    • 成功:包含 code 和消息数组的字典

4. get_group_messages

  • 功能:获取指定群组的历史消息(群聊)
  • 参数:
    • group_id (str, 默认""):群组ID
    • order_asc (bool, 默认False):是否按升序排列,默认为降序
    • count (int, 默认10):获取的消息数量
  • 返回:
    • 失败:包含 code 和 error 的字典
    • 成功:包含 code 和消息数组的字典

5. send_private_image_message

  • 功能:发送图片消息给指定用户(私聊)
  • 参数:
    • user_id (str, 默认""):消息接收者的用户ID
    • thumbnail_base64 (str, 默认""):缩略图的base64编码
    • image_uri (str, 默认""):图片URI地址
    • ext_content (dict, 默认{}):扩展内容字典,用于附加消息数据
  • 返回:
    • 失败:包含 code 和 error 的字典
    • 成功:包含 code、message_id 和 message 的字典

6. send_group_image_message

  • 功能:发送图片消息给指定群组(群聊)
  • 参数:
    • group_id (str, 默认""):群组ID
    • thumbnail_base64 (str, 默认""):图片缩略图的base64编码
    • image_uri (str, 默认""):图片URI地址
    • ext_content (dict, 默认{}):扩展内容字典,用于附加消息数据
  • 返回:
    • 失败:包含 code 和 error 的字典
    • 成功:包含 code、message_id 和 message 的字典

7. recall_message

  • 功能:撤回指定消息
  • 参数:
    • message_dict (dict):完整的消息对象,包含message_id、conversation_type、target_id等字段
  • 返回:
    • 失败:包含 code 和 error 的字典
    • 成功:包含 code 和 message 的字典

注意:

  • IM 引擎会在首次调用任何消息相关工具时自动初始化和连接
  • 服务器断开连接时会自动处理资源清理

常见问题

Q: 为什么配置了 Cursor 但是服务器列表中一直是黄色小圆点?

A: 服务器列表中显示黄色小圆点,尝试先安装 UV 命令,重启 Cursor 后重新开启服务开关。

Q: 为什么 Cherry Studio 一直报错?

A: 确保 UV 和 Bun 安装成功,重启 Cherry Studio 后重新开启服务开关。

Q: 为什么调用工具后返回错误?

A: 确保环境变量(APP_KEY、TOKEN、NAVI_URL)正确设置,重启服务后重新调用工具。

技术支持

如果遇到问题,请:

  1. 检查环境变量是否正确设置
  2. 查看日志输出,了解具体错误信息
  3. 在开源项目中提issue

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for RongCloud Native MCP server for IM messaging from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/rongcloud-native-mcp-python)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related communication social MCP Servers

Alternative and complementary servers in the same category

View all in communication social →

An AI receptionist platform with an MCP server for accessing business calls, contacts and appointments from AI assistants.

52
Communication

Pidgeon provides an MCP server and an email inbox API that gives AI agents their own addresses for sending, awaiting, and replying to email.

Repository stats unavailable
Communication