Google Docs and Gmail MCP Server
Provides tools to interact with Gmail, enabling email reading, sending, and management through the Gmail API.
Provides tools to interact with Google Docs, enabling document reading, writing, and management through the 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 Docs and Gmail MCP Serverfind my unread emails from last week"
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 Docs and Gmail MCP Server
This is a Model Context Protocol (MCP) server that exposes Google Docs and Gmail capabilities to LLMs via the official mcp SDK using an SSE transport over FastAPI.
Setup Instructions
1. Google Cloud Setup
Go to the Google Cloud Console.
Create a new project.
Enable the Google Docs API and Gmail API.
Go to APIs & Services > Credentials and create an OAuth client ID (Desktop app).
Download the JSON file and save it as
credentials.jsonin the root of this project.
2. Installation
Install the dependencies:
pip install -r requirements.txt3. Authentication
Before running the server in a cloud environment, you must run it locally once to authenticate and generate the token.json file.
The server will print an authorization URL if token.json is missing. Complete the OAuth flow to generate token.json.
4. Running the Server
Start the server using uvicorn:
uvicorn server:app --host 0.0.0.0 --port 8000The MCP SSE endpoints will be available at:
/sse(for connecting)/messages/(for posting messages)
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
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/yv12/MCP-Server-Gmail-GoogleDocs-'
If you have feedback or need assistance with the MCP directory API, please join our Discord server