{"_id":"@botrun/mcp-google-drive","_rev":"4-81c6be7e452a8b066946fd1ece37c644","name":"@botrun/mcp-google-drive","dist-tags":{"latest":"0.2.1"},"versions":{"0.1.0":{"name":"@botrun/mcp-google-drive","version":"0.1.0","keywords":["mcp","google-drive","google-docs","google-sheets"],"author":{"name":"Aidoer"},"license":"MIT","_id":"@botrun/mcp-google-drive@0.1.0","maintainers":[{"name":"aidoer","email":"aidoer@hotmail.com"},{"name":"bigcookie","email":"bigcookie.lee@cameo.tw"},{"name":"hsiehchenwei","email":"Hsiehchenwei@gmail.com"}],"homepage":"https://github.com/botrun/mcp-google-drive#readme","bugs":{"url":"https://github.com/botrun/mcp-google-drive/issues"},"bin":{"mcp-google-drive":"dist/index.js"},"dist":{"shasum":"7fbfed457f3dfdb0b5bfedcfcd81547b00ea930b","tarball":"https://registry.npmjs.org/@botrun/mcp-google-drive/-/mcp-google-drive-0.1.0.tgz","fileCount":10,"integrity":"sha512-05VG3aXeDU5iv92roxCfctWBozY5fYhwWGYH1JSzsa4kMcnIwcoz8pysz3iwbXb8z38nN3ByRlydrcxMZv+BlQ==","signatures":[{"sig":"MEUCIFumAi2oKYEpcLZW53P8EF6EpzbMnBda2tG7yqjHlAngAiEAti2QYhkCjPqM4ffaKN/+1FtsiQXacVKe5jYebViwXYk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":19487},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","gitHead":"008a62908dfa5aa56c45fe92917b6c61e731e3c2","scripts":{"dev":"tsc --watch","build":"tsc","start":"node dist/index.js","inspect":"npx @modelcontextprotocol/inspector node dist/index.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"aidoer","email":"aidoer@hotmail.com"},"repository":{"url":"git+https://github.com/botrun/mcp-google-drive.git","type":"git"},"_npmVersion":"10.8.0","description":"MCP server for Google Drive - list files, read content from Google Docs/Sheets/Slides","directories":{},"_nodeVersion":"20.12.2","dependencies":{"zod":"^3.24.0","googleapis":"^169.0.0","@modelcontextprotocol/sdk":"^1.25.1"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.7.2","@types/node":"^25.0.3"},"_npmOperationalInternal":{"tmp":"tmp/mcp-google-drive_0.1.0_1768748026797_0.6518527058887555","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@botrun/mcp-google-drive","version":"0.1.1","keywords":["mcp","google-drive","google-docs","google-sheets"],"author":{"name":"Aidoer"},"license":"MIT","_id":"@botrun/mcp-google-drive@0.1.1","maintainers":[{"name":"aidoer","email":"aidoer@hotmail.com"},{"name":"bigcookie","email":"bigcookie.lee@cameo.tw"},{"name":"hsiehchenwei","email":"Hsiehchenwei@gmail.com"}],"homepage":"https://github.com/botrun/mcp-google-drive#readme","bugs":{"url":"https://github.com/botrun/mcp-google-drive/issues"},"bin":{"mcp-google-drive":"dist/index.js"},"dist":{"shasum":"7aec809455a08512da4b943e75cbdb9c09ce6f7f","tarball":"https://registry.npmjs.org/@botrun/mcp-google-drive/-/mcp-google-drive-0.1.1.tgz","fileCount":10,"integrity":"sha512-lQZTS5ARxH7zJE+zsvDlO8xGjqmORHScAQ403GdPc3fGoJ50iNOUZK3La9ym+qEinjkbEhsm0y0FQltbI2BLFQ==","signatures":[{"sig":"MEYCIQCwM7j79ram8N+ZT8UmHFv21CgOXLPS4vr3qvwBY651awIhAPwKPrpeHIZs7vs0k47Xul7M3hewZn1PhE39v6WI4kci","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":19602},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","gitHead":"95f88527e3ab41455990c61549beb42fe9db5c2e","scripts":{"dev":"tsc --watch","build":"tsc","start":"node dist/index.js","inspect":"npx @modelcontextprotocol/inspector node dist/index.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"aidoer","email":"aidoer@hotmail.com"},"repository":{"url":"git+https://github.com/botrun/mcp-google-drive.git","type":"git"},"_npmVersion":"10.8.0","description":"MCP server for Google Drive - list files, read content from Google Docs/Sheets/Slides","directories":{},"_nodeVersion":"20.12.2","dependencies":{"zod":"^3.24.0","dotenv":"^17.3.1","googleapis":"^169.0.0","@modelcontextprotocol/sdk":"^1.25.1"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.7.2","@types/node":"^25.0.3"},"_npmOperationalInternal":{"tmp":"tmp/mcp-google-drive_0.1.1_1773715635176_0.868029247284726","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@botrun/mcp-google-drive","version":"0.2.0","keywords":["mcp","google-drive","google-docs","google-sheets"],"author":{"name":"Aidoer"},"license":"MIT","_id":"@botrun/mcp-google-drive@0.2.0","maintainers":[{"name":"aidoer","email":"aidoer@hotmail.com"},{"name":"bigcookie","email":"bigcookie.lee@cameo.tw"},{"name":"hsiehchenwei","email":"Hsiehchenwei@gmail.com"}],"homepage":"https://github.com/botrun/mcp-google-drive#readme","bugs":{"url":"https://github.com/botrun/mcp-google-drive/issues"},"bin":{"mcp-google-drive":"dist/index.js"},"dist":{"shasum":"39bd591758902d3baea194db38465ca9449696ae","tarball":"https://registry.npmjs.org/@botrun/mcp-google-drive/-/mcp-google-drive-0.2.0.tgz","fileCount":10,"integrity":"sha512-3LHCVWwdp+DGWd1BVF+vvlkFCFC/iM9lj/fwMwtTklgjV1Uuh1cVgQqWo2utzr/3zl8D1QlbDqJTrhHVYEUgMQ==","signatures":[{"sig":"MEYCIQC4+ao9ZvhDrKGYHtnMR3NkV9MYdjB3uQ3dshC4Uv7d5wIhAMDVPYkIHeUKNeAOckz7jD/NAYjVNtvn2EVUjsdGmkbc","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":21213},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","gitHead":"beb78702dd6bb2dec0cdb74c0e50fb07c30a96cb","scripts":{"dev":"tsc --watch","build":"tsc","start":"node dist/index.js","inspect":"npx @modelcontextprotocol/inspector node dist/index.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"aidoer","email":"aidoer@hotmail.com"},"repository":{"url":"git+https://github.com/botrun/mcp-google-drive.git","type":"git"},"_npmVersion":"10.8.0","description":"MCP server for Google Drive - list files, read content from Google Docs/Sheets/Slides","directories":{},"_nodeVersion":"20.12.2","dependencies":{"zod":"^3.24.0","dotenv":"^17.3.1","googleapis":"^169.0.0","@modelcontextprotocol/sdk":"^1.25.1"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.7.2","@types/node":"^25.0.3"},"_npmOperationalInternal":{"tmp":"tmp/mcp-google-drive_0.2.0_1773730403985_0.44477340081425787","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"@botrun/mcp-google-drive","version":"0.2.1","description":"MCP server for Google Drive - list files, read content from Google Docs/Sheets/Slides","type":"module","main":"dist/index.js","bin":{"mcp-google-drive":"dist/index.js"},"scripts":{"build":"tsc","start":"node dist/index.js","dev":"tsc --watch","inspect":"npx @modelcontextprotocol/inspector node dist/index.js","prepublishOnly":"npm run build"},"keywords":["mcp","google-drive","google-docs","google-sheets"],"author":{"name":"Aidoer"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/botrun/mcp-google-drive.git"},"homepage":"https://github.com/botrun/mcp-google-drive#readme","bugs":{"url":"https://github.com/botrun/mcp-google-drive/issues"},"dependencies":{"@modelcontextprotocol/sdk":"^1.25.1","dotenv":"^17.3.1","googleapis":"^169.0.0","zod":"^3.24.0"},"devDependencies":{"@types/node":"^25.0.3","typescript":"^5.7.2"},"_id":"@botrun/mcp-google-drive@0.2.1","gitHead":"8e2cde8fdcacffcc07f27701d49eba53804dd2e8","types":"./dist/index.d.ts","_nodeVersion":"20.12.2","_npmVersion":"10.8.0","dist":{"integrity":"sha512-FOZ/cwErbY2KVTFqVdKYK6ufS9sUpFCQrqGv0yhjtu9+k7PCkej3q3R+5TvDPi3z9wAdMejVVpG9Ir11JtKtuQ==","shasum":"a26c46849d09bc25886263176e48a1d5734e86e6","tarball":"https://registry.npmjs.org/@botrun/mcp-google-drive/-/mcp-google-drive-0.2.1.tgz","fileCount":10,"unpackedSize":21425,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIF6nsiSMsuQFVeGZ9uf0NtjSNgUuh61JnLsoNWL7TTuXAiEAodKq/q0lhLSC+FLdgcgWyI7Ns5bLRJngfFYgiHpVnT0="}]},"_npmUser":{"name":"aidoer","email":"aidoer@hotmail.com"},"directories":{},"maintainers":[{"name":"aidoer","email":"aidoer@hotmail.com"},{"name":"bigcookie","email":"bigcookie.lee@cameo.tw"},{"name":"hsiehchenwei","email":"Hsiehchenwei@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/mcp-google-drive_0.2.1_1773814985140_0.20540485185760637"},"_hasShrinkwrap":false}},"time":{"created":"2026-01-18T14:53:46.730Z","modified":"2026-03-18T06:23:05.456Z","0.1.0":"2026-01-18T14:53:46.936Z","0.1.1":"2026-03-17T02:47:15.333Z","0.2.0":"2026-03-17T06:53:24.130Z","0.2.1":"2026-03-18T06:23:05.293Z"},"bugs":{"url":"https://github.com/botrun/mcp-google-drive/issues"},"author":{"name":"Aidoer"},"license":"MIT","homepage":"https://github.com/botrun/mcp-google-drive#readme","keywords":["mcp","google-drive","google-docs","google-sheets"],"repository":{"type":"git","url":"git+https://github.com/botrun/mcp-google-drive.git"},"description":"MCP server for Google Drive - list files, read content from Google Docs/Sheets/Slides","maintainers":[{"name":"aidoer","email":"aidoer@hotmail.com"},{"name":"bigcookie","email":"bigcookie.lee@cameo.tw"},{"name":"hsiehchenwei","email":"Hsiehchenwei@gmail.com"}],"readme":"# @botrun/mcp-google-drive\n\nMCP (Model Context Protocol) server for Google Drive integration. List files, read content from Google Docs, Sheets, and Slides.\n\n## Features\n\n- 📁 **List Drive Files** - List all files in a Google Drive folder\n- 📄 **Get File Content** - Read content from Google Docs, Sheets, Slides, and other text files\n- 🔓 **Public Access** - Access public files without credentials\n- 🔐 **Private Access** - Access private files with Service Account\n\n## Installation\n\n```bash\nnpm install -g @botrun/mcp-google-drive\n```\n\nOr use with npx:\n\n```bash\nnpx @botrun/mcp-google-drive\n```\n\n## Setup in Cursor / Claude Desktop\n\nAdd to your MCP configuration file:\n\n### For Public Files Only (No credentials needed)\n\n```json\n{\n  \"mcpServers\": {\n    \"google-drive\": {\n      \"command\": \"npx\",\n      \"args\": [\"@botrun/mcp-google-drive\"]\n    }\n  }\n}\n```\n\n### For Private Files (Requires Service Account)\n\n```json\n{\n  \"mcpServers\": {\n    \"google-drive\": {\n      \"command\": \"npx\",\n      \"args\": [\"@botrun/mcp-google-drive\"],\n      \"env\": {\n        \"GOOGLE_APPLICATION_CREDENTIALS\": \"/path/to/your/credentials.json\"\n      }\n    }\n  }\n}\n```\n\n## Getting Service Account Credentials\n\n1. Go to [Google Cloud Console](https://console.cloud.google.com/)\n2. Create or select a project\n3. Enable the **Google Drive API**\n4. Go to **Credentials** → **Create Credentials** → **Service Account**\n5. Create the service account and download the JSON key file\n6. Share your Google Drive folder/files with the service account email\n\n## Available Tools\n\n### `list-drive-files`\n\nList all files in a Google Drive folder.\n\n**Input:**\n\n- `url` (required): Google Drive folder URL\n\n**Example:**\n\n```\nList files in https://drive.google.com/drive/folders/xxxxx\n```\n\n### `get-drive-file-content`\n\nGet the content of a single file.\n\n**Input:**\n\n- `fileUrl` (required): Google Drive file URL or file ID\n\n**Supported formats:**\n\n- Google Docs → Plain text\n- Google Sheets → CSV\n- Google Slides → Plain text\n- Other text files → Raw content\n\n**Example:**\n\n```\nRead content from https://docs.google.com/document/d/xxxxx/edit\n```\n\n## Output Format\n\nAll responses follow a consistent JSON format:\n\n```json\n{\n  \"isSuccess\": true,\n  \"result\": {\n    \"message\": \"Description\"\n    // ... data\n  }\n}\n```\n\n## Environment Variables\n\n| Variable                         | Required | Description                           |\n| -------------------------------- | -------- | ------------------------------------- |\n| `GOOGLE_APPLICATION_CREDENTIALS` | No       | Path to Service Account JSON key file |\n\n## License\n\nMIT\n","readmeFilename":"README.md"}