orca-drive-sa-mcp
ORCA Drive SA MCP
一个模型上下文协议(MCP)服务器,通过 Streamable HTTP 暴露 Google Drive 文件夹,并部署为 Vercel serverless 函数。
它通过 Google 服务账号(Drive API v3,只读作用域)读取 Google Drive,因此无需 Apps Script Web 应用。
工具
工具 | 描述 |
| 列出文件夹中的文件(默认为 |
| 按名称子串搜索文件 |
| 按 ID 获取单个文件的元数据 |
| 读取文件的文本内容(JSON、CSV、TXT 等) |
Related MCP server: Google Drive MCP Server
1. 创建 Google 服务账号
前往 https://console.cloud.google.com 并创建(或选择一个)项目。
启用 Google Drive API(APIs & Services → Library → "Google Drive API")。
创建服务账号:
APIs & Services → Credentials → Create credentials → Service account。
为其命名,点击 Create and continue,然后点击 Done。
生成密钥:
打开服务账号 → Keys → Add key → Create new key → JSON。
下载 JSON 密钥文件。
复制服务账号邮箱(例如
orca-drive@my-project.iam.gserviceaccount.com)。将目标 Drive 文件夹共享给该邮箱(在 Drive 中右键单击文件夹 → Share → 粘贴该邮箱 → Viewer)。
只有与服务账号共享的文件/文件夹才能被访问。
2. 配置环境变量
将 .env.example 复制为 .env(本地开发),并在 Vercel(Project > Settings > Environment Variables)中设置相同的值:
变量 | 描述 |
| 完整的 JSON 密钥内容(单行) |
| 如果 JSON 值是 base64 编码,则设置为 |
| 要列出的默认文件夹 ID |
3. 本地运行
npm install
vercel dev使用 MCP Inspector(npx @modelcontextprotocol/inspector)并通过传输方式 Streamable HTTP 和 URL http://localhost:3000/ 进行测试。
4. 部署到 Vercel
vercel --prod你的端点将是 https://<project>.vercel.app/。
5. 连接客户端
Claude Desktop(claude_desktop_config.json):
{
"mcpServers": {
"orca-drive-sa": {
"type": "http",
"url": "https://<project>.vercel.app/"
}
}
}Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
An MCP server that provides read access to your cloud storage providers, bank accounts and more.
Agent-native MCP server over the public saagarpatel.dev corpus. Read-only, stateless.
Streamable HTTP MCP server for Google Calendar and Sheets with OAuth login.
MCP server for RiverScript, an AI transcription platform - fetches transcripts shared via a link.
Related MCP Servers
- -licenseNot gradedqualityBmaintenanceThis MCP server integrates with Google Drive to allow listing, reading, and searching over files.5,582 npm92,301MIT
- AlicenseNot gradedqualityDmaintenanceA server that provides a Machine Control Protocol (MCP) interface to search, access, and interact with Google Drive files and folders, enabling AI assistants to work with Google Drive content.8MIT
- FlicenseNot gradedqualityCmaintenanceAn MCP server that enables interaction with Google Drive through the Google Cloud API. It allows users to list, read, and upload files directly from MCP-compatible clients like manus.im or Cursor.-
- AlicenseAqualityDmaintenanceA local MCP server that enables LLMs to securely search and read files within designated Google Drive folders. Supports Google Docs, Google Sheets, PDFs, and plain text with strict folder-scoping via service account authentication.4MIT