Gmail MCP Server

Communicationstdiov1.1.0
Репозиторий

MCP server for Gmail that lets AI agents read, search, draft, and send email, manage labels, and organize the inbox via the Gmail API with OAuth. Handy for triaging mail, drafting replies, and automating routine inbox workflows from an AI client.

Подключение

Добавьте эту конфигурацию в .claude/mcp.json

{
  "mcpServers": {
    "gmail": {
      "command": "npx",
      "args": [
        "-y",
        "@gongrzhe/server-gmail-autoauth-mcp"
      ],
      "env": {
        "GMAIL_OAUTH_CREDENTIALS": "<YOUR_GMAIL_OAUTH_CREDENTIALS>"
      }
    }
  }
}

Инструменты (3)

search_emails

Search the mailbox using Gmail search syntax.

{
  "type": "object",
  "required": [
    "query"
  ],
  "properties": {
    "query": {
      "type": "string",
      "description": "Gmail search query (e.g., \"from:boss is:unread\")"
    },
    "max_results": {
      "type": "integer",
      "description": "Maximum number of messages to return"
    }
  }
}

send_email

Send an email message.

{
  "type": "object",
  "required": [
    "to",
    "subject",
    "body"
  ],
  "properties": {
    "to": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Recipient email addresses"
    },
    "body": {
      "type": "string",
      "description": "Email body"
    },
    "subject": {
      "type": "string",
      "description": "Email subject"
    }
  }
}

create_draft

Create a draft email without sending it.

{
  "type": "object",
  "required": [
    "to",
    "subject",
    "body"
  ],
  "properties": {
    "to": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Recipient email addresses"
    },
    "body": {
      "type": "string",
      "description": "Email body"
    },
    "subject": {
      "type": "string",
      "description": "Email subject"
    }
  }
}

Ресурсы

Этот сервер не предоставляет ресурсы.

Промпты

Этот сервер не предоставляет промпты.

Сведения о сервере

Автор
GongRzhe (@GongRzhe)
Репозиторий
https://github.com/GongRzhe/Gmail-MCP-Server
Лицензия
MIT
Версия
1.1.0
Звёзды
1,900
Последнее обновление
24 июня 2026 г.