Google MCP Server
Allows creating email drafts via the Gmail API.
Allows appending content to Google Docs documents.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Google MCP Server
A Python-based MCP-style server using FastAPI that integrates with Google Docs and Gmail. Before executing any action (e.g., appending to a doc, creating an email draft), it will prompt for your approval in the terminal.
Setup Instructions
1. Enable APIs & Download Credentials
Go to the Google Cloud Console.
Create a new project or select an existing one.
Navigate to APIs & Services > Library and enable:
Google Docs API
Gmail API
Navigate to APIs & Services > OAuth consent screen and configure it (you can set it to "External" and add yourself as a test user). Add these scopes:
https://www.googleapis.com/auth/documentshttps://www.googleapis.com/auth/gmail.compose
Navigate to APIs & Services > Credentials.
Click Create Credentials > OAuth client ID.
Choose Desktop app as the application type.
Download the JSON file, rename it to
credentials.json, and place it in this directory (google-mcp-server/).
2. Install Dependencies
pip install -r requirements.txt3. Run the Server
python server.pyOn the first run, a browser window will open asking you to log in with your Google Account and authorize the application. Once authorized, a token.json file will be generated automatically, so you won't need to log in again.
Related MCP server: Google Docs + Gmail MCP Server
API Endpoints
Append to Google Doc
POST /append_to_doc
{
"doc_id": "your_document_id_here",
"content": "Hello world!"
}Create Email Draft
POST /create_email_draft
{
"to": "example@example.com",
"subject": "Hello",
"body": "This is an email draft."
}Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Publish drafts to Google Docs for review, then revise and resolve reviewer comments in your AI tool
Multiple Gmail accounts, editable Google Sheets & Docs for AI agents. Deny-by-default access rules.
Permissioned access to Gmail, Drive and Calendar via the user's own Google account
Create and manage documents, spreadsheets, and presentations from your AI assistant.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceIntegrates with Google Docs and Gmail to append text to documents and create email drafts, with a terminal approval step before any action executes.-
- AlicenseNot gradedqualityDmaintenanceIntegrates with Google Docs and Gmail for AI-driven document editing and email drafting, featuring human-in-the-loop approval.Apache 2.0
- FlicenseNot gradedqualityDmaintenanceIntegrates with Google Docs and Gmail to append content to documents and create email drafts, featuring a manual approval system.-
- FlicenseNot gradedqualityDmaintenanceEnables interaction with Google Docs and Gmail, allowing users to append text to documents and create email drafts with explicit approval prompts.-