loading…
Search for a command to run...
loading…
A lightweight MCP-style server integrating Google Docs and Gmail, enabling AI to append structured content to documents and create email drafts with human-in-th
A lightweight MCP-style server integrating Google Docs and Gmail, enabling AI to append structured content to documents and create email drafts with human-in-the-loop approval.
A lightweight MCP-style server that integrates with Google Docs and Gmail.
This project demonstrates how to build structured AI tool interfaces with approval gating, inspired by the Model Context Protocol (MCP).
Run the MCP server: uvicorn server:app --reload
Call tools via API: POST /append_to_doc POST /create_email_draft
Integrate with your AI workflow:
google-mcp-server/
│── server.py
│── auth.py
│── docs_tool.py
│── gmail_tool.py
│── requirements.txt
│── credentials.json (not committed)
│── token.json (not committed)
│── README.md
git clone <your-repo-url>
cd google-mcp-server
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
Go to Google Cloud Console
Create a new project
Enable:
Configure OAuth Consent Screen
Create OAuth Credentials (Desktop App)
Download credentials.json
Place it in project root
python3 auth.py
uvicorn server:app --reload
Open:
http://127.0.0.1:8000/docs
Endpoint: POST /append_to_doc
Example:
{
"doc_id": "YOUR_DOC_ID",
"content": "Hello from MCP 🚀"
}
Endpoint: POST /create_email_draft
Example:
{
"to": "[email protected]",
"subject": "Test Draft",
"body": "This is a test email"
}
Request → Approval → Tool Execution → Response
Do NOT commit:
Approval is CLI-based (terminal input) Designed for local development
Every action requires manual approval in terminal:
ACTION: append_to_doc
PAYLOAD: {...}
Approve? (y/n):
Type:
y
This project demonstrates:
Apache License
Run in your terminal:
claude mcp add google-docs-gmail-mcp-server -- npx Yes, Google Docs + Gmail Server MCP is free — one-click install via Unyly at no cost.
No, Google Docs + Gmail Server runs without API keys or environment variables.
Self-hosted: the server runs locally on your machine via the install command above.
Open Google Docs + Gmail Server on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Read, send and search emails from Claude
by GoogleSend, search and summarize Slack messages
by SlackNo-code MCP client for team chat platforms, such as Slack, Microsoft Teams, and Discord.
A community discord server dedicated to MCP by [Frank Fiegel](https://github.com/punkpeye)
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All communication MCPs