MCP server exposing 5 tools for gmail.
This URL is a JSON-RPC 2.0 endpoint over HTTP. Issue POST requests with a JSON-RPC body. Browsers and search crawlers land here on GET.
POST https://gateway.pipeworx.io/gmail/mcp
Content-Type: application/json
{"jsonrpc":"2.0","id":1,"method":"tools/list"}
gmail_list_messages — List messages in your inbox with optional filtering by label or read status. Returns message IDs, thread IDs, and preview text. Use gmail_search for complex queries like date ranges or attachments.gmail_get_message — Fetch full email details by message ID. Returns headers, subject, body text, sender, recipients, attachments, and applied labels.gmail_search — Search emails using Gmail query syntax (e.g., 'from:sender@example.com', 'subject:invoice', 'has:attachment', 'after:2024/01/01', 'is:unread'). Returns matching message IDs.gmail_send — Send an email with recipient, subject, and body text. Optionally add CC, BCC, reply-to address, and file attachments.gmail_list_labels — Get all your labels including system folders (INBOX, SENT, TRASH, DRAFTS) and custom labels. Returns label names and IDs for filtering or organizing.Code samples (curl / TypeScript / one-click client install), schemas, and the live playground are on the pack page:
https://pipeworx.io/packs/gmail/
Pipeworx is an open MCP gateway connecting AI agents to live data. pipeworx.io