Gmail
Search Gmail threads, manage labels, and create draft emails.
Gmail
Search Gmail threads, manage labels, and create draft emails. With Lunar.dev MCPX, the MCP Gateway for secure and governed tool access, you connect the Gmail MCP server to Claude, ChatGPT, Cursor, and any MCP client through one gateway that routes, authenticates, and governs every Gmail tool call against your policies.
Why MCPX
MCPX is Lunar.dev's MCP Gateway. It sits between your AI agents and your MCP servers as a single gateway for every tool call, routing, authenticating, and governing traffic against your policies. Connect Gmail once and govern it everywhere: role-based access per agent with on-behalf-of attribution, real-time visibility, and an immutable audit trail of who did what, all deployable inside your own VPC.
Tools content
- search_gmail_messages · Read-only
Searches messages in a user's Gmail account based on a query. - get_gmail_message_content · Read-only
Retrieves the full content (subject, sender, recipients, body) of a specific Gmail message. - get_gmail_messages_content_batch · Read-only
Retrieves the content of multiple Gmail messages in a single batch request. - get_gmail_attachment_content · Write
Downloads an email attachment and saves it to local disk. - send_gmail_message · Write
Sends an email using the user's Gmail account. - draft_gmail_message · Write
Creates a draft email in the user's Gmail account. - get_gmail_thread_content · Read-only
Retrieves the full content of a specific Gmail thread. - get_gmail_threads_content_batch · Read-only
Retrieves the content of multiple Gmail threads in a single batch request. - list_gmail_labels · Read-only
Lists all labels in the user's Gmail account. - manage_gmail_label · Write
Manages Gmail labels: create, update, or delete labels.
Frequently asked questions
What is the Gmail MCP server?
Search Gmail threads, manage labels, and create draft emails. Through Lunar.dev MCPX, Gmail connects to any MCP-compatible AI client behind a single governed gateway.
How do I connect Gmail to MCPX?
Add the Gmail server in the MCPX control plane or your app.yaml, then point your AI client at your MCPX gateway. MCPX handles OAuth and routes every Gmail call through the gateway.
Is the Gmail MCP server official?
Yes. Gmail is an official, vendor-published MCP server, and MCPX governs it like any other server in your catalog.
What authentication does Gmail use with MCPX?
Gmail uses OAuth. MCPX enforces authentication at the gateway with token-based auth, OAuth, and role-based profiles, so you control which agents can invoke it.
How many tools does Gmail expose in MCPX?
Gmail exposes 10 tools. In MCPX you can enable or disable each tool per agent for least-privilege access.
