Workspace Connect
Provides tools for creating and editing Google Docs, formatting text, and working with tables, tabs, and comments.
Provides tools for searching Google Drive, browsing folders, and reading existing documents, with upstream file-management and sharing operations available.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Workspace ConnectFind the project brief in Drive and summarize the introduction."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Workspace Connect
Google Drive and Google Docs for Codex and Claude Code, using one shared local Google login.
Workspace Connect is a small TypeScript installer, launcher, and connection checker around Taylor Wilsdon’s Google Workspace MCP server. The upstream server implements the Google tools; this project pins workspace-mcp==2.1.0 and enables Drive and Docs only. It is an independent project, not an official Google, OpenAI, or Anthropic integration.
What you can do
Search Drive, browse folders, and read existing documents.
Create and edit Google Docs, format text, and work with tables, tabs, and comments.
Use the same OAuth grant from Codex and Claude Code through a private local directory.
Check tool discovery and authenticated Drive access without printing document contents.
The upstream tools also expose file-management and sharing operations. Review agent permissions before giving an agent access. Tool names and behavior are defined by the pinned upstream version.
Related MCP server: MCP Google Drive Server
Install
Requires Node.js 24+, uv, and the Codex and/or Claude Code CLIs on PATH. The code uses native argv arrays, not shell command interpolation. The first server launch uses uv to download the pinned Python package and its dependencies. Keep this clone in a stable directory after registering it with agents.
git clone https://github.com/zohaibarsalan/workspace-connect.git
cd workspace-connect
npm ci
npm run build1. Create your Google OAuth client
Create or choose a Google Cloud project. Enabling billing is not required for this setup.
Enable Google Drive API and Google Docs API.
Configure the Google Auth Platform with an app name, support email, and developer contact. For a personal Gmail account, use External / Testing and add your account as a test user.
Create an OAuth client of type Web application.
Add exactly this authorized redirect URI:
http://localhost:8769/oauth2callbackDownload the OAuth client JSON and import it:
node dist/cli.js credentials --file ~/Downloads/client.json
The default private directory is ~/.config/workspace-connect. Import creates its directories with mode 0700 and the client file with 0600 on systems supporting POSIX permissions. The downloaded source is left in place; protect or remove it yourself. Tokens are stored by the upstream server. This is local storage, not a claim of encryption at rest. Existing client files are never overwritten.
2. Register your coding agents
node dist/cli.js install --client both
# Or: --client codex / --client claudeThis uses the official clients’ MCP registration commands, with user scope for Claude Code. Both point to the same configuration directory. It refuses to replace an existing google-workspace server and preflights both clients before making changes. If the second registration fails, the first remains registered; inspect each client’s mcp get output before retrying.
For other MCP clients, print the equivalent stdio configuration:
node dist/cli.js config3. Sign in to Google
node dist/cli.js auth --email you@example.com --browser Zen--browser opens a named browser on macOS. Elsewhere, omit it and open the printed Google URL yourself. Select your account and review the requested Drive/Docs permissions. Keep the command running until authorization completes. Authorize from one client at a time; the local callback uses port 8769.
Start fresh coding-agent sessions after installation. Then try:
Find the project brief in Drive and summarize the introduction.
node dist/cli.js doctor --email you@example.comWithout --email, doctor checks tool discovery only. With it, it checks a read-only Drive listing. No Google files are changed by auth or doctor.
Existing shared setups
If you already have a central MCP catalog, keep using that catalog instead of running this installer over its generated entries. You can point the launcher to an existing compatible private directory without copying credentials:
node dist/cli.js doctor --config-dir /absolute/private/directory --email you@example.com
node dist/cli.js config --config-dir /absolute/private/directoryThat directory must contain client_secret.json (a Web OAuth client with the redirect URI above) and a credentials/ subdirectory for the upstream server’s account tokens. Supply --config-dir to every command that uses a non-default directory. WORKSPACE_CONNECT_CONFIG_DIR is an alternative default.
The generated MCP entry launches this clone’s compiled dist/cli.js, so rebuild after source changes. To migrate, review the printed configuration and change the single entry in your central catalog; do not create duplicate Google servers. Existing client approvals and Google consent are separate from configuration presence.
Data and permission boundaries
OAuth client credentials and Google tokens stay in the local directory. No credentials are bundled in this repo or supplied by its maintainer.
The local upstream server calls Google. This project does not run a hosted document proxy, analytics collector, or subscription backend.
Tool results returned to your coding agent may be sent to its AI provider according to that account’s policies and settings. Local MCP does not mean the AI provider processes documents locally.
Agent approvals are controlled by the agent client. Workspace Connect does not automatically approve sharing, deletion, or other consequential actions.
To disconnect, revoke access in Google Account connections, remove the MCP entry from each client, and delete the chosen local credential directory when appropriate. Agent history and Google files must be managed separately.
See the privacy notice and project terms.
Google Testing, publishing, and costs
Google OAuth Testing grants normally expire after seven days. Run auth again when the grant expires. Moving an OAuth app to In production is a separate Google Cloud operation; publishing this website does not change that status or automatically verify your Google app.
The static site provides a homepage, privacy notice, and terms for this project. A Google project owner can use these URLs when this project and disclosure accurately describe their integration. Google may additionally require domain verification, app verification, or other information. A Pages deployment alone does not prove Google will accept an OAuth publishing request.
The connector has no subscription fee. GitHub currently provides Pages for public repositories on GitHub Free. Standard Google Drive/Docs API use is currently available at no additional cost; Google documents plans for paid usage above standard thresholds. Your AI subscriptions/usage and storage are separate. This project cannot guarantee third-party pricing forever and never enables Google billing.
Development
npm run check
npm run previewTests cover credential validation and file protection, shared client arguments, OAuth URL extraction, and upstream errors returned as plain text. The site check validates relative assets, privacy links, page metadata, and the absence of third-party runtime resources.
The static GitHub Pages source is docs/. GitHub Actions runs the TypeScript build, tests, and site checks. Live Google verification requires your own account; CI does not contain OAuth credentials or read private documents.
Attribution and references
Upstream workspace-mcp — Google API tools; MIT licensed.
Workspace Connect is licensed under MIT. Dependencies retain their own licenses.
This server cannot be deployed
Maintenance
Related MCP Connectors
Give Claude only the Google Drive files you choose. Every action logged.
Permissioned access to Gmail, Drive and Calendar via the user's own Google account
Provides tools for searching Google Workspace documentation and much more.
Multiple Google accounts (Gmail, Calendar, Drive, Contacts, Tasks) in one Claude connector.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceConnects Claude to Google Docs, allowing users to list, read, create, update, search, and delete documents in their Google Drive through natural language interactions.1,046 npm1MIT
- FlicenseNot gradedqualityNot gradedmaintenanceConnects AI assistants like Claude to Google Drive, enabling them to browse, read, search, create, and edit files and folders using Google's official API with secure authentication.-
- FlicenseNot gradedqualityNot gradedmaintenanceEnables Claude to interact with Google Docs to list, read, create, search, and update documents in a user's Google Drive. It provides a suite of tools and prompts for document management and content analysis using OAuth 2.0 authentication.1,046 npm-
- AlicenseNot gradedqualityDmaintenanceEnables Claude Code to interact with Google Workspace services (Drive, Docs, Sheets, Slides, Forms, Gmail) via OAuth 2.0 authentication and natural language commands.1MIT