
Remote Filesystem
com.pulsemcp由 pulsemcp.com 发布v0.1.5更新于 Oct 24, 2026
MCP server for remote filesystem operations on cloud storage (Google Cloud Storage).
概览
一个本地 MCP 服务器,让助手在 Google Cloud Storage 存储桶中上传、下载、列出、修改和删除文件。
- 可以做什么
- 从本地路径或 base64 数据上传文件到存储桶路径,可设为公开或指定内容类型与元数据。以文本或 base64 形式下载文件,便于处理二进制数据。按前缀筛选并限制数量地列出文件和目录。修改文件属性,如公开/私有、内容类型和自定义元数据,并为私有文件生成签名链接。从存储桶中删除文件。
- 适用场景
- 适合助手需要读写 Google Cloud Storage 存储桶中的文件时使用,例如保存截图、报告或生成的文件,或读取已有对象而无需单独上传步骤。只读模式适合只需查看和获取文件的助手。
- 运行要求
- 通过 npx 在本地运行,需要 Node.js。需要 GCS_BUCKET 指定存储桶名称,并提供一种认证方式:内联服务账号凭据(GCS_CLIENT_EMAIL 与 GCS_PRIVATE_KEY)、GOOGLE_APPLICATION_CREDENTIALS 指定的密钥文件路径,或应用默认凭据。可选配置包括 GCS_PROJECT_ID、GCS_ROOT_PATH、GCS_MAKE_PUBLIC 和 ENABLED_TOOLGROUPS。
安装
在 SourceWeft 中
- 打开 控制台中的 Remote Filesystem,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
Remote Filesystem MCP Server
An MCP server for remote filesystem operations on cloud storage providers. Currently supports Google Cloud Storage (GCS), with plans for S3, Cloudflare R2, and more.
Features
- Upload files to cloud storage with public/private access control
- Download files as text or base64 (for binary files)
- List files and directories with prefix filtering
- Modify file properties (public/private, content type, metadata)
- Delete files from remote storage
- Root path constraint to restrict access within bucket
- Toolset groups for permission-based access control
- Inline credentials support (no JSON key file needed)
- Signed URL generation for private files
Installation
npm install remote-filesystem-mcp-server
Or run directly with npx:
npx remote-filesystem-mcp-server
Configuration
Environment Variables
| Variable | Required | Description | Default |
|---|---|---|---|
GCS_BUCKET | Yes | GCS bucket name | - |
GCS_PROJECT_ID | No | Google Cloud project ID | Auto |
GCS_CLIENT_EMAIL | No* | Service account email (inline creds) | - |
GCS_PRIVATE_KEY | No* | Service account private key (inline) | - |
GOOGLE_APPLICATION_CREDENTIALS | No* | Path to service account key file | - |
GCS_ROOT_PATH | No | Root path prefix - restricts access | None |
GCS_MAKE_PUBLIC | No | Make files publicly accessible | false |
ENABLED_TOOLGROUPS | No | Tool groups: readonly, readwrite | All |
* One authentication method required: inline credentials OR key file OR ADC
Claude Desktop Configuration
{
"mcpServers": {
"remote-filesystem": {
"command": "npx",
"args": ["-y", "remote-filesystem-mcp-server"],
"env": {
"GCS_BUCKET": "your-bucket-name",
"GCS_CLIENT_EMAIL": "[email protected]",
"GCS_PRIVATE_KEY": "-----BEGIN PRIVATE KEY-----\n...",
"GCS_ROOT_PATH": "uploads/"
}
}
}
}
Tools
upload
Upload a file to the remote filesystem.
Parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
source | string | Yes | File path (file://...) or base64 data |
path | string | No | Destination path (auto-generated if none) |
contentType | string | No | MIME type (auto-detected if not provided) |
makePublic | boolean | No | Override default public/private setting |
Example:
upload({
source: 'file:///tmp/screenshot.png',
path: 'screenshots/pr-123.png',
makePublic: true,
});
download
Download a file from the remote filesystem.
Parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
path | string | Yes | Path to the file |
asBase64 | boolean | No | Return as base64 (for binary data) |
Example:
download({
path: 'screenshots/pr-123.png',
asBase64: true,
});
list_files
List files and directories in the remote filesystem.
Parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
prefix | string | No | Directory prefix to list |
maxResults | number | No | Maximum files to return |
Example:
list_files({
prefix: 'screenshots/',
maxResults: 100,
});
modify
Modify file properties.
Parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
path | string | Yes | Path to the file |
makePublic | boolean | No | Make file public |
makePrivate | boolean | No | Make file private |
contentType | string | No | New MIME type |
metadata | object | No | Custom metadata key-value |
Example:
modify({
path: 'reports/doc.pdf',
makePublic: true,
metadata: { author: 'claude' },
});
delete_file
Delete a file from the remote filesystem.
Parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
path | string | Yes | Path to the file |
Example:
delete_file({
path: 'temp/old-file.txt',
});
Toolset Groups
The server supports permission-based access control via tool groups:
readonly: Onlydownloadandlist_filestools are availablereadwrite: All tools are available (includes readonly tools)
Set ENABLED_TOOLGROUPS=readonly to restrict to read-only operations.
Authentication
The server supports multiple authentication methods:
1. Inline Credentials (Recommended)
[email protected]
GCS_PRIVATE_KEY="-----BEGIN PRIVATE KEY-----\n...\n-----END PRIVATE KEY-----\n"
2. Key File
GOOGLE_APPLICATION_CREDENTIALS=/path/to/service-account.json
3. Application Default Credentials (ADC)
gcloud auth application-default login
License
MIT
来源:experimental/remote-filesystem/README.md,提交 0ed34de
工具
0版本历史
1- v0.1.5最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分