digital-drive-mcp
digital-drive-mcp
一个模型上下文协议(MCP)服务器,让 AI 代理可以浏览和读取 Akij Resource Digital Management Google Drive 文件夹(公开链接)。使用 TypeScript + 官方 MCP SDK 构建,采用 Streamable HTTP 传输,可部署在 Vercel 上。
工具
工具 | 描述 |
| 5 个团队成员子文件夹(名称 + 文件夹 ID) |
| 任何 Drive 文件夹中的文件/子文件夹(默认为根目录) |
| 所有 5 个子文件夹中每个文件的扁平化列表 |
| 以文本形式读取文件内容(Google 文档/表格/幻灯片、Word/Excel/PPT、markdown/HTML) |
| 文件的直接下载 URL |
Related MCP server: gdrive-mcp-server
如何读取文件(无需凭据)
该文件夹是公开的("拥有链接的任何人"),因此服务器使用 Google 的公共端点:
列出 — 抓取
drive.google.com/drive/folders/<id>并解析嵌入的_DRIVE_ivdJSON。Google 文档/表格/幻灯片 — 通过
docs.google.com/.../export?format=txt|csv导出。Office 文件(.xlsx/.docx/.pptx) — 下载并使用
fflate在内存中解析(ZIP + XML → 文本)。文本/HTML/Markdown — 下载并原样返回。
本地开发
npm install
npm run dev # HTTP server on http://localhost:3000/mcp
# or
npm run stdio部署
vercel --prod
# endpoint: https://<project>.vercel.app/api/mcp连接
{
"mcp": {
"digital-drive-mcp": {
"type": "remote",
"url": "https://<project>.vercel.app/api/mcp",
"enabled": true
}
}
}如果 Drive 文件夹被设为私有,列出/读取将失败 — 请改用 Google 服务账号 + Drive API,或保持文件夹共享。
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
Your org's AI agents, tasks, runs, search, and brain files as MCP tools and resources.
Read-only MCP tools for AI agent discovery, structured resources, and NIULAI information.
Browse and manage files in your Moxt AI workspace from any MCP client.
OCR, transcription, file extraction, and image generation for AI agents via MCP.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables AI assistants to securely access and manage Google Drive files and Google Sheets within a specified folder scope, with support for reading various file types including PDFs and Excel.79 npm1MIT
- FlicenseNot gradedqualityDmaintenanceEnables MCP-compatible AI assistants to interact with a user's Google Drive, including listing, searching, reading, creating, updating, and deleting files, with authentication via Google OAuth.-
- FlicenseNot gradedqualityDmaintenanceEnables LLM agents to list Google Drive files, read/write Google Sheets, and query external REST APIs through MCP tools.-
- FlicenseNot gradedqualityDmaintenanceEnables interacting with Google Drive folders through an MCP server, allowing listing, searching, and reading files using tools like list_files, search_files, get_file, and read_file.-