R2 Bucket MCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| R2_BUCKET | Yes | Bucket (default: apks) | apks |
| R2_ENDPOINT | No | Endpoint S3-compatible | |
| R2_ACCOUNT_ID | No | Alternative to endpoint explícito | |
| R2_KEY_PREFIX | No | Prefijo global opcional | |
| R2_ACCESS_KEY_ID | Yes | Access key R2 | |
| R2_MAX_FILE_BYTES | No | Límite validación MCP (default: 500 MB) | |
| R2_PUBLIC_BASE_URL | No | CDN pública; si falta, presigned URL | |
| R2_SECRET_ACCESS_KEY | Yes | Secret key R2 | |
| R2_PRESIGNED_TTL_SECS | No | Default: 604800 (7 días) |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| 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
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
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