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
Metadata
Release files for barie-gmail-mcp 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| barie_gmail_mcp-0.1.3.tar.gz | 18.3 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| barie_gmail_mcp-0.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 37.0 kB
Release files / barie_gmail_mcp-0.1.3.tar.gz
| Download URL | barie_gmail_mcp-0.1.3.tar.gz |
|---|---|
| Size | 18.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
649b46c3347666812d6e9002702812610a47c447dc2511a6b9812dcc663c154f
|
|
BLAKE2b-256 checksum How to use checksums |
bd7d3a175f8e41e643efd146e0447a54523b1339d2c4ebcdeed66f40154f0b8a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.0
|
Release files / barie_gmail_mcp-0.1.3-py3-none-any.whl
| Download URL | barie_gmail_mcp-0.1.3-py3-none-any.whl |
|---|---|
| Size | 18.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c2165018be11691a8cd75ad43a6d6c3fefa8bbaca17387f9e333e3ba419399bb
|
|
BLAKE2b-256 checksum How to use checksums |
421d1e0cd4df4b1eeacfc6446a96d7aebca3e85424ee85998d9e2d11890f64ae
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.0
|
Security for barie-gmail-mcp 0.1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.