Skip to content
InfratoApp
InfratoApp / Resources / MCP servers / mcp-headless-gmail

mcp-headless-gmail

mcp-headless-gmail is an MCP server, listed under communication. It reaches gmail. Its repository has 55 GitHub stars and is licensed under MIT; we last read it on 2026-10-22.

This software acts as an MCP server to retrieve and send emails through Gmail without requiring local credential or token setup.

Install

MCP servers are packaged differently from each other -- some run via npx, some as a Docker image, some as a plain script you clone and run. mcp-headless-gmail’s own README did not state one plainly enough for this page to quote it rather than guess, so it will not guess. The repository below states it.

What it reaches, and what it needs

Reaches
gmail
Credential
○ none found

Maintenance

Stars
55
State
stale
Licence
MIT
From the repository

A MCP (Model Context Protocol) server that provides get, send Gmails without local credential or token setup.

What mcp-headless-gmail can do

2 tools documented in its README. An AI client calls these by name.

gmail_refresh_token
Refresh access tokens separately
get_recent_emails
Retrieves recent emails with the first 1k characters of each email body

Read from the README; names are kept only if the README contains them.

mcp-headless-gmail compared with similar servers

mcp-headless-gmail compared with the closest alternatives, by services reached, credentials, stars, last update and licence
ServerReachesNeedsStarsLast updateLicence
mcp-headless-gmail (this page)gmailNone listed552025-05-24MIT
google-workspace-mcpgmail, google(1 shared)GOOGLE_CLIENT_SECRET1922026-10-21Apache-2.0
mail-mcpgmail, mail(1 shared)MAIL_OAUTH2_DEFAULT_CLIENT_SECRET, MAIL_OAUTH2_DEFAULT_REFRESH_TOKEN, MAIL_OAUTH2_WORK_CLIENT_SECRET, MAIL_OAUTH2_WORK_REFRESH_TOKEN1082026-10-23MIT
mcp-server-emailgmail(1 shared)None listed812025-04-27MIT
mail-usegmail(1 shared)None listed472026-10-13MIT
google-workspace-mcp-servergmail, google(1 shared)GOOGLE_CLIENT_SECRET, GOOGLE_REFRESH_TOKEN312024-12-29MIT

Ranked by services in common with mcp-headless-gmail, then by stars. Figures are from each repository when we last read it.

Common questions about mcp-headless-gmail

What does mcp-headless-gmail do?
This software acts as an MCP server to retrieve and send emails through Gmail without requiring local credential or token setup.
How do I install mcp-headless-gmail?
Its README did not state an install command plainly enough for us to quote one, so we do not guess. The repository has the instructions: https://github.com/baryhuang/mcp-headless-gmail
What does mcp-headless-gmail connect to, and what does it need?
It reaches gmail.
Is mcp-headless-gmail official and is it maintained?
We found nothing naming it as a vendor’s official server. Its repository has 55 GitHub stars and its state in our directory is stale. Its last commit we recorded was on 2025-05-24.
What licence does mcp-headless-gmail use?
The repository declares the MIT licence.

More MCP servers for communication

All communication entries →

Learn this on Infrato