mcp-huaweicloud-rfs
v0.1.0MCP Server for Huawei Cloud RFS (Resource Formation Service)
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_stacks
List RFS resource stacks in the current region. Scenario: user wants an inventory of infrastructure stacks — what exists, its deployment status, and whether deletion protection is on. Args: name: optional case-insensitive substring filter on stack name. limit: max stacks to return, 1-100 (default 20). marker: pagination marker returned by a previous call. Returns: Paginated envelope with items (stack_id, stack_name, status, description, create_time, enable_deletion_protection).
| Parameter | Type | Description |
|---|---|---|
limit | integer | |
marker | ||
name |
get_stack
Get one RFS stack: metadata plus its outputs. Scenario: user deployed a stack and wants its current state and output values (e.g. the EIP or load balancer address the stack created). Args: stack_name: stack name (e.g. "web-app-prod"). Returns: Stack metadata (stack_id, status, status_message, create_time, enable_deletion_protection) and an outputs map.
| Parameter | Type | Description |
|---|---|---|
stack_name * | string |
preview_stack_changes
Dry-run a template against an existing stack and preview the diff. Scenario: user changed an HCL template (or variables) and wants to know what would be added, replaced or removed before actually deploying. Args: stack_name: existing stack to plan against. template: full HCL template text (run this instead of template_uri). template_uri: OBS URL of an existing template (mutually exclusive with template). variables: template variables as a key/value map. timeout_seconds: max seconds to wait for plan generation (default 60).…
| Parameter | Type | Description |
|---|---|---|
stack_name * | string | |
template | ||
template_uri | ||
timeout_seconds | integer | |
variables |
deploy_stack
Deploy an HCL template: create the stack, or update it if it exists. Scenario: user wants infrastructure as code in one step — pass a template (inline or OBS URL) plus variables; the tool creates or updates the named stack and reports status and outputs. Args: stack_name: target stack name (e.g. "web-app-prod"). template: full HCL template text. Required unless template_uri is set. template_uri: OBS URL of an existing template (mutually exclusive with template). variables: template variables as a key/value map. enable_dele…
| Parameter | Type | Description |
|---|---|---|
stack_name * | string | |
enable_deletion_protection | boolean | |
template | ||
template_uri | ||
timeout_seconds | integer | |
variables | ||
wait | boolean |
diagnose_stack
Diagnose a stack: aggregate status, failed events and failed resources. Scenario: a deployment failed or a stack is stuck and the user wants the root cause — the tool joins stack status, recent failed events and failed resources into conclusions with next-step hints. Args: stack_name: stack to diagnose. event_limit: how many recent events to inspect, 1-100 (default 20). Returns: stack summary, recent_failed_events, failed_resources, analysis (root-cause conclusions) and hints (recommended next actions).
| Parameter | Type | Description |
|---|---|---|
stack_name * | string | |
event_limit | integer |
delete_stack
Delete an RFS stack and (by default) all resources it created. Scenario: user wants to tear down a stack. With confirm=false the tool returns a preview (resources that would be deleted, type distribution); call again with confirm=true to actually delete. Args: stack_name: stack to delete. retain_resources: if true, keep the cloud resources and only remove the stack record (default false — resources are deleted). confirm: must be explicitly true to execute; false returns a preview. Returns: With confirm=false: confirmation_req…
| Parameter | Type | Description |
|---|---|---|
stack_name * | string | |
confirm | boolean | |
retain_resources | boolean |