Skip to main content

云助手 MCP Server

云助手的 MCP Server 实现,可以自然语言驱动向云服务器实例发送和执行自定义命令,适用于ECS带内运维、故障排查、环境检测、软件管理等场景。目前支持Linux操作系统。

版本 v0.1.0
描述 自然语言驱动向云服务器实例发送和执行自定义命令
分类 计算
标签 命令执行、带内运维

Tools

本 MCP Server 产品提供以下 Tools:

Tool 1: run_command

向目标实例发送命令,生成一条执行记录,等待执行完成,然后检索并返回执行结果。 run_command工具提供命令执行的带内通道,执行模型生成的命令。

  • 调试所需的输入参数:

输入

{
    "inputSchema": {
      "type": "object",
      "required": ["instance","region","command_content"],
      "properties": {
        "instance": {
          "description": "实例名称",
          "type": "string"
        },
        "region": {
          "description": "实例所在地域,默认cn-beijing,支持cn-shanghai、cn-guangzhou、ap-southeast-1等",
          "type": "string"
        },
        "command_content": {
          "description": "执行命令内容",
          "type": "string"
        }
      }
    },
    "name": "run_command",
    "description": "提供命令执行的带内通道,执行模型生成的命令"
}

输出:(命令的执行输出结果)

{
    "type":"text",
    "text":"cloud_assistant_cmd.sh cloud_monitor_agent_cmd.sh "
}
  • 最容易被唤起的 Prompt示例
1. 查询cn-beijing地域下实例i-ydtoqt4pogh9l3bp82xx的操作系统信息
2. 查看实例i-ydtoqt4pogh9l3bp82xx的CPU使用情况

可适配平台

方舟、cursor、claude desktop 或支持MCP server调用的其他终端

服务开通链接

服务类产品,无需开通

鉴权方式

火山引擎AKSK鉴权体系

安装部署

系统依赖

  • 安装 Python3.10或更高版本
  • 安装uv
    • MacOS/Linux
    curl -LsSf https://astral.sh/uv/install.sh | sh
    
    • Windows
    powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
    

部署

UV

{
  "mcpServers": {
    "mcp_server_cloud_assistant": {
      "command": "uv",
      "env": {
        "VOLC_ENDPOINT":"Volcengine OpenApi Endpoint",
        "VOLC_ACCESSKEY":"Your Volcengine access key",
        "VOLC_SECRETKEY":"Your Volcengine secret key"
      },
      "args": [
        "--directory",
        "/<your local path to mcp-servers>/mcp_server_cloud_assistant/src/mcp_server_cloud_assistant",
        "run",
        "mcp-server-cloud-assistant"
      ]
    }
  }
}

UVX

{
  "mcpServers": {
    "mcp_server_cloud_assistant": {
      "command": "uvx",
      "env": {
        "VOLC_ENDPOINT":"Volcengine OpenApi Endpoint",
        "VOLC_ACCESSKEY":"Your Volcengine access key",
        "VOLC_SECRETKEY":"Your Volcengine secret key"
      },
      "args": [
        "--from",
        "git+https://github.com/volcengine/mcp-server#subdirectory=server/mcp_server_cloud_assistant",
        "mcp-server-cloud-assistant"
      ]
    }
  }
}

License

volcengine/mcp-server is licensed under the MIT License

Metadata

Release files for cloud-assistant-mcp-server 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cloud-assistant-mcp-server 0.1.0
File Size Uploaded
cloud_assistant_mcp_server-0.1.0.tar.gz 5.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for cloud-assistant-mcp-server 0.1.0
File Interpreter ABI Platform
cloud_assistant_mcp_server-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 11.9 kB

Release files / cloud_assistant_mcp_server-0.1.0.tar.gz

Download URL cloud_assistant_mcp_server-0.1.0.tar.gz
Size 5.5 kB
Tags Source
SHA-256 checksum
How to use checksums
95667488faf49921fbd0117149db86e318788cb6891a47fa8e13243616be2bef
BLAKE2b-256 checksum
How to use checksums
78ea986f72ab294b3d5fc4f87440bd254c76a6f779539d44e30a745d1db91221
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.9

Release files / cloud_assistant_mcp_server-0.1.0-py3-none-any.whl

Download URL cloud_assistant_mcp_server-0.1.0-py3-none-any.whl
Size 6.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
da2ff2cec904d0e32f19f4010f7c25ee0bb5f3745f19cc79a5c532a9f1f142f6
BLAKE2b-256 checksum
How to use checksums
3686577a845fd330b223ea9967653cebbd92991b6cef872f92b3672e64d1358f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.9

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page