Gmail MCP Server (Powered by LIAM)
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
LIAM Gmail MCP
Provided by LIAM (doitliam.com). This MCP server gives Gmail access using LIAM OAuth and Dedalus DAuth.
Hosted on Dedalus: sintem/gmail-mcp
Auth Flow (DAuth + LIAM OAuth)
Client connects to the MCP server on Dedalus.
Dedalus DAuth handles MCP authorization; if the Gmail connection is not yet authorized, the client receives a
connect_urlto start OAuth.User completes LIAM OAuth (and Google consent) in the browser.
Dedalus AS stores the LIAM OAuth access token and issues a JWT containing connection handles (
ddls:connections).The MCP server uses Dedalus dispatch + the connection handle to call the Gmail API.
Related MCP server: gmail-mcp
Tools
Tool | Description |
| Get Gmail profile (email, message/thread counts) |
| List messages with optional Gmail query |
| Get a specific message by ID |
| Send an email |
| Move a message to trash |
| Remove a message from trash |
| Add/remove labels on a message |
| List email threads |
| Get a specific thread by ID |
| Move a thread to trash |
| Remove a thread from trash |
| Add/remove labels on a thread |
| List all labels |
| Get label details by ID |
| Create a new label |
| Delete a user label |
| List drafts |
| Get a draft by ID |
| Create a draft |
| Send a draft |
| Delete a draft |
| Get a message attachment |
Smoke tools (debug):
Tool | Description |
| Echo input (sanity check) |
| Server info (sanity check) |
Gmail Query Syntax
from:email@example.com # From sender
to:email@example.com # To recipient
subject:keyword # Subject contains
is:unread # Unread only
is:starred # Starred only
has:attachment # Has attachments
after:2024/01/01 # After date
before:2024/12/31 # Before date
in:inbox # In inboxCombine: from:boss@company.com is:unread has:attachment
Setup
1. Environment
Create .env:
# Required
DEDALUS_API_KEY=dsk-live-your-key
# Optional (defaults shown)
DEDALUS_API_URL=https://api.dedaluslabs.ai
DEDALUS_AS_URL=https://as.dedaluslabs.ai
# MCP server slug (LIAM hosted or your own)
MCP_SERVER=sintem/gmail-mcp
# Gmail API base URL (optional override)
GMAIL_API_URL=https://gmail.googleapis.com
# Optional: direct LIAM OAuth token for local testing
LIAM_ACCESS_TOKEN=liam-jwt-here2. Install
cd gmail-liam-mcp
uv sync --all-extras3. Deploy to Dedalus
dedalus deploy4. Test locally
OAuth (recommended, uses DAuth + LIAM OAuth):
python src/_client.pyManual LIAM token (advanced/testing only):
# Interactive mode
python run.py
# Single query
python run.py "show my unread emails"Project Structure
gmail-liam-mcp/
├── run.py # Local test client with LIAM token
├── src/
│ ├── main.py # MCP server (Dedalus entrypoint)
│ ├── gmail.py # Tools (modular version)
│ ├── server.py # Server config
│ └── _client.py # OAuth/DAuth client example
├── pyproject.toml
├── .env.example
└── README.mdLicense
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
Manage Gmail end-to-end: search, read, send, draft, label, and organize threads. Automate workflow…
Email for AI agents: read, search and send from your Gmail, Outlook, Yahoo, iCloud or IMAP inbox.
Give AI agents their own email inboxes: list, read and send mail via scoped, revocable OAuth grants.
Email infrastructure for AI agents — send, receive, search, and reply to email over MCP.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables interaction with Gmail through the Gmail API with OAuth2 authentication. Supports reading, sending, searching emails, and managing read status through natural language.-
- AlicenseNot gradedqualityCmaintenanceEnables AI assistants to manage Gmail emails, including sending, searching, and organizing with labels and attachments via OAuth2.38 npm2MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to send, search, and read emails via Gmail using OAuth2 authentication.1MIT
- FlicenseNot gradedqualityDmaintenanceEnables interaction with Gmail accounts via IMAP and SMTP, providing tools for searching emails, retrieving content, managing labels, and sending/forwarding emails through natural language.-