Likerainday MCP

by LikeRainDay

308 downloads
Not rated
GitHub

About

The mcp service collection, including aliyun cli and aliyun log, mysql, redis, and the se service of the common tool collection

Details

Author
LikeRainDay
Downloads
308
Categories
Developer Tools

- Manages MCP configuration via Nacos or local config file.
- Provides time utility functions for formatting and conversion.
- Integrates with Aliyun Log Service for log query and management.
- Integrates with general Aliyun CLI for multiple API calls.
- Supports offline mode toggle via build argument.

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Likerainday MCP
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Build the Docker image using the provided docker build command with required build arguments (Aliyun credentials, Nacos settings, etc.). Run the container with docker run or start directly with cargo run. Connect MCP clients such as Cursor by configuring an SSE endpoint at http://localhost:3001/sse.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "likerainday mcp": {
            "mcp-likerainday": {
                "command": "docker",
                "args": [
                    "build",
                    "\\"
                ]
            }
        }
    }
}

McpServers

{
    "mcp-likerainday": {
        "command": "docker",
        "args": [
            "build",
            "\\"
        ]
    }
}

MCP

中文说明

Build

docker build \
  --build-arg ALIYUN_REGION_ID=cn-beijing \
  --build-arg ALIYUN_ACCESS_KEY_ID= \
  --build-arg ALIYUN_ACCESS_KEY_SECRET= \
  --build-arg NACOS_SERVER_ADDR=localhost:8848 \
  --build-arg NACOS_NAMESPACE= \
  --build-arg NACOS_DATA_ID=mcp_rust.yml \
  --build-arg NACOS_GROUP=DEFAULT_GROUP \
  --build-arg OFFLINE_MODE=false \
  --build-arg CONFIG_FILE=config.yml \
  -t mcp-server:latest .

Usage

- Start MCP server

cargo run

- Start MCP client
npx @modelcontextprotocol/inspector sse http://127.0.0.1:3001/sse

- Run in Docker in Docker

docker run -d -it -p 3001:3001  --name=test-mcp  mcp_service:latest

- Cursor MCP Configuration

Curosr MCP.

{
    "mcpServers": {
        "mcp-server": {
            "url": "http://localhost:3001/sse"
        }
    }
}


---

MCP Module Descriptions

This directory contains the core functional modules related to MCP (Management Control Platform), as follows:

1. mcp_config.rs

- Function: Responsible for managing MCP-related configuration information.
-
Description: Defines and loads the configuration information required by MCP, allowing flexible adjustment of system parameters.

2. mcp_time.rs

- Function: Utility functions related to time.
-
Description: Provides practical methods for time formatting, timestamp conversion, and other time-related processing.

3. mcp_aliyun_log_cli.rs

- Function: Aliyun Log CLI tool integration.
-
Description: Encapsulates command-line operations for interacting with Aliyun Log Service, facilitating log query and management.

4. mcp_aliyun_cli.rs

- Function: Aliyun CLI tool integration.
-
Description: Encapsulates command-line operations for interacting with various Aliyun services, supporting multiple Aliyun API calls.

5. mod.rs

- Function: Module aggregation entry point.
-
Description**: Uniformly exposes the functional modules in this directory for external calls.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.