Tencent Cloud coscli
$ coscli Official High RiskTencent Cloud coscli is the official Apache-2.0 Go command-line tool for Cloud Object Storage (COS). It supports multipart uploads/downloads, directory sync, bucket aliases via coscli config add, and custom config paths (-c), though list/transfer outputs remain text-oriented.
https://github.com/tencentyun/coscli/releases coscli handles high-speed multipart COS transfers and directory sync directly, avoiding MCP payload serialization limits.
At a Glance
- Command
- $ coscli
- FCRS-1.0 Score
- 73/100 (Usable w/ Caveats)
- Evidence Tier
- Medium Confidence
- CLI vs MCP
- CLI Preferred vs MCP
- Reviewed Date
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
Supports non-interactive config flags (-c, coscli config set) and exit codes, but emits human-oriented text tables without a universal --json output flag.
- Supports
-c <config>andcoscli config setwithout prompts - Lacks universal
--jsonoutput flag onlsandcp
Supports explicit -c config isolation, temporary sessiontoken / CvmRole auth, and bucket aliases, though it lacks a universal --dry-run flag.
- Config isolation via
-candCvmRole/sessiontokensupport
Single static Go binary for macOS, Linux, and Windows, though distributed via GitHub releases rather than Homebrew or npm.
- Prebuilt Go binaries on
tencentyun/cosclireleases
Purpose-built for COS multipart transfers, bucket aliases, and large-object checksums.
- Native COS multipart
cp,sync, and bucket alias resolution
Official tencentyun/coscli repository maintained by Tencent Cloud under Apache-2.0.
- Official
tencentyun/cosclirepo (Apache-2.0)
Documented in Tencent Cloud COS guides and --help, with primary docs geared toward Chinese users.
- Official Tencent Cloud COS CLI documentation
Security, Auth & Guardrails
Stores secretid, secretkey, sessiontoken, and bucket aliases in ~/.cos.yaml (overrideable with -c <path>).
CLI is free (Apache-2.0); COS storage, API requests, and traffic incur Tencent Cloud billing.
# coscli Agent Rules - Always pass `-c <config-path>` explicitly to isolate staging vs. production `~/.cos.yaml` files. - Run `coscli ls` to verify target prefixes before `coscli cp` or `coscli sync`. - Require human confirmation before executing `coscli rm` with `-r` or `-f`.
Agent-Ready Command Recipes
Safe Read-Only Queries
coscli config show
Displays the active YAML configuration path and configured bucket aliases.
coscli ls cos://mybucket/releases/ -r
Lists matching COS keys recursively for verification before syncing.
Controlled Writes & Previews
coscli cp ./dist/ cos://mybucket/dist/ -r -c ~/.cos-staging.yaml
Uploads local files recursively using an explicit staging config file.
Strengths for Agents
- + Fast single Go binary with resumable multipart COS transfers and bucket aliases.
- + Explicit
-cconfig selection andCvmRolesupport simplify environment isolation. - + Official Apache-2.0 repository maintained by Tencent Cloud.
Caveats & Pitfalls
- ! No universal
--jsonoutput flag oncoscli lsor transfer commands. - ! Not packaged in Homebrew or npm; requires manual binary download from GitHub Releases.
Official References
Tested Agent Hosts
Follow Ecosystem Links
Related CLIs in Cloud & Infra
View category hub →Tailscale's netcat-like tool over its open-source data plane, without the control plane.
CNCF policy engine CLI for evaluating, testing, and formatting Rego policies as JSON.