cloudflare-r2 — Claude Code MCP server for file uploads
cloudflare-r2 is a Claude Code MCP server that sends files to your Cloudflare R2 bucket and returns a shareable link.
Apache-2.0 ★ 10 updated 2026-11-16
Open on GitHubWhat cloudflare-r2 does
cloudflare-r2 uploads files to a Cloudflare R2 bucket you own, then provides a link to the uploaded file. Ask the agent to upload a file and it can call the server through MCP.
The connector requires your own Cloudflare R2 bucket. It belongs to the magoneai-mcp project, whose local setup instructions require Python 3.11 or later and installation from source.
What it helps with
- upload a file to a personal Cloudflare R2 bucket
- get a shareable link for an uploaded file
- share a file through its R2 link
Example prompts for the agent
- Upload
report.pdfto my Cloudflare R2 bucket and return the link. - Put
build.zipin my R2 bucket and give me a shareable link. - Upload
image.pngto Cloudflare R2 and send back its link.
How to install cloudflare-r2
Install
The MCP registry has no launch command for it: see the repository README
Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about cloudflare-r2
How do I install cloudflare-r2 in Claude Code?
The project’s local setup requires Python 3.11 or later and a source checkout. Its instructions use git clone https://github.com/magurelabs/magoneai-mcp, cd magoneai-mcp, python3.11 -m venv .venv && source .venv/bin/activate, then pip install -e ..
What does cloudflare-r2 do?
It uploads files to your Cloudflare R2 bucket and returns a link that can be shared.
What does cloudflare-r2 need to work?
You need your own Cloudflare R2 bucket.