1. Conduid
  2. Developer Tools
  3. Gmail Headless
MCP server · Developer Tools

Gmail Headless

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

Unclaimed MIT last commit a year ago devtools
52Fair

Scored 1 hours ago · breakdown

About Gmail Headless

Gmail Headless is an MCP server published by baryhuang in the Developer Tools category: a MCP (Model Context Protocol) server that provides get, send Gmails without local credential or token setup. Conduid read 4 tools from its source: gmail_get_email_body_chunk, gmail_get_recent_emails, gmail_refresh_token and gmail_send_email. No package is published for it, so it installs from a source checkout.

The repository has 55 stars and 29 forks, is licensed MIT, and its last commit was on 24 May 2025. Conduid has no tagged release on record for it. It passes 4 of the 6 static checks Conduid ran on the repository; it does not pass Tests present and Scoped permissions. Its topics include devtools.

Install

From source
git clone https://github.com/baryhuang/mcp-headless-gmail

Tools (4)

gmail_get_email_body_chunkGet a 1k character chunk of an email body starting from the specified offset
ParameterTypeDescription
google_access_token *stringGoogle OAuth2 access token
message_idstringID of the message to retrieve
offsetintegerOffset in characters to start from (default: 0)
thread_idstringID of the thread to retrieve (will get the first message if multiple exist)
gmail_get_recent_emailsGet the most recent emails from Gmail (returns metadata, snippets, and first 1k chars of body)
ParameterTypeDescription
google_access_token *stringGoogle OAuth2 access token
max_resultsintegerMaximum number of emails to return (default: 10)
unread_onlybooleanWhether to return only unread emails (default: False)
gmail_refresh_tokenRefresh the access token using the refresh token and client credentials
ParameterTypeDescription
google_access_tokenstringGoogle OAuth2 access token (optional if expired)
google_client_id *stringGoogle OAuth2 client ID for token refresh
google_client_secret *stringGoogle OAuth2 client secret for token refresh
google_refresh_token *stringGoogle OAuth2 refresh token
gmail_send_emailSend an email via Gmail
ParameterTypeDescription
body *stringEmail body content (plain text)
google_access_token *stringGoogle OAuth2 access token
html_bodystringEmail body content in HTML format (optional)
subject *stringEmail subject
to *stringRecipient email address

Security checks

Static checks derived from the repository 10 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository's README runs to about 1.0K words.
  • ✓License declaredThe repository declares the MIT license.
  • !Tests presentNo tests found. Behaviour changes may go unnoticed between versions.
  • ✓Dependencies pinnedDependency versions are pinned by package-lock.json and uv.lock.
  • ✓No dynamic code executionScanned 3 source files and found no eval, dynamic Function or shell execution.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

What the source scan found

Transport
stdioserver.js:4
Starts other programs
No calls that start other programs
Outbound network calls
No outbound network calls
Writes or deletes files
No file writes or deletes
Lockfile
package-lock.json and uv.lock

Pattern matches on the source text of 3 files: places to read, not proof of what the code does at run time.

README

The repository's README runs to about 1.0K words, fetched a month ago. The original in the repository is authoritative.

Read full README
Questions

About Gmail Headless

How do I install Gmail Headless?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Gmail Headless safe to use with an AI agent?

Its trust score is 52 out of 100 (fair). It passes 4 of the 6 static checks Conduid ran on the repository; it does not pass Tests present and Scoped permissions. Conduid's scan of 3 source files found that it serves MCP over stdio. Its dependencies are pinned by package-lock.json and uv.lock. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Gmail Headless still maintained?

The last commit was a year ago and 4 open issues. That's long enough that you should check whether the maintainer is responding to issues before depending on it.

What tools does Gmail Headless provide?

Conduid read 4 tools from the source: gmail_get_email_body_chunk, gmail_get_recent_emails, gmail_refresh_token and gmail_send_email. 4 of them publish their parameters, listed under Tools above.

What license is Gmail Headless released under?

The repository declares the MIT license.