mcpField
M
MCP

MCP

Local
github.com/LikeRainDayDeveloper Tools1Updated 73w ago

About MCP

An MCP server collection for Aliyun CLI and Log Service operations, alongside configuration and time utilities. It is intended for clients that need these functions through an SSE endpoint.

Key features

  1. 01Aliyun CLI operations
  2. 02Aliyun Log Service operations
  3. 03MCP configuration management
  4. 04Time formatting and conversion

Use cases

  1. 01Calling Aliyun services through CLI operations
  2. 02Querying and managing Aliyun logs
  3. 03Adjusting MCP configuration parameters
  4. 04Formatting times and converting timestamps

MCP support

Exposes its Aliyun CLI and Log Service integrations and utilities through an MCP server. Clients can connect to its SSE endpoint at port 3001.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"likerainday": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"build"
]
}
}
}
Run commanddocker run -i --rm build

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
ocibuild

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

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.

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.