Gmail MCP Server (Powered by LIAM)
Enables AI agents to interact with Gmail through LIAM's CASA-compliant Google OAuth infrastructure. It supports searching, listing, and retrieving emails, threads, and labels using standard Gmail query syntax.
README
LIAM Gmail
Secure Gmail access powered by CASA-compliant OAuth. Search emails, read messages, browse threads, and list labels—all through LIAM's enterprise-grade infrastructure.
Overview
This MCP server provides Gmail access through LIAM's CASA-compliant Google OAuth infrastructure. Users authenticate via LIAM, and all Gmail API calls are routed through LIAM's backend to preserve security and compliance.
Account Type: Creates lightweight "mcp" accounts that provide direct API access without Gmail watch notifications or automatic draft generation.
Tools
Messages
gmail_list_messages- List messages with search queriesgmail_get_message- Get a specific message by IDgmail_search_messages- Search using Gmail query syntax
Threads
gmail_list_threads- List email threads (conversations)gmail_get_thread- Get a thread with all messages
Labels
gmail_list_labels- List all labels
Profile
gmail_get_profile- Get user's Gmail profile
Gmail Query Syntax
The query parameter supports Gmail's search syntax:
| Query | Description |
|---|---|
from:email@example.com |
From specific sender |
to:email@example.com |
To specific recipient |
subject:keyword |
Subject contains keyword |
is:unread |
Unread messages |
is:starred |
Starred messages |
has:attachment |
Has attachments |
after:2024/01/01 |
After date |
before:2024/12/31 |
Before date |
in:inbox |
In inbox |
label:custom-label |
Has specific label |
Combine queries: from:boss@company.com is:unread has:attachment
Setup
Prerequisites
- Dedalus API key
- Python 3.10+
Environment Variables
DEDALUS_API_KEY=dsk-live-your-key-here
DEDALUS_API_URL=https://api.dedaluslabs.ai
DEDALUS_AS_URL=https://as.dedaluslabs.ai
Local Development
cd gmail-liam-mcp
uv sync
uv run python main.py
Security
- Google credentials are encrypted at rest (AES-256-GCM)
- OAuth tokens never touch the MCP server directly
- Your credentials are never exposed to third parties
Support
- Email: support@doitliam.com
License
MIT License
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.