vkcloud-s3-mcp-ai-cli
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| VKCLOUD_S3_POOL | No | Signing pool | ru-msk |
| VKCLOUD_S3_ALLOW | No | Independent write,delete,admin levels; read only by default | |
| VKCLOUD_S3_ENDPOINT | No | Optional endpoint override | |
| VKCLOUD_S3_FILE_ROOT | No | Optional confined local file root | |
| VKCLOUD_S3_AUDIT_FILE | No | Optional private append-only audit output | |
| VKCLOUD_S3_ACCESS_KEY_ID | No | S3 access key ID | |
| VKCLOUD_S3_ALLOW_INSECURE | No | Set 1 only for explicit HTTP test endpoints | |
| VKCLOUD_S3_ALLOWED_BUCKETS | No | Comma-separated bucket scope | |
| VKCLOUD_S3_ALLOWED_PREFIXES | No | Comma-separated bucket/prefix/ scope | |
| VKCLOUD_S3_SECRET_ACCESS_KEY | No | S3 secret access key | |
| VKCLOUD_S3_DESTRUCTIVE_POLICY | No | VKCLOUD_S3_DESTRUCTIVE_POLICY | confirm |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Read-only by default. Get human approval for destructive operations. Transfer large bytes by presigned URLs or confined files.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| logging | {} |
| resources | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| s3_get_bucket_configA | Read a bucket's configuration in one call: location, versioning status, CORS rules, bucket policy JSON and Object Lock configuration; read-only. Use it before changing any of them with the s3_put_bucket_* tools. Each section holds its value (versioning status is empty when versioning was never enabled), {"status":"absent"} when nothing is configured, or {"status":"unsupported"} when the provider lacks the feature. Needs whole-bucket scope: fails with scope_denied when only some prefixes of the bucket are allowed. |
| s3_get_objectA | Return a small object's whole body inline as UTF-8 text or base64; read-only. Use it for objects up to 262144 bytes (256 KiB); to look at the start of a larger file use s3_preview_object, to save it to disk use s3_download_file, and to hand it over use s3_presign_get. Returns key, bytes, data, encoding and content_type. Fails instead of truncating when the object exceeds max_bytes, and fails on non-UTF-8 content unless encoding is base64. |
| s3_get_object_taggingA | Read the tag set of one object or of a specific version; read-only. Use it before s3_put_object_tagging, which replaces the whole set. Returns tags[] as Key/Value pairs; an object without tags returns an empty list. |
| s3_head_objectA | Read one object's metadata without downloading its body; read-only. Use it to check existence, size or content type before s3_get_object, s3_download_file or s3_presign_get. Returns key, size (bytes), etag, content_type, last_modified, version_id and user metadata. A missing key fails with a not-found error (NotFound or http_404). |
| s3_largest_objectsA | Find the largest objects under a prefix by scanning up to max_scan keys (default 10000); read-only. Use it to locate what consumes space; use s3_prefix_usage for totals per sub-prefix and s3_list_objects for plain browsing. Returns objects[] sorted by size descending (at most limit, default 10), scanned, partial and continuation_token. partial:true means the scan stopped early and the ranking covers only scanned keys; pass continuation_token to rank the next batch. |
| s3_list_bucketsA | List the buckets these credentials can see, filtered by the configured bucket scope; read-only, up to 1000 per page. Use it to discover bucket names; to list keys inside a bucket use s3_list_objects. Returns buckets[] (name, created_at) and continuation_token, which is empty on the last page. Buckets outside the allowed scope are omitted rather than reported as errors. |
| s3_list_multipart_uploadsA | List in-progress multipart uploads (started, not yet completed or aborted) in a bucket; read-only, one page of up to 1000. Use it for a raw page of uploads; use s3_unfinished_uploads to find uploads older than N hours across many pages, and s3_list_parts for the parts of one upload. Returns uploads[] (Key, UploadId, Initiated and more), truncated, continuation_token and upload_id_marker; send them back as continuation_token and upload_id for the next page. |
| s3_list_object_versionsA | List object versions and delete markers under a prefix; read-only, one page of up to 1000 entries. Use it to find a version_id to inspect or restore with s3_head_object, s3_get_object or s3_download_file; use s3_list_objects when only current objects matter. Returns versions[], delete_markers[], truncated, continuation_token and version_marker; send both markers back together for the next page. |
| s3_list_objectsA | List one page of current object keys under a prefix in a bucket; read-only. Use it to browse objects; use s3_list_object_versions for old versions and delete markers, and s3_largest_objects or s3_prefix_usage for size analysis across many pages. Returns objects[] (key, size in bytes, etag, last_modified, storage_class), truncated, and continuation_token for the next page. Fails with scope_denied outside the configured bucket/prefix scope. |
| s3_list_partsA | List the parts already uploaded for one multipart upload; read-only. Use it before s3_multipart_complete to collect part numbers and ETags, or to check upload progress. Returns parts[] (PartNumber, ETag, Size, LastModified), truncated and continuation_token (a part-number marker) for the next page. An unknown upload_id fails with NoSuchUpload. |
| s3_prefix_usageA | Sum bytes and object counts per first-level sub-prefix under prefix, scanning up to max_scan keys (default 10000); read-only. Use it to see which folders take space; use s3_largest_objects for individual files. Returns prefixes[] (prefix, bytes, count; objects directly under prefix are grouped under prefix itself), scanned, partial, continuation_token and next_result_offset when more than 1000 rows exist. partial:true means totals cover only the scanned keys; this is an estimate, not billing data. |
| s3_presign_getA | Create a time-limited signed HTTPS GET URL for one object; read-only, signs locally and does not check that the key exists. Use it to hand a large object to a human or another program instead of reading bytes through s3_get_object. Returns url, method, headers and expires_seconds (default 3600). Anyone holding the URL can download the object until it expires, so share it only with the intended recipient. |
| s3_preview_objectA | Read only the first bytes of an object (default and maximum 65536) with a ranged GET; read-only. Use it to inspect the format or header of a file of any size; use s3_get_object when you need the full body of a small object. Returns key, bytes, data, encoding (base64 is chosen automatically for binary data when encoding is omitted), content_type, detected_type (sniffed MIME type) and, for .csv keys or CSV content types, csv_header. |
| s3_unfinished_uploadsA | Find multipart uploads started more than older_than_hours ago (default 24), scanning up to max_scan uploads (default 10000); read-only. Use it to spot abandoned uploads that still occupy storage, then remove them with s3_multipart_abort; use s3_list_multipart_uploads for a raw page regardless of age. Returns uploads[] (key, upload_id, initiated; at most 1000), scanned, partial, continuation_token and upload_id_marker; when partial is true send both markers back to continue. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| capabilities | |
| config | |
| pools |
TDQS
Scored across 14 tools
Each tool has a clearly distinct target and action, and the descriptions explicitly cross-reference nearby alternatives (e.g. list_objects vs list_object_versions, get_object vs preview_object vs head_object, list_multipart_uploads vs unfinished_uploads). The overlap between object-reading tools is resolved by size, purpose, and output type.
All tools use the same s3_ prefix and snake_case, making the set easy to scan. Most names are verb-first, though a few are noun/adjective-first (s3_prefix_usage, s3_largest_objects, s3_unfinished_uploads), which is a minor inconsistency.
Fourteen tools is well within the appropriate range and each tool covers a specific inspection or access need. There is no obvious filler or duplicate tool in the set.
The read-only inspection surface is broad, covering buckets, objects, versions, tags, multipart uploads, parts, bucket config, size analysis, and presigning. However, there are notable lifecycle gaps: no write/update/delete tools, no download-to-disk tool, and no multipart complete/abort tools, despite several descriptions referencing such operations.