Google Workspace MCP Server
Provides tools for searching, reading, and sending emails via Gmail API.
Provides tools for reading and creating Google Docs via Google Docs API.
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 Serversearch my emails for 'budget report'"
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
This project is an MCP (Model Context Protocol) server that provides tools to interact with Gmail and Google Docs.
Prerequisites
Python 3.10+
Google Cloud Project: You need to create a project in the Google Cloud Console and enable the Gmail and Google Docs APIs.
Setting up Google Cloud Credentials
Go to the Google Cloud Console.
Create a new project.
Go to APIs & Services > Library.
Search for and enable Gmail API and Google Docs API.
Go to APIs & Services > OAuth consent screen.
Choose External (or Internal if you have a Google Workspace org).
Fill in the required app information.
Add the following scopes:
https://www.googleapis.com/auth/gmail.modifyhttps://www.googleapis.com/auth/documents
Add your Google email address as a Test user.
Go to APIs & Services > Credentials.
Click Create Credentials > OAuth client ID.
Choose Desktop app as the application type.
Click Create and then Download JSON.
Rename the downloaded file to
credentials.jsonand place it in the root directory of this project.
Related MCP server: Gmail MCP Server
Installation
It is recommended to use a virtual environment.
python -m venv venv
# On Windows:
venv\Scripts\activate
# On macOS/Linux:
source venv/bin/activate
pip install -r requirements.txtRunning the Server
To start the MCP server, use the mcp CLI tool (installed via dependencies):
mcp dev main.pyThe first time you run this, a browser window will open asking you to log in with your Google account and grant permissions to the app. After granting permissions, a token.json file will be created locally to store your access and refresh tokens.
Available Tools
The following tools will be exposed to your LLM:
search_emails(query, max_results): Search for emails matching a Gmail query.read_email(message_id): Read the content of a specific email.send_email(to, subject, body): Send an email.read_document(document_id): Read the text content of a Google Doc.create_document(title, content): Create a new Google Doc with optional initial content.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
No tool schema history has been recorded yet.
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
Email infrastructure for AI agents — send, receive, search, and reply to email over MCP.
Google Docs MCP Pack — read, create, and edit Google Docs via OAuth.
Permissioned access to Gmail, Drive and Calendar via the user's own Google account
Read, search, send, organize, draft and schedule email across your inboxes from any MCP client.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables interaction with Gmail and Google Calendar using the MCP protocol, supporting multiple Google accounts, email management, and calendar operations through natural language.4932MIT
- AlicenseNot gradedqualityDmaintenanceEnables interaction with Gmail through the MCP protocol, supporting sending, reading, searching, replying, forwarding, managing drafts and labels, and saving attachments.153MIT
- AlicenseNot gradedqualityDmaintenanceEnables Gmail operations such as reading, sending, searching, and managing emails, threads, labels, and drafts via MCP tools.1MIT
- FlicenseBqualityCmaintenanceEnables sending emails, drafting emails, and appending text to Google Docs via MCP tools.3-
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- 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/Sayali467/MCP_Server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server