Loading connector details…
Loading connector details…
Choose a unique username to continue using AgentHotspot
by baryhuang • APIs & Integration
A headless MCP server that lets agents read and send Gmail messages and refresh tokens without local credential or browser setup, designed for remote and containerized environments.
Read recent Gmail messages (id, threadId, from/to/subject/date and the first 1k of the body) in a headless or containerized environment without local OAuth storage.
Retrieve full email bodies incrementally in 1k chunks (using offset) to handle very large messages or stream content.
Send emails via Gmail and manage access/refresh token rotation decoupled from the server implementation.
This MCP server provides Gmail read and send capabilities via simple tools: fetch recent emails (first 1k of body), retrieve full bodies in 1k chunks, send messages, and refresh access tokens. It is designed to run headless (Docker or npm) so clients can supply credentials as context, decoupling credential storage from the server. The server supports automatic token refreshing and a dedicated refresh tool to simplify OAuth flows for remote agents.
Refresh the access token using the refresh token and client credentials
Get the most recent emails from Gmail (returns metadata, snippets, and first 1k chars of body)
Get a 1k character chunk of an email body starting from the specified offset
Send an email via Gmail
Scores are informational only and provided “as is” without warranty. AgentHotspot assumes no liability for actions taken based on these ratings.