AlibabaCloud MCP Server

Official
by aliyun

RunCommand

Execute commands across multiple ECS instances simultaneously using AlibabaCloud MCP Server, ideal for managing applications, marking resources, and automating tasks efficiently.

Instructions

批量在多台ECS实例上运行云助手命令,适用于需要同时管理多台ECS实例的场景,如应用程序管理和资源标记操作等。

Input Schema

NameRequiredDescriptionDefault
CommandYesContent of the command executed on the ECS instance
CommandTypeNoThe type of command executed on the ECS instance, optional value:RunShellScript,RunPythonScript,RunPerlScript,RunBatScript,RunPowerShellScriptRunShellScript
InstanceIdsYesAlibabaCloud ECS instance ID List
RegionIdNoAlibabaCloud region IDcn-hangzhou

Input Schema (JSON Schema)

{ "properties": { "Command": { "description": "Content of the command executed on the ECS instance", "title": "Command", "type": "string" }, "CommandType": { "default": "RunShellScript", "description": "The type of command executed on the ECS instance, optional value:RunShellScript,RunPythonScript,RunPerlScript,RunBatScript,RunPowerShellScript", "title": "Commandtype", "type": "string" }, "InstanceIds": { "description": "AlibabaCloud ECS instance ID List", "items": { "type": "string" }, "title": "Instanceids", "type": "array" }, "RegionId": { "default": "cn-hangzhou", "description": "AlibabaCloud region ID", "title": "Regionid", "type": "string" } }, "required": [ "InstanceIds", "Command" ], "title": "RunCommandArguments", "type": "object" }
ID: w34oyvafgs