RongCloud MCP Server

RongCloud MCP Server

Enables AI assistants to manage RongCloud instant messaging services, including user registration, message sending, and group operations.

Category
Visit Server

README

Ronngcloud MCP Server

License Version Python


🌐 δΈ­ζ–‡η‰ˆ README


πŸ“Œ 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
  • 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

  1. 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
    
  2. Copy example environment file and edit variables:

    cp .env.example .env
    

    Edit .env file 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
    
  3. Create virtual environment, install dependencies, and start development server:

    make venv
    make sync
    make install
    make dev
    

πŸ’‘ Run make help to 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:

  1. Fork the repository
  2. Create a feature branch: git checkout -b feature/YourFeature
  3. Commit your changes: git commit -m 'Add YourFeature'
  4. Push the branch: git push origin feature/YourFeature
  5. 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.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured