Gmail MCP Server

Enables AI assistants to interact with Gmail and Calendar services through a Model Context Protocol (MCP) server.

Local serverstdioTypeScript★ 1

What is the Gmail MCP Server?

Enables AI assistants to interact with Gmail and Calendar services through a Model Context Protocol (MCP) server.

Configuration and credentials

  • Node.js (v14 or higher) - npm (v6 or higher) - Google Cloud Platform account with Gmail and Calendar APIs enabled - OAuth 2.0 credentials with appropriate scopes

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Configuration

  • Node.js (v14 or higher) - npm (v6 or higher) - Google Cloud Platform account with Gmail and Calendar APIs enabled - OAuth 2.0 credentials with appropriate scopes
VariableDescriptionRequired
GOOGLE_CLIENT_IDConfiguration value read at startup.Optional
GOOGLE_CLIENT_SECRETCredential the server authenticates with.Yes
GOOGLE_REFRESH_TOKENCredential the server authenticates with.Yes

Example prompts to try

  • “Use Gmail to Security.”
  • “Use Gmail to Prerequisites.”
  • “Use Gmail to Installation.”

Frequently asked questions

You need Node.js (v14+), npm (v6+), a Google Cloud Platform account with Gmail and Calendar APIs enabled, and OAuth 2.0 credentials with appropriate scopes.