Skip to main content
Glama

📧 FastMCP Gmail Reader Server

Manage Gmail using a FastMCP API server for Gemini-CLI. Supports reading emails and creating drafts (reply or new).

🚀 Features

  • Fetch recent emails with pagination

  • Create reply drafts

  • Create new email drafts

🔧 Setup

Install Dependencies

pip install uv cd gemini-tasks-mcp uv venv source .venv/bin/activate uv run main.py

Generate Google API Credentials

  1. Go to Google Cloud Console.

  2. Create a project and enable Gmail API.

  3. Go to APIs & Services → Credentials.

  4. Click “Create Credentials” → “OAuth client ID” → Application type: Desktop App.

  5. Download credentials.json and place it in the project folder.

Gemini-CLI Configuration

cd ~/.gemini nano settings.json
"mcpServers": { "gmailReader": { "command": "uv", "args": ["run", "main.py"], "cwd": "<<full-path>>/gemini-email-mcp", "timeout": 20000 } }
-
security - not tested
F
license - not found
-
quality - not tested

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/chronis10/gemini-email-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server