https://github.com/cafferychen777/gmail-mcp
Gmail automation via a Chrome extension + Model Context Protocol (MCP). Control Gmail from Claude Desktop. No API keys. Free.
Science Score: 36.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
✓Committers with academic emails
1 of 1 committers (100.0%) from academic institutions -
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (8.2%) to scientific vocabulary
Keywords
ai-agents
ai-assistant
anthropic
chrome-extension
claude
claude-desktop
email-automation
email-integration
gmail
gmail-automation
mcp
model-context-protocol
native-messaging
no-api-keys
productivity
Last synced: 5 months ago
·
JSON representation
Repository
Gmail automation via a Chrome extension + Model Context Protocol (MCP). Control Gmail from Claude Desktop. No API keys. Free.
Basic Info
- Host: GitHub
- Owner: cafferychen777
- License: mit
- Language: JavaScript
- Default Branch: main
- Homepage: https://cafferychen777.github.io/gmail-mcp/
- Size: 859 KB
Statistics
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 6
- Releases: 0
Topics
ai-agents
ai-assistant
anthropic
chrome-extension
claude
claude-desktop
email-automation
email-integration
gmail
gmail-automation
mcp
model-context-protocol
native-messaging
no-api-keys
productivity
Created 7 months ago
· Last pushed 6 months ago
Metadata Files
Contributing
https://github.com/cafferychen777/gmail-mcp/blob/main/
# Gmail MCP Bridge
English | [ README.zh-CN.md](./README.zh-CN.md)
> Control Gmail from Claude. No Google Cloud. No OAuth. No API keys.
[](https://opensource.org/licenses/MIT)
[](https://developer.chrome.com/docs/extensions/)
[](https://modelcontextprotocol.io/)
[](https://github.com/cafferychen777/gmail-mcp)

[](https://cafferychen777.github.io/gmail-mcp/)
[](https://github.com/cafferychen777/gmail-mcp/releases)
[](CONTRIBUTING.md)
[](https://github.com/cafferychen777/gmail-mcp/discussions)
[](https://github.com/cafferychen777/gmail-mcp/actions/workflows/codeql.yml)
[](https://github.com/cafferychen777/gmail-mcp/graphs/contributors)
[](https://github.com/cafferychen777/gmail-mcp/labels/good-first-issue)
[](https://github.com/cafferychen777/gmail-mcp/issues)
[](https://github.com/cafferychen777/gmail-mcp/pulls)
[](#why-no-google-cloud)
Enable Gmail automation for AI assistants through a Chrome extension and the Model Context Protocol. Works locally, respects your browser session, and requires no Google API keys.
If this project helps you, please star the repo and join the [Discussions](https://github.com/cafferychen777/gmail-mcp/discussions).
> Bold advantage: No Google Cloud project. No OAuth consent screen. No API keys. It uses your existing Chrome session to act in Gmail.
## Why no Google Cloud
This project works locally by leveraging your existing Chrome browser session. The extension and MCP server act on Gmail the same way you do in the browser, so you do not need to set up a Google Cloud project, OAuth consent screen, or any API keys.
Benefits:
- Simpler onboarding: no cloud console, no OAuth app review.
- Privacy: actions stay within your local browser session.
- Portability: works anywhere Chrome runs.
Limitations to note:
- Requires Chrome to be installed and signed in to the target Gmail account.
- Actions follow the permissions of your current Gmail session.
## Installation
For a guided setup, see the Quick Start and Website:
- Quick Start: [docs/quick-start/installation.md](./docs/quick-start/installation.md)
- Website: https://cafferychen777.github.io/gmail-mcp/
Prerequisites:
- Node.js 18+
- Google Chrome (latest)
- Claude Desktop (with MCP enabled)
```bash
# One-command install (recommended)
./bin/gmail-mcp install
# Or manual setup
cd gmail-mcp-extension/mcp-server && npm install
```
## Project Structure
```
gmail-mcp/
bin/ # CLI utilities (installer/manager)
gmail-mcp
gmail-mcp-extension/ # Chrome Extension + MCP bridge server
extension/ # Chrome extension source
mcp-server/ # MCP bridge server
src/ # Core logic and recovery system
docs/ # Documentation
planning/
reports/
analysis/
scripts/ # Tooling scripts
test/
util/
src/ # Advanced features
core/
plugins/
tests/
tools/
Key docs
README.md
README.zh-CN.md
CLAUDE.md
CONTRIBUTING.md
RELEASE.md
```
## Features
- Gmail read/search/send/reply
- Full Gmail search syntax support
- Multi-account switching
- Auto-recovery (95%+ common failures)
- Self-diagnosis and repair utilities
- Low-latency, high-throughput local bridge
## Usage
### CLI management
```bash
gmail-mcp status # Check system status
gmail-mcp doctor # Diagnose issues
gmail-mcp fix # Auto-fix common problems
gmail-mcp test # Run tests
```
### In Claude Desktop
After installation, just ask Claude:
- "Check my latest emails"
- "Send an email to john@example.com"
- "Search emails containing 'project'"
## Documentation
- Developer architecture: [docs/developer/architecture.md](docs/developer/architecture.md)
- Roadmap: [docs/planning/COMPREHENSIVE_IMPROVEMENT_ROADMAP.md](docs/planning/COMPREHENSIVE_IMPROVEMENT_ROADMAP.md)
- Contribution guide: [CONTRIBUTING.md](CONTRIBUTING.md)
## Demo / Screenshots
Below are placeholder screenshots; a short demo GIF will be added soon.



Planned: `docs/assets/screenshots/demo.gif` (10s).
If you'd like to help, check the good first issues.
## Why this project
- No API keys, works directly with your browser session
- Fast local bridge with MCP for AI assistants
- Production-ready structure with installer and diagnostics
## Social preview (Open Graph)
Improve link previews when sharing the repo by uploading a social image:
1. Use the placeholder at `docs/assets/images/og-preview.svg` (export to 1200630 PNG if needed)
2. Go to GitHub Repository Settings General Social preview Upload the image
## Contributing
PRs welcome! Please read [CONTRIBUTING.md](CONTRIBUTING.md).
## License
MIT License see [LICENSE](LICENSE)
---
Gmail MCP Bridge Control Gmail from Claude Desktop via MCP
## Community & Support
- Code of Conduct: [CODE_OF_CONDUCT.md](CODE_OF_CONDUCT.md)
- Security policy: [SECURITY.md](SECURITY.md)
- Support: [SUPPORT.md](SUPPORT.md)
- Discussions: https://github.com/cafferychen777/gmail-mcp/discussions
- Good first issues: https://github.com/cafferychen777/gmail-mcp/labels/good-first-issue
- Help wanted: https://github.com/cafferychen777/gmail-mcp/labels/help-wanted
Owner
- Name: Caffery Yang
- Login: cafferychen777
- Kind: user
- Website: www.cafferyyang.com
- Twitter: CafferyYang
- Repositories: 1
- Profile: https://github.com/cafferychen777
Chen Yang is a junior at Southern Medical University majoring in biostatistics. In 2020-2021, he was awarded the National Scholarship from the Ministry of Educa
GitHub Events
Total
- Issues event: 1
- Issue comment event: 7
- Push event: 23
- Pull request event: 7
- Fork event: 1
- Create event: 7
Last Year
- Issues event: 1
- Issue comment event: 7
- Push event: 23
- Pull request event: 7
- Fork event: 1
- Create event: 7
Committers
Last synced: 7 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| Chen Yang | c****7@t****u | 16 |
Committer Domains (Top 20 + Academic)
tamu.edu: 1
Dependencies
gmail-mcp-extension/mcp-server/package-lock.json
npm
- 122 dependencies
gmail-mcp-extension/mcp-server/package.json
npm
- @modelcontextprotocol/sdk ^1.0.0
- cors ^2.8.5
- express ^4.18.2
- node-fetch ^3.3.0
- uuid ^9.0.0