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 ServerCreate 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.
This server cannot be deployed
Maintenance
Related MCP Connectors
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…
Email infrastructure for AI agents — send, receive, search, and reply to email over MCP.
Manage Gmail messages, threads, labels, drafts, and settings from your workflows. Send and organiz…
Related MCP Servers
- FlicenseBqualityCmaintenanceEnables sending emails, drafting emails, and appending text to Google Docs via MCP tools.3-
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to send and draft Gmail emails and append content to Google Docs through standardized MCP tools.10 npmMIT
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to draft and send Gmail emails and append content to Google Docs through MCP tools.44 npmISC
- AlicenseAqualityBmaintenanceExposes 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.334 npmMIT