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
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.2.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.2.tar.gz.
File metadata
- Download URL: barie_gmail_mcp-0.1.2.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 |
80b3dd4053326b694660bced97a3b9b2da63d21fa147cc6e8ae87cd2a1498c3f
|
|
| MD5 |
ebbc706f37bd7f76a547797a5819cced
|
|
| BLAKE2b-256 |
f6d26507c51977af3b8787677305dc9a0f0be98197cd212ec491b76c5a1d8571
|
File details
Details for the file barie_gmail_mcp-0.1.2-py3-none-any.whl.
File metadata
- Download URL: barie_gmail_mcp-0.1.2-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 |
f0ea47fc2c63098fde98bdb8c400df90bb9cea0520dbff4968dfaace09e6cafd
|
|
| MD5 |
ac9395832996c92181cc217b63d9fa66
|
|
| BLAKE2b-256 |
b95c8b37238a8450c74daba05346590365250939a7066b1fcd630ed3dc608653
|