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.
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
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
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.
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.statusReturns whether the current user has Gmail connected
gmail.authorizeInitiates the OAuth consent flow to connect Gmail
gmail.searchMessagesgmail.getMessagegmail.batchSearchMessagesgmail.listThreadsList conversation threads, optionally filtered by query
gmail.getThreadGet a thread with all its messages
gmail.getAttachmentMetadataGet metadata about an attachment (filename, size, MIME type)
gmail.archiveMessagesgmail.unarchiveMessagesgmail.markAsReadMark messages or threads as read. Requires gmail.labels scope.
gmail.markAsUnreadMark messages or threads as unread. Requires gmail.labels scope.
gmail.starMessagesAdd star to messages or threads. Requires gmail.labels scope.
gmail.unstarMessagesRemove star from messages or threads. Requires gmail.labels scope.
gmail.getLabelInfoGet information about a label including message counts. Common labels: INBOX, UNREAD, STARRED, SENT, DRAFT, TRASH, SPAM.
gmail.listLabelsList all labels with their message counts
gmail.addLabelsAdd labels to messages or threads. Requires gmail.labels scope.
gmail.removeLabelsRemove labels from messages or threads. Requires gmail.labels scope.
gmail.createLabelCreate a new custom label. Requires gmail.labels scope.
gmail.createDraftCreate a new draft email. Requires gmail.compose scope.
gmail.listDraftsList all draft emails
gmail.getDraftGet a draft with full content
gmail.updateDraftUpdate an existing draft. Requires gmail.compose scope.
gmail.deleteDraftDelete a draft. Requires gmail.compose scope.
gmail.listAccountsList all connected Gmail accounts for the current user
gmail.setDefaultAccountSet the default Gmail account for operations when no email is specified
gmail.removeAccountDisconnect a specific Gmail account
Disclosed vulnerabilities in this server's declared npm dependencies (via OSV). Whether each is reachable depends on the installed versions.
When Vitest UI server is listening, arbitrary file can be read and executed
@modelcontextprotocol/sdk has cross-client data leak via shared server/transport instance reuse
Anthropic's MCP TypeScript SDK has a ReDoS vulnerability
Fastify has a Body Schema Validation Bypass via Leading Space in Content-Type Header
Fastify's Content-Type header tab character allows body validation bypass
ALLOWED_ORIGINSComma-separated CORS origins NoBASE_URLPublic URL for OAuth callbacks YesDB_URLSQLite database path (default: ./data/gmail-mcp.db) NoGOOGLE_CLIENT_IDSet and GOOGLE_CLIENT_SECRETGOOGLE_CLIENT_SECRETSet GOOGLE_CLIENT_ID andJWT_SECRETSecret for MCP JWT tokens YesOAUTH_REDIRECT_URIOAuth callback URL YesTOKEN_ENCRYPTION_KEY32-byte base64 key for token encryption YesPORTTool 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.
[](https://m8ven.ai/mcp/shcallaway/gmail-mcp-server)?variant=verified from the URL.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