UCloud MCP Server
wangrzneu
README
_ _ _____ _ _
| | | / __ \ | | |
| | | | / \/ | ___ _ _ __| |
| | | | | | |/ _ \| | | |/ _` |
| |__| | \__/\ | (_) | |_| | (_| |
\____/ \____/_|\___/ \__,_|\__,_|
__ __ _____ _____ _____
| \/ |/ __ \ __ \ / ___|
| . . || / \/| |_/ / \ `--. ___ _ ____ _____ _ __
| |\/| || | | __/ `--. \/ _ \ '__\ \ / / _ \ '__|
| | | || \__/\| | /\__/ / __/ | \ V / __/ |
\_| |_/ \____/\_| \____/ \___|_| \_/ \___|_|
UCloud MCP Server
A cloud instance management server based on MCP-Go and UCloud SDK, supporting UCloud instance management through the MCP protocol.
Features
- Query instance information
- List all instances
- Get instance status
- Monitor instance performance metrics
- MCP protocol support
- Configuration file support
Requirements
- Go 1.23 or higher
- UCloud account and API credentials
Configuration
The service supports two configuration methods:
1. Configuration File (Recommended)
Create a config.json
file:
{
"region": "cn-bj2",
"project_id": "your-project-id",
"public_key": "your-public-key",
"private_key": "your-private-key"
}
2. Environment Variables
If not specified in the configuration file, the service will try to read from environment variables:
export UCLOUD_REGION="cn-bj2" # UCloud region
export UCLOUD_PROJECT_ID="your-project-id" # Project ID
export UCLOUD_PUBLIC_KEY="your-public-key" # API public key
export UCLOUD_PRIVATE_KEY="your-private-key" # API private key
Configuration priority: Configuration file > Environment variables
Installation and Running
- Clone the repository:
git clone https://github.com/renzheng.wang/ucloud-mcp-server.git
cd ucloud-mcp-server
- Install dependencies:
go mod download
- Build the service:
go build -o ucloud-mcp-server
- Run the service:
Basic usage:
./ucloud-mcp-server
With custom configuration:
./ucloud-mcp-server --config /path/to/config.json --port 8080
Available startup options:
--config
: Specify the path to your configuration file (default: ./config.json)--port
: Specify the port to listen on (default: 8080)
Examples:
# Use custom config file
./ucloud-mcp-server --config /etc/ucloud/config.json
# Use custom port
./ucloud-mcp-server --port 9000
# Use both custom config and port
./ucloud-mcp-server --config /etc/ucloud/config.json --port 9000
The service will provide MCP protocol service through standard input/output.
Available Operations
Instance Information
Get detailed information about a specific instance, including:
- Basic instance details
- Configuration information
- Current status
- Resource allocation
Instance Status
Monitor the current operational status of any instance in real-time.
Instance Metrics
Access comprehensive monitoring metrics for instances, including:
- CPU utilization
- Disk I/O operations
- Network traffic statistics
- System performance data
Instance List
View a complete list of all available instances in your account, including their basic information and current status.
Monitoring Metrics
The system provides the following monitoring metrics:
-
CPU Metrics
- CPUUtilization: CPU usage percentage (%)
-
Disk Metrics
- IORead: Disk read rate
- IOWrite: Disk write rate
- DiskReadOps: Number of disk read operations
- DiskWriteOps: Number of disk write operations
-
Network Metrics
- NICIn: Network inbound traffic (bytes/s)
- NICOut: Network outbound traffic (bytes/s)
- NetPacketIn: Number of inbound network packets
- NetPacketOut: Number of outbound network packets
Important Notes
- Keep your UCloud API credentials secure
- Use configuration files or key management services for sensitive information in production environments
- All operations are performed through the MCP protocol with standard I/O support
- Monitoring data may have a few minutes delay
- Regularly check monitoring metrics to identify potential issues early
推荐服务器
contentful-mcp
在你的 Contentful Space 中更新、创建、删除内容、内容模型和资源。

Supabase MCP Server
一个模型上下文协议(MCP)服务器,它提供对 Supabase 管理 API 的编程访问。该服务器允许 AI 模型和其他客户端通过标准化的接口来管理 Supabase 项目和组织。

Azure MCP Server
通过 Claude Desktop 实现与 Azure 服务的自然语言交互,支持资源管理、订阅处理和租户选择,并提供安全身份验证。

Settlemint
Leverage SettleMint's Model Context Protocol server to seamlessly interact with enterprise blockchain infrastructure. Build, deploy, and manage smart contracts through AI-powered assistants, streamlining your blockchain development workflow for maximum efficiency.

Brev
在云端运行、构建、训练和部署机器学习模型。

Story Protocol SDK MCP
This server provides MCP (Model Context Protocol) tools for interacting with Story's Python SDK. Features Get license terms Mint and register IP Asset with PIL Terms Mint license tokens Send $IP to a wallet Upload image to ipfs via Pinata [External] Upload ip and nft metadata via Pinata [External]

Tembo MCP Server
一个 MCP 服务器,它使 Claude 能够与 Tembo Cloud 平台 API 交互,从而允许用户通过自然语言管理 Tembo Cloud 资源。

Workers MCP
一个连接 Claude Desktop 和其他 MCP 客户端到 Cloudflare Workers 的软件包,从而可以通过模型上下文协议,使用自然语言访问自定义功能。

Appwrite MCP Server
一个模型上下文协议服务器,允许 AI 助手与 Appwrite 的 API 交互,从而提供管理 Appwrite 项目中数据库、用户、函数、团队和其他资源的工具。
MCP2Lambda
通过 MCP 协议,人工智能模型能够与 AWS Lambda 函数交互,从而在安全的环境中访问私有资源、实时数据和自定义计算。