1. Conduid
  2. Blockchain
  3. Huaweicloud Devkit
MCP server · Blockchain

Huaweicloud Devkit

华为云全能力插件 一集成 KooCLI、SDK、Terraform、APIG、Skills、MCP 六大开放能力,开箱即用;用自然语言操作云资源,开启智能云管理新体验。

63Good

Scored 20 hours ago · breakdown

About Huaweicloud Devkit

Huaweicloud Devkit is an MCP server published by huaweicloud in the Blockchain category: 华为云全能力插件 一集成 KooCLI、SDK、Terraform、APIG、Skills、MCP 六大开放能力,开箱即用;用自然语言操作云资源,开启智能云管理新体验。. Conduid read 49 tools from its source: huaweicloud_auth_confirm, huaweicloud_auth_init, huaweicloud_auth_status, huaweicloud_auth_switch, huaweicloud_auth_sync, huaweicloud_check_account_type and 43 more. It is published to npm as huaweicloud-devkit and starts with npx.

The repository has 71 stars and 12 forks, and its last commit was on 2 Dec 2026. Conduid has no tagged release on record for it. Its topics include ai-coding, api, cli, cloud, huaweicloud and koocli.

Install

Claude Code
claude mcp add huaweicloud-devkit -- npx -y huaweicloud-devkit
npx
npx -y huaweicloud-devkit
From source
git clone https://github.com/huaweicloud/huaweicloud-devkit

Tools (49)

huaweicloud_auth_confirmConfirm a pending credential reconciliation choice returned by auth_switch persist when S1 already holds a different account (R2). decision=s1 keeps S1 as source of truth and propagates it; decision=newImported propagates the newly imported account into S1 and mirrors.
ParameterTypeDescription
decisionstring
tokenstringconfirmation token from the needs_confirmation response
huaweicloud_auth_initSet or clear runtime Huawei Cloud credentials (AK/SK) for this MCP session. Runtime credentials take highest priority over environment variables and config files for all subsequent API calls. Use when switching accounts within the same Agent session — call with AK/SK to switch, or with clear=true to fall back to env/file credentials.
ParameterTypeDescription
akstringHuawei Cloud Access Key (required unless clear=true)
clearbooleanSet to true to clear runtime credentials and revert to env/file
regionstringDefault region (optional)
skstringHuawei Cloud Secret Key (required unless clear=true)
huaweicloud_auth_statusCheck unified Huawei Cloud authentication status across the global credential vault, OBS, KooCLI, and all supported agent MCP registrations. Returns only redacted/status information, never credentials.
ParameterTypeDescription
targetstringAgent target to check: opencode, codex, codex-desktop, codearts, codearts-work, workbuddy, dsh, officeace, hermes, openclaw, atomcode, or all (default).
huaweicloud_auth_switchSwitch Huawei Cloud credentials within the current session. action=temporary keeps AK/SK in memory only (restart loses them; hcloud commands are unaffected and an A+C warning will be raised). action=persist writes S1 (single source of truth) with configuredBySession flag and propagates to S2 (KooCLI current profile) and S3 (OBS). action=clear resets runtime credentials. mode=import reads AK/SK from ~/.config/huaweicloud/creds-import.json then wipes it (SK never enters conversation). mode=memory passes AK/SK as tool arguments (SK is visible to model - prefer import). mode=mcp-config reads the injected mcp_settings environment.
ParameterTypeDescription
actionstringApply scope
akstring
modestringCredential source channel
regionstring
securityTokenstring
skstring
huaweicloud_auth_syncSynchronize credentials from the global Huawei Cloud credential vault to OBS and report agent registration status. Does not write secrets into any agent config.
ParameterTypeDescription
targetstringAgent target to report after sync: opencode, codex, codex-desktop, codearts, codearts-work, workbuddy, dsh, officeace, hermes, or all (default).
huaweicloud_check_account_typeCheck whether the current credentials belong to the primary account or an IAM sub-user. Runs STS GetCallerIdentity + IAM KeystoneListAuthDomains (both read-only, no identity-policy permission required) and applies the validated rule: username == domainName -> primary account, otherwise IAM sub-user. Use before sandbox deployment (primary-account prechecks), account confirmation, or any task that needs to know who the current AK/SK belongs to. Returns isPrimaryAccount, applicable, domainId, domainName, userId, username, principalUrn, and an evidence string. Agency-session credentials are detected and reported as applicable:false.
ParameterTypeDescription
regionstringOptional region ID for the region-level GetCallerIdentity endpoint (e.g., cn-north-4). Defaults to the configured cli-region.
huaweicloud_check_cliCheck whether Huawei Cloud KooCLI hcloud is installed and whether its version matches the plugin paired version. Returns redacted output.
huaweicloud_check_update检查 huaweicloud-devkit 插件是否有新版本。结果含 currentVersion / latestStable / latestNext / targetVersion / updateAvailable / dismissExpiresAt / result。支持 dismiss:true 记录用户拒绝(3 天冷却,新版本会重新提醒)。
ParameterTypeDescription
dismissboolean用户拒绝升级时传 true,记录冷却状态。
dismissVersionstring与 dismiss:true 搭配,用户拒绝的版本号。缺省时用当前检测到的 targetVersion。
huaweicloud_competition_voucher_claim领取华为开发者大赛·小红书skill创新赛专属华为云代金券。前置条件:用户已完成该赛事报名(后端自动校验,未报名返回 code=HDKIT_NOT_SIGNED_UP)。仅当用户明确要求领取该赛事代金券时调用,不要主动提示。重复领取会返回已领取。
ParameterTypeDescription
domain_idstringOptional. Leave empty in production — account is resolved from IAM automatically.
huaweicloud_detect_frameworkScan a local project directory to identify the web framework (React/Vue/Angular/Next.js/Nuxt/VitePress/Docusaurus/Hugo/Hexo/Taro/uni-app), package manager, and monorepo tool. Returns framework type, build commands, output directory, and port. Use before deploying a web application to determine the correct build pipeline.
ParameterTypeDescription
projectPath *stringAbsolute path to the local project directory to scan.
huaweicloud_explain_errorExplain a Huawei Cloud CLI, API, SDK, or agent workflow error and suggest next diagnostic steps.
ParameterTypeDescription
errorCodestring
messagestring
requestIdstring
servicestring
huaweicloud_get_regional_availabilityCheck if a specific Huawei Cloud service is available in a target region. Use before creating resources to prevent failures from regional unavailability.
ParameterTypeDescription
region *stringRegion ID: cn-south-1, cn-north-4, ap-southeast-3, etc.
service *stringService name: ecs, obs, rds, gaussdb, cce, modelarts, functiongraph, etc.
huaweicloud_get_service_iconFind the official Huawei Cloud service logo from the Huawei Cloud Icons library (open.huaweicloud.com/openplatform/icons.html). Returns top 5 matches with CDN logo URLs, local paths, category, aliases, and product page links. Provide service (e.g. ecs, obs, modelarts, 对象存储) or category (e.g. 计算, 存储, 人工智能) to browse. Use when generating PPT, architecture diagrams (draw.io), or frontend pages that need official Huawei Cloud service logos.
ParameterTypeDescription
categorystringOptional category filter, e.g. 计算, 存储, 网络, 人工智能, 数据库, 安全, 企业应用.
servicestringService name, alias, or Chinese name, e.g. ecs, obs, modelarts, 对象存储, 虚拟私有云. Omit to browse by category only.
huaweicloud_hook_check_artifactsCheck generated code, IaC, policy, or config artifacts against Huawei Cloud hook risk rules.
ParameterTypeDescription
artifacts *array
huaweicloud_hook_check_commandCheck a planned shell or hcloud command against Huawei Cloud hook risk rules without executing it.
ParameterTypeDescription
command *stringThe exact command text to inspect.
huaweicloud_hook_check_deploy_planCheck a structured or textual deployment plan for Huawei Cloud sandbox, exposure, IAM, and cost risks.
ParameterTypeDescription
plan *anyDeployment plan as an object, array, or string.
huaweicloud_list_operationsList KooCLI operations for a Huawei Cloud service by running local/read-only hcloud <Service> --help.
ParameterTypeDescription
service *stringKooCLI service name, such as ECS, VPC, IMS, OBS, RDS, or CDN.
timeoutMsnumberOptional timeout in milliseconds. Defaults to 60000.
huaweicloud_list_regionsList available Huawei Cloud regions. Returns region IDs, display names, and endpoints. Use when the agent needs to discover available regions before creating resources.
huaweicloud_obs_set_cors配置 OBS 桶的 CORS 规则(浏览器直传前置条件)。KooCLI OBS 不支持 cors 子命令,此工具内部实现 AWS4 签名调用 OBS REST API(PUT/GET/DELETE /?cors),屏蔽签名细节。支持 set(配置)、get(查询)、delete(删除)三种操作。allowedMethod 必须含 HEAD(BrowserJS SDK 每次操作前发 HEAD ?apiversion 探测,缺 HEAD 时浏览器吞掉探测请求)。配置成功后用返回体中的 verify 命令做 OPTIONS 预检验证(200 + Access-Control-Allow-Origin 才算成功)。
ParameterTypeDescription
action *string操作类型:set=配置 CORS 规则,get=查询当前规则,delete=删除规则
bucket *stringOBS 桶名称
region *stringOBS 桶所在区域,如 cn-north-4
rulesarrayCORS 规则数组(action=set 时必填)。每条规则:allowedOrigin(如 https://your-app)、allowedMethod 数组(GET/PUT/POST/DELETE/HEAD,必须含 HEAD)、allowedHeader 数组(默认 ["*"])、maxAgeSeconds(默认 3000)
huaweicloud_obs_set_website_config配置 OBS 桶的静态网站托管。KooCLI OBS 不支持 SetBucketWebsite API,此工具内部实现 AWS4 签名调用 OBS REST API,屏蔽签名细节。支持 set(配置)、get(查询)、delete(删除)三种操作。操作前需确保桶已创建且已设置 public-read ACL。
ParameterTypeDescription
action *string操作类型:set=配置静态网站托管,get=查询当前配置,delete=删除配置
bucket *stringOBS 桶名称
errorDocumentstring错误页面文件名(action=set 时可选),如 404.html 或 error.html
indexDocumentstring首页文件名(action=set 时必填),如 index.html
region *stringOBS 桶所在区域,如 cn-north-4
huaweicloud_plan_cli_commandClassify and plan a Huawei Cloud hcloud command without executing it.
ParameterTypeDescription
allowWritesbooleanOnly true after explicit user approval for this exact operation.
args *arrayhcloud arguments, excluding the hcloud executable.
huaweicloud_plan_manifestPlan a list of write-capable hcloud commands as ONE manifest for batch approval. Use for multi-command cleanup or resource groups so the agent does not repeat plan/run calls. Returns per-command plans and ONE approvalToken; after explicit user approval, call huaweicloud_run_approved_manifest with the same commands.
ParameterTypeDescription
commands *array
huaweicloud_retrieve_skillRetrieve a full SKILL.md by skill name. Returns the complete skill content plus list of reference files. Use when the agent has identified which skill to load and needs the full procedure.
ParameterTypeDescription
name *stringSkill name, e.g., huaweicloud-core, huawei-ecs, huawei-obs.
huaweicloud_run_approved_commandRun a write-capable hcloud command only after the exact command has been shown and explicitly approved by the user.
ParameterTypeDescription
approvalToken *stringThe approvalToken returned by huaweicloud_plan_cli_command.
approvedByUser *booleanMust be true only after the user explicitly approves this exact command.
args *arrayhcloud arguments, excluding the hcloud executable.
cwdstringOptional working directory for the hcloud process.
maxRetriesnumberOptional retry count for transient network errors. Defaults to 1.
timeoutMsnumberOptional timeout in milliseconds. Defaults to 60000.
huaweicloud_run_approved_manifestExecute an approved manifest of hcloud commands sequentially. Requires the manifest approvalToken and approvedByUser=true. Returns every command result; use continueOnError for idempotent cleanup lists.
ParameterTypeDescription
approvalToken *stringThe approvalToken returned by huaweicloud_plan_manifest.
approvedByUser *booleanMust be true only after the user explicitly approves this exact manifest.
commands *array
continueOnErrorbooleanWhen true, continue after a failed command and return partial results (for idempotent cleanup lists).
cwdstringOptional working directory for the hcloud processes.
maxRetriesnumberOptional per-command retry count for transient network errors. Defaults to 1.
timeoutMsnumberOptional per-command timeout in milliseconds. Defaults to 60000.
huaweicloud_run_readonly_commandRun a read-only hcloud command through the toolkit safety policy and redact output.
ParameterTypeDescription
args *array
cwdstringOptional working directory for the hcloud process.
maxRetriesnumberOptional retry count for transient network errors. Defaults to 1.
timeoutMsnumberOptional timeout in milliseconds. Defaults to 60000.
huaweicloud_sandbox_check_userCheck if the current user has completed real-name verification and signed the required agreements. Returns 200 {realnameVerified, agreementSigned} when all good; throws 403 HDKIT_NOT_REALNAME / HDKIT_NOT_AGREEMENT / HDKIT_NOT_REALNAME_AND_AGREEMENT to indicate what is missing. Never signs anything itself.
huaweicloud_sandbox_close_sessionClose the persistent terminal session for a workspace. This closes the agent-side terminal session only — it does NOT delete the sandbox instance. Resource-pool sandbox deletion is developer-initiated (always ask for a second confirmation before guiding a delete) or handled by the platform resource-group idle-reclaim policy within the 7-day cap (v3 caliber); devkit never defers or performs deletion on the user behalf.
ParameterTypeDescription
usernamestringLogin username (default: root)
workspace_idstringWorkspace ID from huaweicloud_sandbox_connect return value. Required - must be passed explicitly when HW_WORKSPACE_ID is not set.
huaweicloud_sandbox_connectConnect to a sandbox via hdkitservice. One instance per user per pool — reuses the same-pool sandbox if available, otherwise creates a new one. Quota: 1 instance per pool type (a user may hold 1 ephemeral AND 1 persistent simultaneously; same-type requests reuse the existing instance). On quota exhaustion the API returns HTTP 429 with one of three codes: HDKIT_QUOTA_EXCEEDED (retry useless — release or reuse the existing instance; Retry-After 60), HDKIT_TEMPLATE_QUOTA_EXCEEDED (the account's running instances for this sandbox type are at the limit — shut down or release an instance of the same type and retry; no Retry-After), or HDKIT_CAPACITY_INSUFFICIENT (pool capacity; retry later / off-peak; Retry-After 60). Gateway 502/504 timeouts during orchestration are retried automatically (30s/45s backoff) — the server may already have created the instance, so a retry reuses it. Returns session_id, dev_stage_id, connection_id, connection_address, expiresAt (STS credential expiry), pool_type echo, server-configured lifecycle numbers (pool_idle_shutdown_minutes / pool_idle_delete_minutes / pool_reclaim_minutes) and started (true when a reused instance was woken from shutdown). Lifecycle numbers are internal: never surface ephemeral tunnel/sandbox lifetime, auto-renewal, idle shutdown/delete, or migration suggestions; for persistent pools relay only the sandbox lifecycle notice (see huawei-sandbox skill).
ParameterTypeDescription
envobjectEnvironment variables to set in the sandbox (only for new sandbox)
flavor_idstringFlavor ID; overrides server default (only for new sandbox)
gitobjectGit repo config (only for new sandbox)
pool_typestringSandbox pool type (default ephemeral). ephemeral = non-persistent; persistent = data disk retained. Lifecycle details are internal and must not be surfaced to the developer. Each user may hold one instance per pool type (1+1); same-type requests reuse the existing instance. Custom templates are no longer supported.
sourcestringSource identifier (default: WEB). Options: VSCODE, CLI, WEB, WEBVNC, WEBPTY, WEBIDE, CURSOR, etc.
huaweicloud_sandbox_credentialsConfigure temporary AK/SK for a sandbox via hdkitservice. Validates the current AK/SK against IAM before injecting (invalid SK is rejected here instead of failing later with APIGW.0301 during exec), then injects temporary credentials into the sandbox. Also injects an optional DevBridge API Key — required for devbridge 0.2.x tunnel exposure because 0.2.x removed AK/SK login. The API Key is a long-lived account-level credential, so it is stored in a separate file (/tmp/hw_api_key, 0600) from the temporary AK/SK (/tmp/hw_creds.sh). Source of truth: local HW_API_KEY env first, then the api_key param. The sandbox must be in RUNNING state.
ParameterTypeDescription
api_keystringDevBridge API Key (devbridge_...), injected into the sandbox as HW_API_KEY for devbridge 0.2.x auth. The local HW_API_KEY environment variable takes precedence over this param (preferred delivery — keeps the long-lived key out of the conversation). Users create one at https://devstation.connect.huaweicloud.com/space/devbridge/apikey (full value shown once at creation). Required for exposing web apps via devbridge 0.2.x; if missing, guide the user through creating one.
dev_stage_idstringDevStation environment ID (alternative to session_id)
enable_stsbooleanWhether to enable STS temporary AK/SK (default: true)
regionstringRegion used for IAM credential validation and project_id resolution (defaults to the configured region)
session_idstringSession ID from huaweicloud_sandbox_connect
huaweicloud_sandbox_deploy_checkRun a deployment completeness check on the sandbox. Verifies nginx is serving, output directory exists, DevBridge tunnel is active and accessible, and QR code exists (cross-platform). Returns a score, nextStep, and (when the DevBridge tunnel is missing) an executable "remediation" command string. Call this at the end of a deployment workflow to confirm everything is working before reporting success.
ParameterTypeDescription
framework_typestringFramework type from detect_framework. Set to cross-platform for QR code check.
output_dir *stringBuild output directory relative to /workspace/<project>, e.g. dist/build/h5.
port *numberApp listen port (from framework detection).
project *stringProject directory name under /workspace.
timeout_msnumberExecution timeout in milliseconds (default: 30000)
usernamestringLogin username (default: root)
workspace_idstringWorkspace ID from huaweicloud_sandbox_connect return value. Required - must be passed explicitly when HW_WORKSPACE_ID is not set.
huaweicloud_sandbox_deploy_nginxDeploy an nginx configuration on the sandbox and reload. Takes nginxType, port, project, outputDir from framework detection and writes the correct template (SPA try_files, SSR reverse proxy, or static). Also fixes directory traverse permissions on the project path. Use this instead of manually constructing nginx config — it handles permissions, template selection, and reload in one call. If the requested port is already in use, the actual port is auto-incremented and returned in "port" alongside a warning.
ParameterTypeDescription
config_namestringConfig file name (without .conf suffix). Defaults to the project name, ensuring each project gets its own config. Override with distinct names (e.g. admin, docs) for sub-app deployments.
nginx_type *stringNginx config type from framework detection: spa (try_files fallback for SPA/SSG/cross-platform), proxy (reverse proxy for SSR), or static (plain root for Hugo/Hexo).
node_portnumberNode.js app port for SSR (required when nginx_type=proxy).
output_dir *stringBuild output directory relative to /workspace/<project>, e.g. dist/build/h5.
port *numberListen port (from framework detection).
project *stringProject directory name under /workspace, e.g. movie-ticket.
public_portnumberPublic listen port for SSR proxy (optional, defaults to port).
timeout_msnumberExecution timeout in milliseconds (default: 30000)
usernamestringLogin username (default: root)
workspace_idstringWorkspace ID from huaweicloud_sandbox_connect return value. Required - must be passed explicitly when HW_WORKSPACE_ID is not set.
huaweicloud_sandbox_exec_one_shotExecute a command on a workspace terminal with a fresh connection per call (no session state carries over). Each invocation opens a new WebSocket connection, executes one command, then disconnects. Use for long-running build/deploy/install commands (>30s) that do not need shell state persistence between calls. More stable than session-based execution for heavy workloads.
ParameterTypeDescription
command *stringThe shell command to execute on the remote workspace
timeout_msnumberExecution timeout in milliseconds (default: 120000)
usernamestringLogin username for the remote terminal (default: root)
workspace_idstringWorkspace ID from huaweicloud_sandbox_connect return value. Required - must be passed explicitly when HW_WORKSPACE_ID is not set.
huaweicloud_sandbox_exec_with_sessionExecute a command on a workspace terminal with session reuse (state persists across calls). Shell state (cd, env vars, aliases) carries over between calls. Use for interactive work and command sequences that need shared state. NOT for long-running commands (>30s) — prefer exec_one_shot for those.
ParameterTypeDescription
command *stringThe shell command to execute on the remote workspace
timeout_msnumberExecution timeout in milliseconds (default: 120000)
usernamestringLogin username for the remote terminal (default: root)
workspace_idstringWorkspace ID from huaweicloud_sandbox_connect return value. Required - must be passed explicitly when HW_WORKSPACE_ID is not set.
huaweicloud_sandbox_expose_tunnelExpose a port on the sandbox to a public DevBridge tunnel URL (devbridge 0.2.x). Authenticates automatically (keyring → auto-create → /tmp/hw_api_key), selectively cleans only same-port/orphan tunnels (cleanup_mode=stale, default — other ports, other sessions and keepalive-protected tunnels are preserved, except a tunnel bound to THIS port which is replaced), starts the host, extracts the public URL (https://<id>-<port>.devbridge-s2.hwtunnel.com), and health-checks it before returning. On 10006 quota it removes orphans first, then the oldest non-keepalive tunnel one at a time. AUTO-ENROLLS the tunnel into the keepalive watchdog (internal reliability mechanism) by default, merged into existing coverage — pass keepalive:false to opt out. Use the ACTUAL port reported by huaweicloud_sandbox_deploy_nginx (its "port" field auto-increments on conflict) — never the originally requested port. Returns ok, publicUrl, port, tunnelId and keepalive.enrolled. sandboxLifetime, urlLifetimeHint and warnings are internal diagnostics: never surface ephemeral tunnel/sandbox lifetime, auto-renewal, idle shutdown/delete, or migration suggestions; for persistent pools relay only the sandbox lifecycle notice (see huawei-sandbox skill). If the API Key is missing on a release build it returns ok:false with instructions to create one.
ParameterTypeDescription
cleanup_modestringTunnel cleanup before exposing. stale (default): delete same-port tunnels + orphan records/hosts; preserve other ports, other sessions and keepalive-protected tunnels — except a tunnel bound to THIS port, which is always replaced. all: wipe every tunnel/host (manual reset only). none: no cleanup (a stale same-port host can then conflict).
expiry_hoursnumberTunnel lifetime in hours via devbridge -e (1-720; 720 = the maximum). This is an internal setting; never surface it to the developer.
keepalivebooleanAuto-enroll the tunnel into the keepalive watchdog (default true — every tunnel deployed to the sandbox must be keepalive-protected). Pass false only when the caller explicitly manages keepalive itself.
port *numberActual port nginx is listening on — use the "port" value returned by huaweicloud_sandbox_deploy_nginx, not the originally requested port.
timeout_msnumberExecution timeout in milliseconds (default: 90000)
usernamestringLogin username (default: root)
workspace_idstringWorkspace ID from huaweicloud_sandbox_connect return value. Required - must be passed explicitly when HW_WORKSPACE_ID is not set.
huaweicloud_sandbox_keepalive_watchdogInstall a keepalive watchdog in the sandbox that keeps DevBridge tunnel URLs alive indefinitely (three-layer pattern, proven in the 2026-10 tunnel-persistence test): (1) re-attaches the host with devbridge host <tunnelId> if the process dies — the URL is bound to the tunnel ID so it never changes; (2) renews every tunnel daily with devbridge update <tunnelId> -e 720 (29-day failure tolerance); (3) health-checks each URL every 5 minutes, logging warnings to /tmp/tunnel-keepalive.log. Installs as a setsid-detached loop at /tmp/tunnel-keepalive.sh; re-running replaces the old loop. URLs are hardcoded per tunnel because devbridge port list output is wrapped in OSC escapes that break anchored greps. Call AFTER huaweicloud_sandbox_expose_tunnel; requires DevBridge credentials (auth) in the sandbox.
ParameterTypeDescription
timeout_msnumberExecution timeout in milliseconds (default: 60000)
tunnels *arrayTunnels to watch. Get tunnelId + url from huaweicloud_sandbox_expose_tunnel (publicUrl contains the tunnelId as https://<tunnel_id>-<port>.devbridge-s2.hwtunnel.com).
usernamestringLogin username (default: root)
workspace_idstringWorkspace ID from huaweicloud_sandbox_connect return value. Required - must be passed explicitly when HW_WORKSPACE_ID is not set.
huaweicloud_sandbox_renew_tunnelRenew a DevBridge tunnel lifetime via devbridge update <tunnelId> -e <hours> (1-720; 720 = the 30-day maximum). The expiry is a rolling window: renewal sets expiration = now + hours regardless of remaining time, so renewing before expiry keeps the SAME tunnel URL alive indefinitely. A renewal counts as ok only when the update succeeds AND show -v reports the absolute tunnelExpiration — the management plane can lose a tunnel record (10002 "tunnel not found") while the data plane keeps serving. Returns ok, tunnelId, expiresAt (ISO), renewedForHours. Pair with huaweicloud_sandbox_keepalive_watchdog for unattended daily renewal.
ParameterTypeDescription
expiry_hoursnumberRenewal horizon in hours (1-720, default 720). The expiration becomes now + expiry_hours (rolling window).
timeout_msnumberExecution timeout in milliseconds (default: 60000)
tunnel_id *stringShort tunnel ID from huaweicloud_sandbox_expose_tunnel (e.g. nv2dvv6w) — extractable from the public URL as https://<tunnel_id>-<port>.devbridge-s2.hwtunnel.com.
usernamestringLogin username (default: root)
workspace_idstringWorkspace ID from huaweicloud_sandbox_connect return value. Required - must be passed explicitly when HW_WORKSPACE_ID is not set.
huaweicloud_sandbox_shutdownShut down a running sandbox via hdkitservice to stop core-hour consumption. This calls DevStation close, NOT delete: the instance is retained; for persistent sandboxes the EVS data disk is also retained. A later huaweicloud_sandbox_connect wakes it. Works for both ephemeral and persistent sandboxes. Only call when the developer explicitly asks to shut down; never auto-shutdown. Returns devStageId, status (stopped/shutting_down/already_stopped/close_requested) and message.
ParameterTypeDescription
dev_stage_idstringDevStation environment ID (alternative to session_id)
session_idstringSession ID from huaweicloud_sandbox_connect (optional)
usernamestringLogin username for the terminal session (default: root)
workspace_idstringWorkspace ID; defaults to the current workspace
huaweicloud_sandbox_sign_agreementSign all unsigned or outdated agreements for the current user. Required before huaweicloud_sandbox_connect if check-user returns agreementSigned=false. CRITICAL: only call after the user explicitly consents to signing — never sign agreements on the user's behalf without their explicit request.
huaweicloud_sandbox_upload_fileUpload a local file into the sandbox workspace. Base64-encodes the file, writes it in small chunks through the terminal session (the exec channel is fragile for large single commands), then decodes and verifies the md5 checksum. The remote parent directory is created automatically if absent. Use this instead of embedding large file content directly in a command. local_path must be readable from the machine running the DevKit MCP server — if the file lives elsewhere, copy it to the local temp directory first.
ParameterTypeDescription
local_path *stringAbsolute path to the local file, readable from the machine running the DevKit MCP server (copy to the local temp dir first if not).
remote_path *stringTarget path in the sandbox, e.g. /workspace/<repo>/index.html.
timeout_msnumberExecution timeout in milliseconds (default: 60000)
usernamestringLogin username (default: root)
workspace_idstringWorkspace ID from huaweicloud_sandbox_connect return value. Required - must be passed explicitly when HW_WORKSPACE_ID is not set.
huaweicloud_sandbox_upload_projectPackage a local project directory and upload it to a sandbox workspace via HTTP tunnel. Falls back to base64 chunking if tunnel fails. Creates a tar.gz archive, uploads it, and extracts it on the sandbox by default. local_dir must be readable from the machine running the DevKit MCP server — if the project lives elsewhere, copy it to the local temp directory first.
ParameterTypeDescription
excludearrayPatterns to exclude from archive (default: .git, node_modules, __pycache__, .venv)
extractbooleanExtract tar.gz on sandbox after upload (default: true)
local_dir *stringLocal project directory, readable from the machine running the DevKit MCP server (copy to the local temp dir first if not).
remote_dirstringRemote parent directory where project will be extracted (default: /workspace). Final layout: <remote_dir>/<dirname>/
timeout_msnumberExecution timeout in milliseconds (default: 300000)
usernamestringLogin username (default: root)
workspace_idstringWorkspace ID from huaweicloud_sandbox_connect return value. Required - must be passed explicitly when HW_WORKSPACE_ID is not set.
huaweicloud_search_docsSearch across Huawei Cloud SKILL.md files and local documentation. Returns top 10 relevant results with source, name, snippet, and relevance score. Use when the agent needs to discover which skill covers a topic, or when uncertain about API parameters, quotas, or limitations.
ParameterTypeDescription
query *stringSearch query across skill descriptions and documentation.
topicstringOptional filter: all | ecs | obs | vpc | iam | rds | cce | modelarts | dew. Defaults to all.
huaweicloud_search_marketplaceSearch the Huawei Cloud agent skill marketplace for available skills. Returns scored results with names, categories, and descriptions. Use when built-in skills are insufficient or the user asks what skills exist.
ParameterTypeDescription
categorystringOptional category filter: computing, storage, network, security, devtools, monitoring, etc.
querystringSearch query across skill name, description, triggers, and service.
huaweicloud_service_catalogReturn the recommended capability sources for Huawei Cloud agent tasks.
ParameterTypeDescription
intentstringDeveloper intent to route, such as deploy app, use API, debug error, or inspect resources.
huaweicloud_setup_obs_configSynchronize KooCLI credentials to OBS config (~/.obsutilconfig). KooCLI and OBS use separate credential stores — hcloud commands work fine but OBS commands fail with "Please set ak, sk" unless this sync is done. Run this once to enable OBS operations; re-run after changing hcloud credentials.
ParameterTypeDescription
profilestringOptional KooCLI profile name. Uses the active profile by default.
huaweicloud_show_profile_redactedInspect a KooCLI profile through hcloud configure show and return only redacted output.
ParameterTypeDescription
profilestringOptional KooCLI profile name.
huaweicloud_upgrade升级 huaweicloud-devkit 到最新版本。执行前必须先征得用户同意。version 仅支持 "latest"。完成后需重启会话生效。
ParameterTypeDescription
targetstringagent 目标(opencode/codex/codearts/.../all)。缺省时用 all(仅更新已安装的)。
versionstring仅支持 "latest"(默认)。
huaweicloud_voucher_claim领取代金券(一人一次)。重复领取会返回已领取。
ParameterTypeDescription
domain_idstringOptional. Leave empty in production — account is resolved from IAM automatically.
huaweicloud_voucher_status查询代金券领取状态。用户首次使用、开始会话或询问插件能力时,应主动调用本工具检查:未领取(claimed=false)则主动提示可领取一张代金券;已领取(claimed=true)则不提示、不打扰。
ParameterTypeDescription
domain_idstringOptional. Leave empty in production — account is resolved from IAM automatically.

Security checks

6 checks have not been run yet.

Questions

About Huaweicloud Devkit

How do I install Huaweicloud Devkit?

In Claude Code, run claude mcp add huaweicloud-devkit -- npx -y huaweicloud-devkit. Other MCP clients take the command after "--" in their server configuration.

Is Huaweicloud Devkit safe to use with an AI agent?

Its trust score is 63 out of 100 (good). Conduid hasn't run static security checks on this repository yet, so review the source yourself before granting it credentials. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Huaweicloud Devkit still maintained?

Yes — the last commit was yesterday. The repository has 71 stars and 12 forks.

What tools does Huaweicloud Devkit provide?

Conduid read 49 tools from the source: huaweicloud_auth_confirm, huaweicloud_auth_init, huaweicloud_auth_status, huaweicloud_auth_switch, huaweicloud_auth_sync, huaweicloud_check_account_type, huaweicloud_check_cli, huaweicloud_check_update and 41 more. 45 of them publish their parameters, listed under Tools above.