By dwiblr
Upload screenshots and files to Cloudflare R2, get shareable pre-signed URLs. Exposes upload_file and screenshot_and_upload MCP tools.
MCP server that lets AI assistants upload screenshots and files to Cloudflare R2 and return shareable pre-signed URLs.
Works with: Claude Code, Cursor (Desktop + CLI)
Run the interactive setup on any machine:
npx -y github:dwiblr/r2-sharebox setup
This will ask for your R2 credentials and automatically configure Claude Code and Cursor.
Then restart Claude Code / Cursor — the tools are available immediately.
| Tool | Description |
|---|---|
upload_file(path) | Upload any file by path, get a pre-signed URL |
screenshot_and_upload() | Take a screenshot, upload it, get a pre-signed URL |
Just ask naturally:
/tmp/recording.mp4 to R2"If you prefer to configure manually, add this to your MCP config:
Claude Code (~/.claude/claude_mcp_config.json):
{
"mcpServers": {
"r2-sharebox": {
"command": "npx",
"args": ["-y", "github:dwiblr/r2-sharebox"],
"env": {
"R2_ACCOUNT_ID": "...",
"R2_ACCESS_KEY_ID": "...",
"R2_SECRET_ACCESS_KEY": "...",
"R2_BUCKET_NAME": "...",
"R2_PREFIX": "from-ai"
}
}
}
}
Cursor (~/.cursor/mcp.json) — same format.
| Var | Required | Default | Description |
|---|---|---|---|
R2_ACCOUNT_ID | ✅ | — | Cloudflare account ID |
R2_ACCESS_KEY_ID | ✅ | — | R2 API access key |
R2_SECRET_ACCESS_KEY | ✅ | — | R2 API secret |
R2_BUCKET_NAME | ✅ | — | Target bucket |
R2_PREFIX | — | (root) | Folder prefix, e.g. from-ai |
R2_URL_EXPIRY | — | 604800 | Pre-signed URL TTL in seconds (7 days) |
Requires secrets
Needs API keys or credentials to function
Based on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimnpx claudepluginhub dwiblr/r2-sharebox --plugin r2-shareboxHarness-native ECC operator layer - 67 agents, 271 skills, 92 legacy command shims, reusable hooks, rules, selective install profiles, and production-ready workflows for Claude Code, Codex, OpenCode, Cursor, and related agent harnesses
Reliable automation, in-depth debugging, and performance analysis in Chrome using Chrome DevTools and Puppeteer
Plugin that includes the Figma MCP server and Skills for common workflows
Production-grade vibe coding suite. Structured workflows from discovery to deployment: start, build, ship, fix, refactor.
Connect to Atlassian products including Jira and Confluence. Search and create issues, access documentation, manage sprints, and integrate your development workflow with Atlassian's collaboration tools.