Gmail MCP Server (SfdcAnnu/Gmail-MCP-Server) is an MCP server listed on the M8ven Trust Index. It scores 54 out of 100, grade D. It declares 11 tools. No publisher has claimed this listing.

D
Caution
54/100

Gmail MCP Server

Enables interaction with Gmail through 11 tools for email management, including reading, sending, replying, searching, and labeling, with OAuth 2.1 authentication and support for various MCP clients.

Caution. Specific findings reduced this grade. They are listed on the page. Grades reflect the full trust pyramid: code, verification depth, and reputation. New projects cap at C until adoption is earned.

How we verified

Code Verified⚡ Live Monitored: not connected

Verified is a snapshot. Live keeps it current, and builds your track record.

⚡ Connect GitHub → continuous verification on every pushwhy connect →

Who stands behind it

SfdcAnnu

Source: Glama

Is this your MCP?

Claim it to get a verified publisher badge, a free copy of our full audit findings, and direct contact for any high-priority issues we find. Or connect your repo for our deepest verification, Live Monitored: read-only, revoke anytime. What we access →

Install from

The grade above is for the source repository. Registries can serve a different version, so we mark the ones we were not able to read.

// key findings
⚠️
Known vulnerabilities in dependencies: 17 high
Affects packages this MCP installs at runtime. Upgrade or remove the affected dependency.
No credential exfiltration, no sensitive file access, no obfuscation
Static analysis found nothing flowing your secrets to unexpected places.
🔐
You'll be asked for 1 credential: GOOGLE_CLIENT_SECRET
These are read from process.env at runtime. Make sure you trust where they’ll be sent.
// tools this server exposes11 tools

These names and descriptions are the publisher's own, read from the source code. We print them as written. Our assessment is the findings above, not this list.

listEmails

Lists Gmail messages, newest first. USE THIS FIRST to discover message ids — every other mail tool takes the ids this returns. Returns metadata + a short snippet only. Call readEmail for the full body. LABELS (Gmail folders): INBOX (default), SENT, DRAFT, TRASH, SPAM, STARRED, IMPORTANT — or a lab

readEmail

Reads one Gmail message in full — headers, complete body (text + HTML), attachment list, and the threading headers needed for replies.

searchEmails

Searches all Gmail mail with Gmail's native query syntax. USE searchEmails INSTEAD OF listEmails WHEN: • Looking for a topic, order number, name, or phrase — not a specific label • You don't know which label holds the message QUERY SYNTAX (same as the Gmail search box): from:jane@acme.com to:me

listLabels

Lists all Gmail labels (Gmail's equivalent of folders) with unread/total counts. Use when the user references a custom label ('check my Invoices label') — pass the returned label id to listEmails/moveEmail.

getAttachments

Lists the attachments on a message (name, type, size). Does NOT download binary content — report the names/sizes to the user instead.

sendEmail

Sends a new email from the connected Gmail account. RULES: • Confirm recipients and content with the user before sending anything they did not explicitly dictate. • bodyType 'html' allows formatting (<b>, <p>, lists); 'text' sends plain text. • The message lands in the user's Sent label.

replyEmail

Replies to an existing Gmail message in-thread. Confirm the reply text with the user before sending unless they dictated it. replyAll=true includes all original recipients in the reply.

createDraft

Creates a Gmail draft WITHOUT sending it. The user reviews and sends from Gmail themselves. Prefer this over sendEmail when the user says 'draft', 'prepare', or hasn't confirmed sending.

moveEmail

Moves a Gmail message: archive it (remove from INBOX), trash it, or apply a different label. Gmail 'folders' are labels — get ids from listLabels.

markEmail

Marks a Gmail message read/unread and/or stars it.

getProfile

Returns the connected Gmail account (email address, total messages). Use to confirm which account is connected before sending on the user's behalf.

// known CVEs in dependencies17 high13 low

Disclosed vulnerabilities in this server's declared npm dependencies (via OSV). Whether each is reachable depends on the installed versions.

high@modelcontextprotocol/sdk@1.10.2GHSA-345p-7cg4-v4c7

@modelcontextprotocol/sdk has cross-client data leak via shared server/transport instance reuse

high@modelcontextprotocol/sdk@1.10.2GHSA-8r9q-7v3j-jr4g

Anthropic's MCP TypeScript SDK has a ReDoS vulnerability

high@modelcontextprotocol/sdk@1.10.2GHSA-w48q-cv73-mx4w

Model Context Protocol (MCP) TypeScript SDK does not enable DNS rebinding protection by default

highaxios@1.6.2GHSA-35jp-ww65-95wh

axios Vulnerable to Full Man-in-the-Middle via Prototype Pollution Gadget in `config.proxy`

highaxios@1.6.2GHSA-3g43-6gmg-66jw

axios Vulnerable to Credential Theft and Response Hijacking via Prototype Pollution Gadget in Config Merge

Depend on this server? Get alerted when its CVEs change.Watch this server free →
// environment variables
To run this server yourself, you supply these values. They go in your own MCP client configuration and stay on your machine. The secret label means the value is sensitive, not that the server mishandles it.
configBASE_URL/auth/callback (PATH B standalone)
configGOOGLE_CLIENT_IDcp .env.example .env # fill in / GOOGLE_CLIENT_SECRET / BASE_URL
🔐 secretGOOGLE_CLIENT_SECRETcp .env.example .env # fill in GOOGLE_CLIENT_ID / / BASE_URL
configGOOGLE_REDIRECT_URIGOOGLE_CLIENT_SECRET, =<BASE_URL>/auth/callback
Deployment configuration, supplied by whoever hosts the server. Users are not asked for these.
deployPORT
// quality suggestions

Tool annotations

No tools have read-only/destructive annotations

Add readOnlyHint or destructiveHint annotations to every tool so hosts can warn users before invoking.

All four hints declared on every tool

11/11 tools missing one or more hints — listEmails (missing: readOnlyHint, destructiveHint, idempotentHint, openWorldHint); readEmail (missing: readOnlyHint, destructiveHint, idempotentHint, openWorldHint); searchEmails (missing: readOnlyHint, destructiveHint, idempotentHint, openWorldHint), +8 more. OpenAI's directory rejects tools where any of the four hints are missing or non-boolean.

For every tool, set all four hints (readOnlyHint, destructiveHint, idempotentHint, openWorldHint) to explicit true/false values that match the handler’s actual behaviour.

Tool inputs are validated

9/11 tool handlers declare input schemas (82%)

Declare an inputSchema with zod/joi/yup on every tool definition.

License file

No license file

Add a LICENSE file (MIT, Apache-2.0, etc.).

Tests exist

No test files found

Add tests that exercise each declared tool.

Production dependencies are patched

0 critical, 17 high severity in production deps — @modelcontextprotocol/sdk@1.10.2 (high), @modelcontextprotocol/sdk@1.10.2 (high)

Run npm audit fix, or upgrade the affected packages to a non-vulnerable version.

Claim the listing to review these findings one by one and send us a correction where you disagree, straight to the team. Claiming also means we tell you when the grade moves, and reach you first if we find anything urgent.

// full audit trail
The findings above are the summary. The full trail, every check we ran, each deduction, the network hosts observed and the dependency advisories, goes to verified publishers, along with an alert whenever a new one lands. Verified publishers can also review each finding and dispute it in one click. Publisher corrections have sharpened several of our checks this month, because the maintainer knows the codebase better than any scanner.
// improvement guidance — verified publishers only
We have 6 concrete improvements we can share with the publisher of this MCP. Each comes with specific guidance to raise the trust score.
// embed badge in your README
[![M8ven Verified](https://m8ven.ai/badge/mcp/sfdcannu/gmail-mcp-server?variant=verified)](https://m8ven.ai/mcp/sfdcannu/gmail-mcp-server)
Shows verification status without the grade. Want the grade badge instead? Remove ?variant=verified from the URL.
commit: 1c531dfd93fa29810d524372abacb9cee1113fac
code hash: 1e8eb93aaa07ce4f6067cb1877197c4702c9efe8c84e7403285a228e5da64274
view raw JSON →
Check MCPs from inside your assistant
Tool Check · MCP

Vetting this one by hand? Tool Check is an MCP that scores other MCPs. Add it once and ask Claude, ChatGPT, or any MCP client to grade a server, surface CVEs, check the publisher, and suggest safer alternatives — before you install.

https://m8ven.ai/api/mcp/tool-check
check_toolsearch_toolscompare_toolsrecommend_alternativescheck_publisherreport_concern
How to add it →Free · no account needed · works in any MCP client