Labsco
HeurisTech logo

Gmail

from HeurisTech

Tools for common Gmail operations, such as sending emails.

๐Ÿ”ฅ๐Ÿ”ฅโœ“ VerifiedAccount requiredNeeds API keys

Gmail MCP Server

This MCP (Model Context Protocol) server provides tools for common operations with gmail.

Features

  • send_mail: Send new emails

Inspect

Use MCP Inspector to test it in the development mode.

mcp dev server.py

Claude Desktop Integration

Once your server is ready, install it in Claude Desktop

mcp install server.py --with google-auth --with google-auth-oauthlib --with google-auth-httplib2 --with google-api-python-client -f .env

MCP server configuration:

{
  "mcpServers": {
    "gmail-mcp-server": {
      "command": "uv",
      "args": [
          "--directory",
          "/:your.path.to/gmail-mcp-server/server.py",
          "run",
          "server.py"
      ],
      "env": {
        "CLIENT_ID": "google.auth.app.client.id",
        "CLIENT_SECRET": "google.auth.app.client.secret",
        "REFRESH_TOKEN": "google.auth.app.refresh.token"
      }   
    }   
  }
}