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

D
Caution
50/100

Gmail MCP Server

Enables AI assistants to read, search, organize, and draft emails in Gmail inboxes with support for multiple accounts, OAuth authentication, and 26 comprehensive tools for email management.

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

shcallaway

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: 1 critical, 4 high
Affects packages this MCP installs at runtime. Upgrade or remove the affected dependency.
🔐
You'll be asked for 3 credentials: GOOGLE_CLIENT_SECRET, JWT_SECRET, TOKEN_ENCRYPTION_KEY
These are read from process.env at runtime. Make sure you trust where they’ll be sent.
// tools this server exposes27 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.

gmail.status

Returns whether the current user has Gmail connected

gmail.authorize

Initiates the OAuth consent flow to connect Gmail

gmail.searchMessages
gmail.getMessage
gmail.batchSearchMessages
gmail.listThreads

List conversation threads, optionally filtered by query

gmail.getThread

Get a thread with all its messages

gmail.getAttachmentMetadata

Get metadata about an attachment (filename, size, MIME type)

gmail.archiveMessages
gmail.unarchiveMessages
gmail.markAsRead

Mark messages or threads as read. Requires gmail.labels scope.

gmail.markAsUnread

Mark messages or threads as unread. Requires gmail.labels scope.

gmail.starMessages

Add star to messages or threads. Requires gmail.labels scope.

gmail.unstarMessages

Remove star from messages or threads. Requires gmail.labels scope.

gmail.getLabelInfo

Get information about a label including message counts. Common labels: INBOX, UNREAD, STARRED, SENT, DRAFT, TRASH, SPAM.

gmail.listLabels

List all labels with their message counts

gmail.addLabels

Add labels to messages or threads. Requires gmail.labels scope.

gmail.removeLabels

Remove labels from messages or threads. Requires gmail.labels scope.

gmail.createLabel

Create a new custom label. Requires gmail.labels scope.

gmail.createDraft

Create a new draft email. Requires gmail.compose scope.

gmail.listDrafts

List all draft emails

gmail.getDraft

Get a draft with full content

gmail.updateDraft

Update an existing draft. Requires gmail.compose scope.

gmail.deleteDraft

Delete a draft. Requires gmail.compose scope.

gmail.listAccounts

List all connected Gmail accounts for the current user

gmail.setDefaultAccount

Set the default Gmail account for operations when no email is specified

gmail.removeAccount

Disconnect a specific Gmail account

// known CVEs in dependencies1 critical4 high2 low

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

criticalvitest@2.1.9GHSA-5xrq-8626-4rwp

When Vitest UI server is listening, arbitrary file can be read and executed

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

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

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

Anthropic's MCP TypeScript SDK has a ReDoS vulnerability

highfastify@5.6.2GHSA-247c-9743-5963

Fastify has a Body Schema Validation Bypass via Leading Space in Content-Type Header

highfastify@5.6.2GHSA-jx2c-rxcm-jvmq

Fastify's Content-Type header tab character allows body validation bypass

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.
configALLOWED_ORIGINSComma-separated CORS origins No
configBASE_URLPublic URL for OAuth callbacks Yes
configDB_URLSQLite database path (default: ./data/gmail-mcp.db) No
configGOOGLE_CLIENT_IDSet and GOOGLE_CLIENT_SECRET
🔐 secretGOOGLE_CLIENT_SECRETSet GOOGLE_CLIENT_ID and
🔐 secretJWT_SECRETSecret for MCP JWT tokens Yes
configOAUTH_REDIRECT_URIOAuth callback URL Yes
🔐 secretTOKEN_ENCRYPTION_KEY32-byte base64 key for token encryption Yes
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

27/27 tools missing one or more hints — gmail.status (missing: readOnlyHint, destructiveHint, idempotentHint, openWorldHint); gmail.authorize (missing: readOnlyHint, destructiveHint, idempotentHint, openWorldHint); gmail.searchMessages (missing: readOnlyHint, destructiveHint, idempotentHint, openWorldHint), +24 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

25/27 tool handlers declare input schemas (93%)

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.).

Tool test coverage

Only 0/27 tools referenced in tests (0%)

Write tests that reference each tool by name so every tool has at least one test.

Production dependencies are patched

0 critical, 4 high severity in production deps — @modelcontextprotocol/sdk@1.25.1 (high), @modelcontextprotocol/sdk@1.25.1 (high)

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

Dev dependencies

1 critical/high in dev-only deps (does not ship to users)

Upgrade dev dependencies when convenient.

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 7 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/shcallaway/gmail-mcp-server?variant=verified)](https://m8ven.ai/mcp/shcallaway/gmail-mcp-server)
Shows verification status without the grade. Want the grade badge instead? Remove ?variant=verified from the URL.
commit: 08827a430d0a2b5e9227ec15dff95f6b2bb4eaae
code hash: 19efc440ec914567294cc8faa508b6a1bcad6e5b306fc125fd75c9841cc144fa
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