mcp
v0.1.2An MCP server that lets agents manage Shelby buckets
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
get_shelby_agent_key_info
Describe the configured agent key: its name, expiry, whether it's read-only, the projects and buckets it reaches, and the local directories this MCP may use. Never returns the key itself.
list_shelby_buckets
List the Shelby buckets this key can reach, with the project each is in, its S3 bucket name (s3_bucket) and its account address. Also says where new buckets can be created.
get_shelby_bucket
Get one Shelby bucket by name: its project, S3 bucket name (s3_bucket) and on-chain account.
| Parameter | Type | Description |
|---|---|---|
bucket * | string | The bucket name, as shown by list_shelby_buckets. |
organization | string | The organization name. Only needed for unscoped bot keys that reach several organizations. |
project | string | The project name. Only needed when the key reaches several buckets with the same name, or several projects to create in. |
create_shelby_bucket
Create a Shelby bucket and the managed on-chain account that owns its data. Pass a project when the key can create in several (list_shelby_buckets shows where). With an unscoped bot key this also creates an API key, the S3 credential, and returns its secret once.
| Parameter | Type | Description |
|---|---|---|
name * | string | The bucket name, which is also its S3 bucket name. Must be 3-32 characters: lowercase letters, numbers and dashes, starting and ending with a letter or number, with at least one letter. Must not look… |
api_key_name | string | Unscoped bot keys only: name of the API key created with the bucket. Defaults to 'api-key-01'. |
organization | string | The organization name. Only needed for unscoped bot keys that reach several organizations. |
project | string | The project name. Only needed when the key reaches several buckets with the same name, or several projects to create in. |
rename_shelby_bucket
Rename a Shelby bucket's display name. Its S3 bucket name (s3_bucket) and account address do not change, so existing S3 clients keep working.
| Parameter | Type | Description |
|---|---|---|
bucket * | string | The bucket name, as shown by list_shelby_buckets. |
new_name * | string | The new bucket name. Must be 3-32 characters: lowercase letters, numbers, dashes and underscores. |
organization | string | The organization name. Only needed for unscoped bot keys that reach several organizations. |
project | string | The project name. Only needed when the key reaches several buckets with the same name, or several projects to create in. |
delete_shelby_bucket
Delete a Shelby bucket and everything in it. This cannot be undone. Retrying after a partial failure is safe.
| Parameter | Type | Description |
|---|---|---|
bucket * | string | The bucket name, as shown by list_shelby_buckets. |
organization | string | The organization name. Only needed for unscoped bot keys that reach several organizations. |
project | string | The project name. Only needed when the key reaches several buckets with the same name, or several projects to create in. |
list_shelby_objects
List objects in a Shelby bucket, optionally under a prefix. Pages of up to 1000; pass next_continuation_token to get the next page.
| Parameter | Type | Description |
|---|---|---|
bucket * | string | The bucket name, as shown by list_shelby_buckets. |
continuation_token | string | next_continuation_token from the previous page. |
delimiter | string | Group keys by this, usually "/", to list one level at a time. |
max_keys | integer | |
organization | string | The organization name. Only needed for unscoped bot keys that reach several organizations. |
prefix | string | Only list keys starting with this. |
project | string | The project name. Only needed when the key reaches several buckets with the same name, or several projects to create in. |
upload_shelby_object
Upload a local file to a Shelby bucket. Streams the file, using a multipart upload for large files. Only files inside the allowed directories can be read (/tmp).
| Parameter | Type | Description |
|---|---|---|
bucket * | string | The bucket name, as shown by list_shelby_buckets. |
local_path * | string | The file to upload. Relative paths start at the first allowed directory. |
content_type | string | |
key | string | The object key. Defaults to the file's name. |
organization | string | The organization name. Only needed for unscoped bot keys that reach several organizations. |
project | string | The project name. Only needed when the key reaches several buckets with the same name, or several projects to create in. |
download_shelby_object
Download an object from a Shelby bucket to a local file. Only paths inside the allowed directories can be written (/tmp). Won't replace an existing file unless overwrite is set.
| Parameter | Type | Description |
|---|---|---|
bucket * | string | The bucket name, as shown by list_shelby_buckets. |
key * | string | The object key to download. |
local_path | string | Where to save it. Relative paths start at the first allowed directory. Defaults to the key's last segment. |
organization | string | The organization name. Only needed for unscoped bot keys that reach several organizations. |
overwrite | boolean | Replace an existing file. Defaults to false. |
project | string | The project name. Only needed when the key reaches several buckets with the same name, or several projects to create in. |
get_shelby_s3_connection_guide
Get the guide and sample code (boto3, AWS SDK v3, AWS CLI) for reading and writing objects in a Shelby bucket over the S3 API. Use this before writing any code that uploads to or downloads from a Shelby bucket.
| Parameter | Type | Description |
|---|---|---|
bucket | string | The bucket's S3 bucket name (`s3_bucket` from list/get/create). Filled into the sample code when provided. |
get_mcp_version
Returns the version of the MCP server