- Rongcloud Server Mcp Python
Rongcloud Server Mcp Python
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.
Content
Rcloud MCP Server
📌 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
| Tool | Description |
|---|---|
register_user | Register a new user via RongCloud and return the user's token |
get_user_info | Retrieve user information using RongCloud |
send_private_text_message | Sends private messages and returns generated message IDs mapped to each recipient user ID |
send_group_text_message | Sends group messages and returns generated message IDs mapped to each target group ID |
get_private_messages | Retrieves historical private messages between two users within a specified time range |
create_group | Creates a new group chat in RongCloud with specified members |
dismiss_group | Permanently deletes a group chat from RongCloud |
get_group_members | Retrieves the complete member list of an existing group chat in RongCloud |
join_group | Adds one or more users to a specified group chat via RongCloud |
quit_group | Removes one or more users from a RongCloud group chat |
get_current_time_millis | Get the current time in milliseconds since Unix epoch (January 1, 1970 UTC). |
⚙️ Configuration
🔧 Environment Variables
| Variable Name | Required | Default | Description |
|---|---|---|---|
RONGCLOUD_APP_KEY | ✅ Yes | - | RongCloud Application App Key |
RONGCLOUD_APP_SECRET | ✅ Yes | - | RongCloud Application App Secret |
RONGCLOUD_API_BASE | ❌ No | https://api-cn.ronghub.com | RongCloud API base URL |
RONGCLOUD_API_TIMEOUT | ❌ No | 10 | API request timeout (seconds) |
FASTMCP_LOG_LEVEL | ❌ No | WARNING | Log 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
- macOS:
-
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"
}
}
}
}
🧑💻 Development Guide
🚀 Quick Start
-
Clone the repository and enter the project directory:
git clone https://github.com/your-username/rcloud-server-mcp-python.git cd rcloud-server-mcp-python -
Copy example environment file and edit variables:
cp .env.example .envEdit
.envfile to set:RONGCLOUD_APP_KEY=your_app_key RONGCLOUD_APP_SECRET=your_app_secret RONGCLOUD_API_BASE=https://api-cn.ronghub.com FASTMCP_LOG_LEVEL=INFO -
Create virtual environment, install dependencies, and start development server:
make venv make sync make install make dev
💡 Run
make helpto see all available commands.
✅ Running Tests
make test # Run all tests
make lint # Check code style and quality
make fix # Auto-fix formatting issues
🤝 Contribution Guide
Contributions are welcome! Please follow these steps:
- Fork the repository
- Create a feature branch:
git checkout -b feature/YourFeature - Commit your changes:
git commit -m 'Add YourFeature' - Push the branch:
git push origin feature/YourFeature - Open a Pull Request
Please ensure the following before submitting:
- No errors with
make lint- All tests pass with
make test- Code is properly formatted with
make format
📄 License
This project is licensed under the MIT License.
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"
}
}
}
}Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题;
Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
WindsurfThe new purpose-built IDE to harness magic
ChatWiseThe second fastest AI chatbot™
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Context7Context7 MCP Server -- Up-to-date code documentation for LLMs and AI code editors
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
Playwright McpPlaywright MCP server
DeepChatYour AI Partner on Desktop
Serper MCP ServerA Serper MCP Server
TimeA Model Context Protocol server that provides time and timezone conversion capabilities. This server enables LLMs to get current time information and perform timezone conversions using IANA timezone names, with automatic system timezone detection.
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
Amap Maps高德地图官方 MCP Server
CursorThe AI Code Editor
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
Tavily Mcp