mcp-gmail-gas

mcp-gmail-gas

10

MCP Gmail is a server designed to integrate Gmail with Claude Desktop or any MCP client using Google Apps Script. It provides functionalities like searching emails, retrieving email content, and downloading attachments while requiring certain software prerequisites.

MCP Gmail

Model Context Protocol server for Gmail integration, enabling Claude Desktop (or any MCP client) to interact with a Gmail account using Google Apps Script.

Quick Start (For Users)

Prerequisites

  • Node.js 18+
  • Gmail account
  • Google Apps Script deployment
  • Claude Desktop

Configuration

  1. Deploy Google Apps Script and authorize necessary permissions.
  2. Configure Claude Desktop settings with deployment URL and API key.

For Developers

Prerequisites

  • Node.js 18+
  • Gmail account
  • Google Apps Script
  • Claude Desktop
  • tsx

Installation

Clone the repository, install dependencies, and build the project.

Development Configuration

Modify Claude Desktop config to include MCP client's configuration.

Available Tools

  • Search emails
  • Get email content
  • Download attachments

Security Note

Keep your API key secret to ensure security.