最后更新:2026 年 9 月 4 日
MCP Relay 是一个运行在开发者本人 macOS 设备上的本地命令行工具,用于把 Google Drive 与 Dropbox Dash 的内容接入本地 AI 助手。它不是面向公众的服务,没有服务器端组件, 也不为开发者本人以外的任何人提供访问。
Google 账号方面,本应用仅申请一项权限:
https://www.googleapis.com/auth/drive.readonly —— 只读访问 Google 云端硬盘该权限在技术上不具备写入能力:本应用无法创建、修改、删除、移动文件,也无法更改共享设置。 这不是靠自我约束,而是由授权令牌本身的范围决定的。
本应用同时可连接 Dropbox Dash(权限为 account_info.read、
dash/content.read、dash/content.write),该部分与 Google 账号数据无关。
service = mcp-relay。本应用在代码层面限定了可访问的主机,除下列地址外无法发起任何网络请求:
accounts.google.com、oauth2.googleapis.com、www.googleapis.comwww.dropbox.com、api.dropboxapi.com、mcp.dropbox.com不存在任何第三方服务器、分析服务或遥测上报。您的文件内容只在 Google 的接口与本机进程之间流动。
本应用向标准错误输出诊断日志,内容限于接口名称、HTTP 状态码、耗时与连接状态。 访问令牌、刷新令牌、客户端密钥、授权码与文件正文均被明确排除在日志之外,调试模式亦不例外。
您可以随时在
Google 账号的第三方应用页面
撤销本应用的访问权限。在本机执行 mcp-relay logout google-drive
会删除钥匙串中保存的凭据。
如有疑问,请联系 zhangbaiyu@gmail.com。
Last updated: 4 September 2026
MCP Relay is a local command-line tool that runs on the developer's own macOS machine. It connects Google Drive and Dropbox Dash content to a local AI assistant. It is not a public service, has no server-side component, and is not made available to anyone other than the developer.
For Google accounts, the application requests exactly one scope:
https://www.googleapis.com/auth/drive.readonly — read-only access to Google DriveThis scope is technically incapable of writing: the application cannot create, modify, delete or move files, nor change sharing settings. This is enforced by the token itself, not by convention.
The application can also connect to Dropbox Dash (scopes account_info.read,
dash/content.read, dash/content.write). That connection is unrelated
to Google account data.
service = mcp-relay.The application enforces a host allowlist in code and cannot reach any other host:
accounts.google.com, oauth2.googleapis.com, www.googleapis.comwww.dropbox.com, api.dropboxapi.com, mcp.dropbox.comThere are no third-party servers, analytics services or telemetry. Your file content moves only between Google's APIs and the local process.
Diagnostic logs are written to standard error and are limited to endpoint names, HTTP status codes, timings and connection state. Access tokens, refresh tokens, client secrets, authorization codes and file contents are explicitly excluded, including in debug mode.
You may revoke this application's access at any time from your
Google Account third-party
apps page. Running mcp-relay logout google-drive locally deletes the stored
credential from the Keychain.
Questions: zhangbaiyu@gmail.com