Google Workspace MCP Server
Allows creating email drafts and sending emails through Gmail.
Allows appending content to Google Docs documents.
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., "@Google Workspace MCP Server Create a Gmail draft to John about the project update"
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.
Google Workspace MCP Server
Generic stdio MCP server exposing gmail_create_draft, gmail_send_email, and google_docs_append_content.
Setup
Enable the Gmail API and Google Docs API in a Google Cloud project, then create an OAuth 2.0 desktop client.
Copy
.env.exampleto.env, set the OAuth values, generateGOOGLE_TOKEN_STORE_ENCRYPTION_KEYwithopenssl rand -base64 32, and register the exact redirect URI in Google Cloud.Run
npm run build, thennpm run authorizeand complete browser consent.Run
npm start, or configure an MCP client to executenode /absolute/path/to/mcp-server/build/index.js. VS Code configuration is included in .vscode/mcp.json.
Related MCP server: Google Services MCP Server
Commands
npm run build
npm test
npm run authorize
npm startThe server requests only gmail.compose and documents. OAuth tokens, client secrets, email bodies, and document content are excluded from tool results and normal logs. See docs/architecture.md for design and production deployment considerations.
Available Tools
3 toolsgmail_create_draftCreate Gmail DraftB
Creates a Gmail draft only for the authorized Google account. This operation never sends email.
Inputs: to (required), body (required), subject (required), cc, +3 more.
gmail_send_emailSend Gmail EmailB
Sends an email externally through the authorized Gmail account. This operation has an immediate external side effect.
Inputs: to (required), body (required), subject (required), cc, +3 more.
google_docs_append_contentAppend Google Doc ContentC
Appends text to the end of an existing Google Document without overwriting existing content. This operation modifies the document.
Inputs: content (required), documentId (required), addNewline, idempotencyKey.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
The three tools have clearly distinct purposes: appending to a Doc, creating a Gmail draft, and sending an email. The descriptions explicitly distinguish draft creation from sending, so an agent should not confuse them.
All names follow a service_action_object pattern with verb_noun endings, but the service prefixes are inconsistent: google_docs_* versus gmail_*. This is a minor deviation rather than a chaotic mix.
A Google Workspace server with only three tools is severely under-scoped for such a broad domain. Each tool is reasonable, but the set feels like a tiny slice rather than a coherent server surface.
The surface covers only one Docs operation and two Gmail operations, with no read, list, search, update, delete, Drive, Calendar, or Sheets functionality. This is severely incomplete for a server claiming to represent Google Workspace.
Maintenance
Related MCP Connectors
Google Docs MCP Pack — read, create, and edit Google Docs via OAuth. Reuses the google_sheets…
Email and optional phone for AI agents: send, receive, search, draft and call over MCP.
Read and edit GA4, Search Console and Google Tag Manager from any MCP client. 29 tools.
Manage Gmail end-to-end: search, read, send, draft, label, and organize threads. Automate workflow…
Related MCP Servers
- FlicenseBqualityCmaintenanceEnables sending emails, drafting emails, and appending text to Google Docs via MCP tools.3-
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to send and draft Gmail emails and append content to Google Docs through standardized MCP tools.MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to draft and send Gmail emails and append content to Google Docs through MCP tools.MIT
- AlicenseAqualityCmaintenanceExposes reusable MCP tools for composing Gmail drafts, sending emails, and appending content to existing Google Docs, allowing compatible clients to automate these Google Workspace actions.3MIT