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)

Capabilities

Features and capabilities supported by this server

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ingsamcas/r2_mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server