A standardized MCP server for managing Gmail, including sending, drafting, labels, threads, and settings via OAuth2 authentication.
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.
Install from
M8ven verifies MCPs across every public registry — install directly from whichever one you prefer.
Disclosed vulnerabilities in this server's declared npm dependencies (via OSV). Whether each is reachable depends on the installed versions.
@modelcontextprotocol/sdk has cross-client data leak via shared server/transport instance reuse
Anthropic's MCP TypeScript SDK has a ReDoS vulnerability
Model Context Protocol (MCP) TypeScript SDK does not enable DNS rebinding protection by default
express vulnerable to XSS via response.redirect()
@babel/core: Arbitrary File Read via sourceMappingURL Comment
process.env. You'll be asked to provide them before it can run.AUTH_SERVER_PORT— Port for the temporary OAuth authentication server No 3000CLIENT_ID— 6. (Optional) For remote server installation (ex. using Smithery CLI), note the and CLIENT_SECRET from this file.CLIENT_SECRET— 6. (Optional) For remote server installation (ex. using Smithery CLI), note the CLIENT_ID and from this file.GOOGLE_CLIENT_IDGOOGLE_CLIENT_SECRETMCP_CONFIG_DIR— GMAIL_CREDENTIALS_PATH Path to the user credentials file No /credentials.jsonOAUTH_REDIRECT_URIPORT— Port for Streamable HTTP transport method No 3000REFRESH_TOKEN— 4. (Optional) For remote server installation, note the file path mentioned in the success message (~/.gmail-mcp/credentials.json by default). The user's will be found here.TELEMETRY_ENABLED— Enable telemetry No true[](https://m8ven.ai/mcp/sebastianall1977-gmail-mcp-1xyanh)