{"_id":"@dru-ca/google-workspace-mcp","name":"@dru-ca/google-workspace-mcp","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@dru-ca/google-workspace-mcp","version":"1.0.0","description":"Google Workspace MCP Server with full Sheets read/write support and Chat message reading","main":"dist/index.js","bin":{"google-workspace-mcp":"bin/cli.js"},"type":"commonjs","scripts":{"build":"node esbuild.config.js","prepublishOnly":"npm run build"},"keywords":["mcp","model-context-protocol","google-workspace","gmail","calendar","drive","docs","sheets","chat","claude"],"author":{"name":"Dru Carpenter"},"license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/dru-ca/google-workspace-mcp.git"},"publishConfig":{"access":"public"},"dependencies":{"@google-apps/chat":"^0.21.0","@google-cloud/local-auth":"^3.0.1","@googleapis/docs":"^9.0.0","@googleapis/drive":"^19.2.1","@modelcontextprotocol/sdk":"^1.24.3","dompurify":"^3.3.1","gaxios":"^6.1.1","google-auth-library":"^10.5.0","googleapis":"^168.0.0","jsdom":"^27.3.0","keytar":"^7.9.0","marked":"^17.0.1","zod":"^3.24.0"},"devDependencies":{"esbuild":"^0.27.1","typescript":"^5.9.2"},"_id":"@dru-ca/google-workspace-mcp@1.0.0","gitHead":"0da9c308c6b7eb1d4dc9557c9b7f2a60b3e7f851","bugs":{"url":"https://github.com/dru-ca/google-workspace-mcp/issues"},"homepage":"https://github.com/dru-ca/google-workspace-mcp#readme","_nodeVersion":"22.22.0","_npmVersion":"10.9.4","dist":{"integrity":"sha512-7MEnyMJzOoID51FlN3DDEIA1PMUNaJhQsVYvybJm5QKu2YQ1ouqhOVoMY7/jyxBezvxS23q5/AwwXPax7EjT1w==","shasum":"e9a53b963081889b9185cfbe430e2d5b86db9523","tarball":"https://registry.npmjs.org/@dru-ca/google-workspace-mcp/-/google-workspace-mcp-1.0.0.tgz","fileCount":6,"unpackedSize":64469373,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDEUph9tQOjdKzkuYpP4vEjgDp9zqfuAgHrGpaE5J95TgIgZ/wgAOwUwURdGS2iXtvYjyQfyHBjfdcR1Qo7aozRgjY="}]},"_npmUser":{"name":"dru-ca","email":"drustan.carpenter@icloud.com"},"directories":{},"maintainers":[{"name":"dru-ca","email":"drustan.carpenter@icloud.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/google-workspace-mcp_1.0.0_1770057011486_0.9730540811963972"},"_hasShrinkwrap":false}},"time":{"created":"2026-02-02T18:30:11.421Z","1.0.0":"2026-02-02T18:30:11.814Z","modified":"2026-02-02T18:30:11.991Z"},"maintainers":[{"name":"dru-ca","email":"drustan.carpenter@icloud.com"}],"description":"Google Workspace MCP Server with full Sheets read/write support and Chat message reading","homepage":"https://github.com/dru-ca/google-workspace-mcp#readme","keywords":["mcp","model-context-protocol","google-workspace","gmail","calendar","drive","docs","sheets","chat","claude"],"repository":{"type":"git","url":"git+https://github.com/dru-ca/google-workspace-mcp.git"},"author":{"name":"Dru Carpenter"},"bugs":{"url":"https://github.com/dru-ca/google-workspace-mcp/issues"},"license":"Apache-2.0","readme":"# @dru-ca/google-workspace-mcp\n\n[![npm version](https://img.shields.io/npm/v/@dru-ca/google-workspace-mcp.svg)](https://www.npmjs.com/package/@dru-ca/google-workspace-mcp)\n[![License: Apache-2.0](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)\n\nNPM-distributable Google Workspace MCP server for Claude Desktop, Claude Code CLI, and other MCP clients. Interact with Gmail, Calendar, Drive, Docs, Sheets, Chat, and more through Claude.\n\nBased on [gemini-cli-extensions/workspace](https://github.com/gemini-cli-extensions/workspace).\n\n## Quick Start\n\n### Configure Your MCP Client\n\n#### Claude Desktop\n\nEdit `~/Library/Application Support/Claude/claude_desktop_config.json`:\n\n```json\n{\n  \"mcpServers\": {\n    \"google-workspace\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"@dru-ca/google-workspace-mcp\"]\n    }\n  }\n}\n```\n\nThen restart Claude Desktop. The MCP server will prompt for authentication on first use.\n\n#### Claude Code CLI\n\nEdit `~/.claude/config.json`:\n\n```json\n{\n  \"mcpServers\": {\n    \"google-workspace\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"@dru-ca/google-workspace-mcp\"]\n    }\n  }\n}\n```\n\n## Supported Services\n\n- **Gmail**: Search emails, read messages, send emails, create/manage drafts\n- **Google Calendar**: List calendars, create/read/update/delete events, find free time\n- **Google Drive**: Search files, download documents, access metadata\n- **Google Docs**: Read document content, create documents, insert/replace text\n- **Google Sheets**: Read spreadsheet ranges, get metadata, append data\n- **Google Chat**: Send messages, read threads, create spaces\n- **Google Slides**: Read presentations, extract text, get metadata\n- **Google People**: Get user profiles, retrieve contact information\n\n## Configuration\n\n### Environment Variables\n\n```bash\n# Override credential storage location (optional)\nexport GOOGLE_WORKSPACE_MCP_HOME=/custom/path/for/credentials\n```\n\n### Credential Storage\n\nCredentials are stored in platform-standard locations:\n\n| Platform | Location |\n|----------|----------|\n| macOS | `~/.config/google-workspace-mcp/` |\n| Linux | `~/.config/google-workspace-mcp/` |\n| Windows | `%APPDATA%/google-workspace-mcp/` |\n\n## Requirements\n\n- Node.js 18 or higher\n- Active Google Account with Google Workspace access\n- Web browser for OAuth authentication\n\n## Troubleshooting\n\n### Token refresh errors\n\nDelete the credentials and restart:\n```bash\nrm -rf ~/.config/google-workspace-mcp  # macOS/Linux\nnpx @dru-ca/google-workspace-mcp    # Will prompt for re-auth\n```\n\n### \"libsecret\" errors on Linux\n\n```bash\nsudo apt-get install libsecret-1-dev  # Debian/Ubuntu\nsudo dnf install libsecret-devel      # Fedora/RHEL\n```\n\n## License\n\nApache-2.0 - See [LICENSE](./LICENSE)\n","readmeFilename":"README.md","_rev":"1-40188f3fc4a5977f3c78211299a01e8d"}