Gmail MCP Server for managing Gmail via the Model Context Protocol
Project description
Barie Gmail MCP
A Model Context Protocol (MCP) server for interacting with Gmail accounts.
Installation
Install with uvx:
uvx --from . barie-gmail-mcp --help
Or install with pip:
pip install -e .
Usage
Run the MCP server:
barie-gmail-mcp \
--access-token "<access_token>" \
--refresh-token "<refresh_token>" \
--client-id "<google_client_id>" \
--client-secret "<google_client_secret>" \
--expiry "<optional_iso_expiry>" \
--attachments-dir "./attachments"
Required arguments
--access-token: OAuth2 access token--refresh-token: OAuth2 refresh token--client-id: Google OAuth client ID--client-secret: Google OAuth client secret
Optional arguments
--expiry: Access token expiry in ISO format--attachments-dir: Local path for saving attachments--scopes: Optional custom scopes list
Features
- Draft, read, and send emails
- Read unread messages and search mail
- Label and folder management
- Email filter management
- Archive/restore and trash operations
Development
From the barie_gmail_mcp directory:
python server.py --help
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
barie_gmail_mcp-0.1.1.tar.gz
(17.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file barie_gmail_mcp-0.1.1.tar.gz.
File metadata
- Download URL: barie_gmail_mcp-0.1.1.tar.gz
- Upload date:
- Size: 17.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
81ad2274751f7d9df98362142be2b7e95523c5a6576707a57181c13ebffa1774
|
|
| MD5 |
8d10dd19dee72fc9a4959c67c871e197
|
|
| BLAKE2b-256 |
60647241c73043aaaca5598de8661bc501d2512be7cc0c4e9809562a1d1a21be
|
File details
Details for the file barie_gmail_mcp-0.1.1-py3-none-any.whl.
File metadata
- Download URL: barie_gmail_mcp-0.1.1-py3-none-any.whl
- Upload date:
- Size: 18.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4a783b4cf28549dd350e53f306e65c0b91ee1bb77115f21316429f96fbf4ac6b
|
|
| MD5 |
96e6d6c9c655adce6458a528dfdff469
|
|
| BLAKE2b-256 |
821e4ff5b4afa791f4dee5163dab4e0b28d6dce36dc76e2fbe6b1f8b1a7f25a6
|