MCP Headless Gmail Server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
gmail_refresh_token

Refresh the access token using the refresh token and client credentials

gmail_get_recent_emails

Get the most recent emails from Gmail (returns metadata, snippets, and first 1k chars of body)

gmail_get_email_body_chunk

Get a 1k character chunk of an email body starting from the specified offset

gmail_send_email

Send an email via Gmail

ID: rd8xm8mnxn