mcpcli
Войти

Gmail

GoogleМессенджеры и рассылкиотвечает

Официальный сервер Gmail: письма, черновики и метки. Нужен OAuth-клиент Google Cloud.

бесплатно

Подключить

  1. Одной командой через mcpcli

    mcpcli install gmail --cursor
  2. Или вручную: добавьте блок в ~/.cursor/mcp.json

    {
      "mcpServers": {
        "gmail": {
          "url": "https://gmailmcp.googleapis.com/mcp/v1"
        }
      }
    }
  3. Убедитесь, что агент видит сервер

    Settings → MCP: у сервера должна гореть зелёная точка и быть виден список инструментов.

Остальное в файле не трогайте — нужен только этот блок.

До подключения

Ключ и доступ

OAuth-клиент с включёнными Gmail API и Gmail MCP API

Цена

Бесплатно с аккаунтом Google. Нужен проект Google Cloud

Что умеет

Адрес https://gmailmcp.googleapis.com/mcp/v1 опубликован Google и отвечает на рукопожатие. Вход — не один ключ, а OAuth-клиент в Google Cloud: включаются Gmail API и Gmail MCP API, у клиента отмечается использование для ИИ-агента.

В документации два адреса. /mcp/v1 — основной. /mcp/v1self — запасной для клиентов, которые не умеют спрашивать подтверждение формой. Отдельного инструмента «отправить письмо» в выданном списке нет: сервер создаёт черновик.

Из России нужен обычный доступ к сервисам Google, как и для других серверов Google в каталоге.

Инструменты 23 · из ответа сервера, 26 ноября в 02:46 мск

  • create_draftCreates a new draft email in the authenticated user's Gmail account.
  • list_draftsLists draft emails from the authenticated user's Gmail account, optionally filtered by a query string.
  • get_draftRetrieves a specific draft email from the authenticated user's Gmail account by ID, including its `viewUrl` for viewing and editing in the Gmail Web UI.
  • get_threadRetrieves a specific email thread from the authenticated user's Gmail account, including its `viewUrl` and a list of its messages (each with their own `viewUrl`).
  • get_messageRetrieves a specific email message from the authenticated user's Gmail account by its unique message ID, including its `viewUrl`.
  • search_threadsLists email threads from the authenticated user's Gmail account.
  • label_threadAdds labels to an entire thread in the authenticated user's Gmail account. This operation affects all messages currently in the thread and any future messages added to it.
  • unlabel_threadRemoves labels from an entire thread in the authenticated user's Gmail account. This operation affects all messages currently in the thread.
  • apply_sensitive_thread_labelPrefer `trash_thread` or `mark_thread_spam` instead.
  • trash_threadMoves an entire thread to the Trash (soft delete) in the authenticated user's Gmail account. This operation affects all messages currently in the thread.
  • untrash_threadRemoves an entire thread from the Trash in the authenticated user's Gmail account. This does not return the thread to the Inbox; to move it to the Inbox, add the `INBOX` label separately.
  • mark_thread_spamMarks an entire thread as Spam in the authenticated user's Gmail account. This operation affects all messages currently in the thread.
  • unmark_thread_spamUnmarks an entire thread as Spam in the authenticated user's Gmail account. This does not return the thread to the Inbox; to move it to the Inbox, add the `INBOX` label separately.
  • list_labelsLists all labels available in the authenticated user's Gmail account. Use this tool to discover the `labelId` and display `name` of each label in `labels` before calling `label_thread`, `unlabel_thread`, `label_message`, or `unlabel_message
  • label_messageAdds one or more labels to a specific message in the authenticated user's Gmail account.
  • update_message_labelsAtomically adds and/or removes labels from a specific message in the authenticated user's Gmail account.
  • unlabel_messageRemoves one or more labels from a specific message in the authenticated user's Gmail account. To find the message ID, use the `get_thread` tool. If unsure of a user label's ID, use the `list_labels` tool first to discover available labels a
  • apply_sensitive_message_labelPrefer `trash_message` or `mark_message_spam` instead.
  • trash_messageMoves a specific message to the Trash (soft delete) in the authenticated user's Gmail account.
  • untrash_messageRemoves a specific message from the Trash in the authenticated user's Gmail account. This does not return the message to the Inbox; to move it to the Inbox, add the `INBOX` label separately.
  • mark_message_spamMarks a specific message as Spam in the authenticated user's Gmail account.
  • unmark_message_spamUnmarks a specific message as Spam in the authenticated user's Gmail account. This does not return the message to the Inbox; to move it to the Inbox, add the `INBOX` label separately.
  • create_labelCreates a new label in the authenticated user's Gmail account.