Google Workspace MCP Server
Allows sending emails through the authenticated user's Gmail account.
Allows appending text/content to existing Google Documents.
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 an email to alice@example.com with subject 'Meeting Reminder' and body 'See you 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.
MCP Google Workspace Server
A generic Model Context Protocol (MCP) server that exposes Gmail and Google Docs capabilities as standard MCP tools. This server allows AI agents (like Claude, Cursor, ChatGPT) to interact with Google Workspace APIs seamlessly.
Features
Provides the following tools:
send_email: Send an email through the authenticated user's Gmail account.append_to_google_doc: Append text/content to an existing Google Document.
Related MCP server: Gmail & Google Docs MCP Server
Prerequisites
Python 3.10+
Google Cloud Console Setup:
Go to Google Cloud Console.
Create a new project.
Enable Gmail API and Google Docs API.
Configure the OAuth consent screen (Desktop App).
Create OAuth 2.0 Client ID credentials.
Download the JSON file, rename it to
credentials.json, and place it in the root of this project.
Installation
Install the required Python dependencies:
pip install -r requirements.txtRunning the Server
Because this server implements the standard stdio transport for MCP, it can be launched directly via an MCP client configuration.
For testing, you can use the official mcp-inspector:
npx @modelcontextprotocol/inspector python server.pyInitial Authentication
The first time you run the server and invoke a tool, it will open a local web browser to authenticate with Google Workspace. Upon successful authentication, a token.json file will be generated locally.
Example Usage in Cursor
Add this to your MCP configuration in Cursor (or similar client):
{
"mcpServers": {
"google-workspace": {
"command": "python",
"args": ["/absolute/path/to/server.py"]
}
}
}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.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/sibaniacharya/mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server