s3cmd
$ s3cmd Community Med Risks3cmd is a long-standing Python command-line client for Amazon S3 and S3-compatible object storage providers. It handles bucket lifecycle ops, s3cmd sync with --dry-run, and ACL management, though it lacks native JSON output.
brew install s3cmd Object storage transfers and s3cmd sync belong in local CLI tools (s5cmd or s3cmd), not MCP servers.
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 --dry-run and non-interactive subcommands once ~/.s3cfg is configured, but lacks --json output and prints free-form text.
- No
--jsonoutput flag acrossls,info, orsync s3cmd --configureis an interactive wizard
Offers --dry-run (-n) for transfer commands, though ~/.s3cfg stores plaintext access keys and sync --delete-removed / del --recursive can wipe buckets.
- Supports
--dry-runbeforesyncorput ~/.s3cfgstores unencrypted static credentials
Available via Homebrew and pip install s3cmd, though it requires a Python 3 runtime and slower startup than Go binaries.
- Python package distributed via PyPI and Homebrew
Broad support for legacy S3-compatible providers, but slower single/low-concurrency execution than s5cmd or mc.
- Mature S3 and custom-endpoint support, slower than Go tools
Established community project (s3tools/s3cmd) under GPL-2.0 with slower release cadence.
- Maintained at
s3tools/s3cmdunder GPL-2.0
Well-documented man pages and usage guides at s3tools.org.
- Detailed CLI usage docs at s3tools.org/usage
Security, Auth & Guardrails
Reads INI credentials from ~/.s3cfg (created via s3cmd --configure) or --access_key / --secret_key / AWS_ACCESS_KEY_ID.
GPL-2.0 open-source CLI; standard S3 storage and request fees apply.
# s3cmd Agent Rules - Always run `s3cmd sync --dry-run` before any `sync` command. - Never pass `--delete-removed`, `s3cmd del --recursive`, or `s3cmd rb --force` without explicit user approval. - Avoid `s3cmd --configure` in headless sessions; ensure `~/.s3cfg` exists beforehand.
Agent-Ready Command Recipes
Safe Read-Only Queries
s3cmd ls s3://my-bucket/
Lists bucket prefixes and object timestamps/sizes in plain text.
--dry-run s3cmd sync --dry-run ./dist/ s3://my-bucket/site/
Prints planned upload/delete actions without transferring or modifying objects.
Controlled Writes & Previews
s3cmd put ./build.tar.gz s3://my-bucket/releases/build.tar.gz
Uploads a known file path deterministically without --delete-removed.
Strengths for Agents
- + Supports
--dry-runonsync,put, andgetto preview changes safely. - + Wide compatibility with S3-compatible providers via custom
~/.s3cfghost configs. - + Familiar UNIX-like
ls,put,get,du, andmbverbs.
Caveats & Pitfalls
- ! No
--jsonoutput format—agents must parse human-formatted stdout lines. - ! Stores plaintext credentials in
~/.s3cfgand is much slower thans5cmdon large buckets.