Skip to content
Cursor

cloudflare r2 for Cursor

io.github.magurelabs/cloudflare-r2

Upload files to your own Cloudflare R2 bucket and get a shareable link.

client:Cursor transport:stdio runtime:oci

Install cloudflare r2 in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "cloudflare-r2": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "docker.io/magureai/mcp-cloudflare-r2:2.0.0"
      ],
      "env": {
        "MCP_MODE": "<MCP_MODE>",
        "MCP_SERVICE_TOKEN": "<MCP_SERVICE_TOKEN>"
      }
    }
  }
}

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

cloudflare r2 in other clients