Quick Start
Quick Start
Section titled “Quick Start”Get gmail-mcp-server running in 5 minutes.
Requirements
Section titled “Requirements”- Python 3.10+
- A Google Cloud project with Gmail API enabled
- Claude Code, ChatGPT, or another MCP client
1. Get Your Google Credentials
Section titled “1. Get Your Google Credentials”- Go to Google Cloud Console
- Create a project or select existing one
- Enable the Gmail API: Search “Gmail” in APIs & Services → Library → Enable
- Create OAuth client: APIs & Services → Credentials → Create Credentials → OAuth client ID → Desktop app
- Download the JSON file as
secrets/credentials.json
2. Clone & Install
Section titled “2. Clone & Install”git clone https://github.com/Arshdeep54/gmail-mcp.gitcd gmail-mcp-serverpython -m venv .venvsource .venv/bin/activate # or .venv\Scripts\activate on Windowspip install -e .3. Authorize Once
Section titled “3. Authorize Once”python authorize.pyThis opens your browser → approve → saves secrets/token.json
4. Add to Claude Code
Section titled “4. Add to Claude Code”Edit ~/.claude/settings.json or use:
claude mcp add gmail -- python -m gmail_mcp.serverYou now have Gmail tools in Claude Code. Search messages, read threads, create drafts—all from Claude.
Next: Ready to deploy to ChatGPT? See Cloud Deployment.
