Atlas / MCP servers / jasonsum / Gmail

GmailCAUTION

mcp/jasonsum/gmail-5

Model Context Protocol (MCP) server for Gmail

Verdict
CAUTION
Grade
B
Trust score
89 /100
Exposed tools
6 5r · 1w · 0d
Transport
stdio
License
GPL-3.0
Stars
72
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

This MCP server integrates with Gmail to enable sending, removing, reading, drafting, and responding to emails.

Note: This server enables an MCP client to read, remove, and send emails. However, the client prompts the user before conducting such activities.

https://github.com/user-attachments/assets/5794cd16-00d2-45a2-884a-8ba0c3a90c90

Components

Tools

  • send-email
  • Sends email to email address recipient
  • Input:
  • recipient_id (string): Email address of addressee
  • subject (string): Email subject
  • message (string): Email content
  • Returns status and message_id
  • trash-email
  • Moves email to trash
  • Input:
  • email_id (string): Auto-generated ID of email
  • Returns success message
  • mark-email-as-read
  • Marks email as read
  • Input:
  • email_id (string): Auto-generated ID of email
  • Returns success message
  • get-unread-emails
  • Retrieves unread emails
  • Returns list of emails including email ID
  • read-email
  • Retrieves given email content
  • Input:
  • email_id (string): Auto-generated ID of email
  • Returns dictionary of email metadata and marks email as read
  • open-email
  • Open email in browser
  • Input:
  • email_id (string): Auto-generated ID of email
  • Returns success message and opens given email in default browser

Setup

Gmail API Setup

  1. Create a new Google Cloud project
  2. Enable the Gmail API
  3. Configure an OAuth consent screen
  4. Select "external". However, we will not publish the app.
  5. Add your personal email address as a "Test user".
  6. Add OAuth scope https://www.googleapis.com/auth/gmail/modify
  7. Create an OAuth Client ID for applicati
Read from source at commit 3ca482e81b1eOBSERVED · 2026-10-07
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control.

claude-code
claude mcp add gmail -- uvx gmail
claude-desktop
{
  "mcpServers": {
    "gmail": {
      "command": "uvx",
      "args": [
        "gmail"
      ]
    }
  }
}
03

Exposed tools (6)

5 read · 1 write · 0 destructive.

ToolRiskDescription
get-unread-emailsreadRetrieve unread emails
mark-email-as-readreadMarks given email as read
open-emailreadOpen email in browser
read-emailreadRetrieves given email content
send-emailwrite
trash-emailread
04

Trust audit

CAUTIONgrade B · trust 89/100 Install with care. The audit found things worth knowing before you trust its output.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codePASS
L2Instruction surface (what it tells the agent)WARN
L3Class-specific surfacePASS
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
none-observed
Network
none-observed
Shell
none-observed
Dependencies
pinned
Secrets in source
none-found

Findings (2)

MEDIUMPrompt injection · review.misleading_scope · CWE-94, CWE-1427
<listing:description>
Integrates with Gmail to enable programmatic sending, reading, and management of emails
Why it matters. The description advertises email sending capability, but no send-email tool is present among the four listed tools, which are all read-only operations.
Fix. rewrite it so the instruction says plainly what it does, and asks the user before it acts
INFOInventory / provenance · inv.oversize · CWE-1104
images/demo.mov
images/demo.mov
Why it matters. 8100242 bytes not read

Gates applied: no_behavioural_pass.

Audited 2026-10-07 · audit v0.4.1 · source sha 3ca482e81b1efull audit observations/trust-audit/mcp-server/jasonsum__gmail-5.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-073ca482e81b1eCAUTIONB89first audit
06

Questions

What is the Gmail MCP server?

Model Context Protocol (MCP) server for Gmail

What tools does Gmail expose?

6 in total: 5 read-only, 1 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.

Is Gmail safe to connect to an agent?

With care. The audit graded it B (89/100) and found 2 things worth knowing before you trust this server, listed below with the exact line each was found on.

What credentials does Gmail need?

No credential environment variables were found in its source, so it appears to need none.

How does Gmail run?

It speaks stdio, so it runs as a local process your client starts. It is published on PyPI as gmail.

How current is this page?

The grade is for one exact copy of the source (3ca482e81b1e), read on 2026-10-07. The repository is watched and re-audited when it changes.

Advertisement