Google Workspace MCP Server
Click on "Install 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 Serversend email to john@example.com: meeting tomorrow at 10am"
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
A Model Context Protocol (MCP) server that exposes standardized tools for AI agents to interact with Google Workspace (Gmail and Google Docs).
This server is designed to run in a cloud environment (like Render) using HTTP and Server-Sent Events (SSE) for client-server communication.
Features
Gmail: Draft and send emails securely.
Google Docs: Append structured content to documents.
Generic & Extensible: Exposes strongly-typed tools via the MCP protocol.
Cloud-Ready: SSE transport allows remote AI agents to connect seamlessly.
Related MCP server: Generic MCP Server for Google Workspace
Setup
Google Cloud Configuration:
Create a project in Google Cloud Console.
Enable the Gmail API and Google Docs API.
Create an OAuth 2.0 Client ID for a Web Application or Desktop App.
Note the Client ID and Client Secret.
Environment Variables: In your Render Dashboard (or local
.envfile), configure the following:GOOGLE_CLIENT_ID=your-client-id GOOGLE_CLIENT_SECRET=your-client-secret GOOGLE_REDIRECT_URI=http://localhost:3000/oauth2callback TOKEN_STORAGE_PATH=.tokens.json LOG_LEVEL=info GOOGLE_OAUTH_TOKENS={"access_token":"...","refresh_token":"..."} # Provide this in productionInstall Dependencies:
npm installAuthentication: Before deploying to production, generate the initial OAuth tokens locally. You can then stringify the
.tokens.jsonfile content and set it as theGOOGLE_OAUTH_TOKENSenvironment variable in Render.Deploy to Render:
Connect your GitHub repository to Render as a Web Service.
Render will automatically use the
render.yamlblueprint to runnpm run buildandnpm start.Ensure the
GOOGLE_OAUTH_TOKENSand Google API credentials are set in the Render Environment Variables tab.
Connecting to the Server: Once deployed, connect your MCP Client (like an AI agent) to the SSE endpoint:
https://<your-render-app-url>/sse
Development
Run locally using:
npm run devRun tests with npm run test (using Vitest).
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
MCP server connecting AI agents to 100+ apps (Gmail, Slack, Notion, GitHub) via one-click OAuth.
Email infrastructure for AI agents — send, receive, search, and reply to email over MCP.
Provides tools for searching Google Workspace documentation and much more.
The OpenRouter for tools. One MCP connection gives any AI agent 254 hosted tools, pay per call.
Related MCP Servers
- AlicenseBqualityCmaintenanceExposes Gmail (send/draft) and Google Docs (append) capabilities as tools for any MCP-compliant agent.351ISC
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to send emails, create drafts in Gmail, and append content to Google Docs via standardized MCP tools.51ISC
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to send Gmail emails, create drafts, and append content to Google Docs through MCP tools. Provides secure OAuth-based integration with Google Workspace.152MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to send and draft Gmail emails and append content to Google Docs through standardized MCP tools.19MIT