Rongcloud Server Mcp Python

Created By
rongclouda year ago
rongcloud-server-mcp-python is an MCP server built on the FastMCP framework, integrating RongCloud instant messaging services. It supports user management, message sending, group operations, and more.
Overview

📌 Project Overview

rongcloud-server-mcp-python is an MCP server built on the FastMCP framework, integrating RongCloud instant messaging services. It supports user management, message sending, group operations, and more.


✨ Tools

ToolDescription
register_userRegister a new user via RongCloud and return the user's token
get_user_infoRetrieve user information using RongCloud
send_private_text_messageSends private messages and returns generated message IDs mapped to each recipient user ID
send_group_text_messageSends group messages and returns generated message IDs mapped to each target group ID
get_private_messagesRetrieves historical private messages between two users within a specified time range
create_groupCreates a new group chat in RongCloud with specified members
dismiss_groupPermanently deletes a group chat from RongCloud
get_group_membersRetrieves the complete member list of an existing group chat in RongCloud
join_groupAdds one or more users to a specified group chat via RongCloud
quit_groupRemoves one or more users from a RongCloud group chat
get_current_time_millisGet the current time in milliseconds since Unix epoch (January 1, 1970 UTC).

⚙️ Configuration

🔧 Environment Variables

Variable NameRequiredDefaultDescription
RONGCLOUD_APP_KEY✅ Yes-RongCloud Application App Key
RONGCLOUD_APP_SECRET✅ Yes-RongCloud Application App Secret
RONGCLOUD_API_BASE❌ Nohttps://api-cn.ronghub.comRongCloud API base URL
RONGCLOUD_API_TIMEOUT❌ No10API request timeout (seconds)
FASTMCP_LOG_LEVEL❌ NoWARNINGLog level (e.g., DEBUG, INFO)

🧪 Example Configuration

RONGCLOUD_APP_KEY=your_app_key
RONGCLOUD_APP_SECRET=your_app_secret
RONGCLOUD_API_BASE=https://api-cn.ronghub.com
RONGCLOUD_API_TIMEOUT=10
FASTMCP_LOG_LEVEL=WARNING

💻 Claude Desktop Configuration

  • Config file paths:

    • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
    • Windows: %APPDATA%/Claude/claude_desktop_config.json
  • Example configuration:

{
  "mcpServers": {
    "rongcloud-server-mcp": {
      "command": "uvx",
      "args": [
        "rongcloud-server-mcp-python"
      ],
      "env": {
        "RONGCLOUD_APP_KEY": "your_app_key",
        "RONGCLOUD_APP_SECRET": "your_app_secret",
        "RONGCLOUD_API_BASE": "https://api-cn.ronghub.com",
        "RONGCLOUD_API_TIMEOUT": "10"
      }
    }
  }
}

Server Config

{
  "mcpServers": {
    "rcloud-server-mcp-python": {
      "command": "uvx",
      "args": [
        "rongcloud-server-mcp-python"
      ],
      "env": {
        "RONGCLOUD_APP_KEY": "XXX",
        "RONGCLOUD_APP_SECRET": "XXX",
        "RONGCLOUD_API_BASE": "https://api.rong-api.com"
      }
    }
  }
}
Project Info
Created At
a year ago
Updated At
a year ago
Author Name
rongcloud
Star
-
Language
-
License
-
Category

Recommend Servers

View All
Crevio

2 days ago