Skip to main content
Glama
pliablepixels

claude-gmail-mcp

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
GMAIL_ADDRESSNoYour Gmail address (required for SMTP/IMAP backend)
GMAIL_TOKEN_PATHNoPath to the Gmail OAuth token file (default: ~/.config/claude-gmail-mcp/token.json)
GMAIL_APP_PASSWORDNoYour Gmail app password (required for SMTP/IMAP backend)

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
send_emailA

Send an email via Gmail.

Args: to: Recipient email address(es). subject: Email subject line. body: Email body content (plain text or HTML). cc: CC recipient(s), optional. bcc: BCC recipient(s), optional. html: If True, send body as HTML instead of plain text. attachments: List of local file paths to attach, optional. Files that cannot be read are skipped with a warning.

search_emailsA

Search Gmail using full Gmail search syntax (from:, subject:, is:unread, etc).

Pass a single query string for a flat list of results, or a list of queries to run several searches in one call (output is sectioned by query, and max_results applies per query).

Returns UID, sender, subject, date, and a Gmail web URL for each match.

Args: queries: Single query string or list of query strings. max_results: Max emails to return per query (default 10).

read_emailA

Fetch the full content of an email by its UID (from search_emails results).

Args: uid: Email UID shown in search_emails output

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/pliablepixels/claude-gmail-mcp'

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