# remote-filesystem

An MCP server that lets your agent work with a Google Cloud Storage bucket: upload, download, list, edit properties and delete files.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 81
- Author: pulsemcp
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/pulsemcp/mcp-servers/tree/HEAD/experimental/remote-filesystem
- Updated: 2026-10-09
- HTML: https://affpapa.org/en/nevibecode/mcp/remote-filesystem

## What it does

Five tools come with the server: `upload`, `download`, `list_files`, `modify` and `delete_file`. Uploads take a `file://...` path or base64 data, downloads return text or base64 for binaries, and private objects can be handed out as signed URLs. Listing accepts a prefix filter and a result cap.

Access is fenced in two ways. `GCS_ROOT_PATH` pins the server to one prefix inside the bucket. Setting `ENABLED_TOOLGROUPS=readonly` strips everything except `download` and `list_files`, which is what you want when the agent should only look. Files stay private unless you flip `GCS_MAKE_PUBLIC` or pass `makePublic` on a single call.

Only `GCS_BUCKET` is required. Pick one auth route: inline credentials with `GCS_CLIENT_EMAIL` and `GCS_PRIVATE_KEY`, a key file via `GOOGLE_APPLICATION_CREDENTIALS`, or ADC after `gcloud auth application-default login`. No working credentials means no bucket. Google Cloud Storage is the only provider today; S3 and Cloudflare R2 are listed as future work.

## Requirements
- Needs: Node.js (commands run via npx)
- Environment variables: `GCS_BUCKET`, `GCS_PROJECT_ID`, `GCS_CLIENT_EMAIL`, `GCS_PRIVATE_KEY`, `GOOGLE_APPLICATION_CREDENTIALS`, `GCS_ROOT_PATH`, `GCS_MAKE_PUBLIC`, `ENABLED_TOOLGROUPS` — keys and tokens: ask the human for the values, never commit them or put them in shared files.

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add --env GCS_BUCKET=<GCS_BUCKET> --env GCS_PROJECT_ID=<GCS_PROJECT_ID> --env GCS_CLIENT_EMAIL=<GCS_CLIENT_EMAIL> --env GCS_PRIVATE_KEY=<GCS_PRIVATE_KEY> --env GOOGLE_APPLICATION_CREDENTIALS=<GOOGLE_APPLICATION_CREDENTIALS> --transport stdio remote-filesystem -- npx -y remote-filesystem-mcp-server
```
Replace <…> with your own values. 3 more environment variables are in the server README

### Codex

**Platform CLI**
```bash
codex mcp add remote-filesystem --env GCS_BUCKET=<GCS_BUCKET> --env GCS_PROJECT_ID=<GCS_PROJECT_ID> --env GCS_CLIENT_EMAIL=<GCS_CLIENT_EMAIL> --env GCS_PRIVATE_KEY=<GCS_PRIVATE_KEY> --env GOOGLE_APPLICATION_CREDENTIALS=<GOOGLE_APPLICATION_CREDENTIALS> -- npx -y remote-filesystem-mcp-server
```
Replace <…> with your own values. 3 more environment variables are in the server README

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "remote-filesystem": {
            "command": "npx",
            "args": [
                "-y",
                "remote-filesystem-mcp-server"
            ],
            "env": {
                "GCS_BUCKET": "<GCS_BUCKET>",
                "GCS_PROJECT_ID": "<GCS_PROJECT_ID>",
                "GCS_CLIENT_EMAIL": "<GCS_CLIENT_EMAIL>",
                "GCS_PRIVATE_KEY": "<GCS_PRIVATE_KEY>",
                "GOOGLE_APPLICATION_CREDENTIALS": "<GOOGLE_APPLICATION_CREDENTIALS>"
            }
        }
    }
}
```
Replace <…> with your own values. 3 more environment variables are in the server README

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "remote-filesystem": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "remote-filesystem-mcp-server"
            ],
            "env": {
                "GCS_BUCKET": "<GCS_BUCKET>",
                "GCS_PROJECT_ID": "<GCS_PROJECT_ID>",
                "GCS_CLIENT_EMAIL": "<GCS_CLIENT_EMAIL>",
                "GCS_PRIVATE_KEY": "<GCS_PRIVATE_KEY>",
                "GOOGLE_APPLICATION_CREDENTIALS": "<GOOGLE_APPLICATION_CREDENTIALS>"
            }
        }
    }
}
```
Replace <…> with your own values. 3 more environment variables are in the server README

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add -e GCS_BUCKET=<GCS_BUCKET> -e GCS_PROJECT_ID=<GCS_PROJECT_ID> -e GCS_CLIENT_EMAIL=<GCS_CLIENT_EMAIL> -e GCS_PRIVATE_KEY=<GCS_PRIVATE_KEY> -e GOOGLE_APPLICATION_CREDENTIALS=<GOOGLE_APPLICATION_CREDENTIALS> remote-filesystem npx -y remote-filesystem-mcp-server
```
Replace <…> with your own values. 3 more environment variables are in the server README

## When to use it
- push a screenshot to the bucket and get a public link
- pull a binary object back as base64
- browse a bucket folder with a prefix filter
- change an object's content type and metadata
- drop a temp file from cloud storage inside the agent session

## Example prompts
- Upload `screenshots/pr-123.png` to the bucket and make it public
- List files under `uploads/`, cap at 50
- Download `reports/doc.pdf` from GCS as base64

## Similar
- [mcp-server](https://affpapa.org/en/nevibecode/mcp/mcp-server.md) — MCP server · ★ 43872
- [Coder](https://affpapa.org/en/nevibecode/mcp/coder.md) — MCP server · ★ 17160
- [firebase-mcp](https://affpapa.org/en/nevibecode/mcp/firebase-mcp.md) — MCP server · ★ 4481
- [Radar Kubernetes MCP Server](https://affpapa.org/en/nevibecode/mcp/radar-kubernetes-mcp-server.md) — MCP server · ★ 3905
- [Supabase](https://affpapa.org/en/nevibecode/mcp/supabase.md) — MCP server · ★ 2969
- [Microsoft Fabric MCP Server](https://affpapa.org/en/nevibecode/mcp/microsoft-fabric-mcp-server.md) — MCP server · ★ 3799

From the same set: [pulsemcp/mcp-servers](https://affpapa.org/en/nevibecode/by/pulsemcp/mcp-servers.md) — 17 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
