Skip to main content
Glama
ingsamcas

R2 Bucket MCP

by ingsamcas

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
R2_BUCKETYesBucket (default: apks)apks
R2_ENDPOINTNoEndpoint S3-compatible
R2_ACCOUNT_IDNoAlternative to endpoint explícito
R2_KEY_PREFIXNoPrefijo global opcional
R2_ACCESS_KEY_IDYesAccess key R2
R2_MAX_FILE_BYTESNoLímite validación MCP (default: 500 MB)
R2_PUBLIC_BASE_URLNoCDN pública; si falta, presigned URL
R2_SECRET_ACCESS_KEYYesSecret key R2
R2_PRESIGNED_TTL_SECSNoDefault: 604800 (7 días)

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
upload_fileB

Upload a local file to Cloudflare R2. filePath must be an absolute path on the host where this MCP runs. Returns downloadUrl (public CDN URL if R2_PUBLIC_BASE_URL is set, otherwise a presigned URL).

upload_apkA

Upload an Android APK to R2 using the convention {project}/{version}/{filename}. Prefer this tool for APK releases (vitalo, linkbox, nestle, diageo, contador, …).

list_filesA

List objects in the R2 bucket. Optional prefix filters keys (e.g. vitalo/ or vitalo/2.1.0/). Combines with global R2_KEY_PREFIX if set. Use continuationToken to paginate.

delete_fileA

Delete an object from R2 by key (e.g. vitalo/2.1.0/app-release.apk). Global R2_KEY_PREFIX is applied automatically if configured.

get_fileA

Get/download an object from R2 by key. Returns downloadUrl (public CDN or presigned). Optionally saves to a local filePath on the MCP host. Global R2_KEY_PREFIX is applied if configured.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4/5.0

Scored across 5 tools

Disambiguation5/5

Each tool has a clearly distinct purpose: delete, get, list, upload specifically for APKs, and general upload. No ambiguity between operations.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern in snake_case (delete_file, get_file, list_files, upload_apk, upload_file).

Tool Count5/5

Five tools cover the essential CRUD operations for interacting with an R2 bucket: get, delete, list, upload general, and upload for APKs. This is well-scoped.

Completeness5/5

The tool set covers the core lifecycle for objects in a bucket: listing, retrieving, deleting, and uploading (with a specialized variant for APKs). No obvious gaps for the stated purpose.

Maintenance

ActivityInactive
ResponsivenessNo issues