ต้นแบบ · รุ่นทดลอง: มีทุก server ในทะเบียนทางการ อัปเดตทุก 30 นาที รีวิวและบัญชีผู้ใช้จะมาในขั้นถัดไป
PopNx MCPที่รวม MCP สำหรับคนใช้ AI · อธิบายเป็นภาษาคน

Google Mail MCP

โดย mmedumรุ่น 4.0.2i★ –iรันบนเครื่อง
ชื่อใน registryio.github.mmedum/google-mail-mcp

ติดตั้ง

ภาพรวม

คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)

Gmail over MCP from your own account: search, read threads and messages, labels and drafts.

สามเสาของ PopNx MCP

สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน

ใช้ทำอะไรได้

ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry

  • การเชื่อมต่อ: รันบนเครื่อง
  • ช่องทาง (transport): stdio
  • หมวด: แชตและอีเมล

ติดตั้ง

เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง

ก่อนติดตั้ง

คุณใช้แอปไหน

เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”

ดาวน์โหลดไฟล์ .mcpb ของผู้ทำ

ลิงก์ไปที่ไฟล์ของผู้ทำเอง เราไม่ได้เก็บหรือแพ็กใหม่ เปิดไฟล์แล้ว Claude Desktop จะติดตั้งให้

พิมพ์คำสั่งนี้ใน Terminal

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น

ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี

ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README

ทำอะไรได้บ้าง

รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง

ผลตรวจเบื้องต้นi

เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569

  • ✓ ผ่าน

    ตัวตนผู้ทำตรงกับ repo

    ชื่อใน registry ยืนยันด้วยบัญชี GitHub mmedum ซึ่งเป็นเจ้าของ repo

  • … ยังไม่ตรวจ

    ยังมีคนดูแล

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • … ยังไม่ตรวจ

    มีสัญญาอนุญาต (license)

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • – ไม่เกี่ยว

    endpoint ตอบ

    ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต

  • – ไม่เกี่ยว

    ล็อกอินแบบ OAuth

    ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน

  • … ยังไม่ตรวจ

    คำอธิบายเครื่องมือไม่มีคำสั่งแอบแฝง

    รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต

เทียบกับตัวอื่นในหมวด แชตและอีเมลi

  • ดาวมากกว่า 0% ของอีก 1828 ตัวในหมวดนี้
  • ส่งรุ่นใหม่เข้า registry ล่าสุดกว่า 86% ของอีก 1828 ตัวในหมวดนี้
  • ผลตรวจเบื้องต้นดีกว่าหรือเท่ากับ 100% ของอีก 1828 ตัวในหมวดนี้

เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo

คำถามที่พบบ่อย

Google Mail MCP ปลอดภัยไหม?

จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น

ต้องใช้กุญแจหรือรหัสอะไรบ้าง?

registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก

ตัวนี้รันบนเครื่องหรือบนคลาวด์?

รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)

ยังมีคนดูแลอยู่ไหม?

repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (4.0.2) เข้า registry 4 วันที่ผ่านมา

ใช้กับโปรแกรมไหนได้บ้าง?

โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี MCPB ในเครื่องด้วย

มีตัวไหนใช้แทนได้บ้าง?

ในหมวดเดียวกันมี Vexa, emailmd, MCP WhatsApp Cloud

ตัวที่ใช้แทนได้

server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว

อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi

Vexa

โดย Vexa-ai

Meeting bot and transcripts for Google Meet, Teams and Zoom. Live or after, speakers labelled.

รันบนคลาวด์★ 2,949Apache-2.0อัปเดต 2 เดือนที่ผ่านมา
ติดตั้ง

emailmd

โดย anypost

Render markdown into email-safe HTML, lint drafts for deliverability problems, and preview emails.

บนเครื่องหรือคลาวด์★ 1,385MITอัปเดต 32 วันที่ผ่านมา
ติดตั้ง

MCP WhatsApp Cloud

โดย codespar

MCP server for WhatsApp Cloud API (Meta) — messages, media, and templates via Graph API

รันบนเครื่อง★ 277MITอัปเดต 5 เดือนที่ผ่านมา
ติดตั้ง

README จากผู้ทำ

เปิดอ่าน README

ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ

google-mail-mcp

Gmail as MCP tools. Read your mail without letting it read your assistant.

A single Go binary that speaks MCP over stdio. It runs as a subprocess of your client, on your own machine, against your own Google account. There is no server to host and no service account: you create a Google OAuth client, log in once, and the refresh token stays in your OS keyring.

It is for one person who uses Gmail, on a Workspace or a personal Google account, and wants an assistant to search, read, organize and draft mail as them. It works inside a mailbox: a calendar invitation's event, a linked Drive file and a Chat space belong to servers built on those APIs.

Goals and non-goals

Goals:

  • Mail never steers the assistant through the server. It comes back marked as data, hidden text is removed and counted, nothing it links to is fetched, and the writes that redirect mail do not exist.
  • Nothing reaches another person, or is lost for good, unless you turn it on. Sending, permanent deletion and settings changes are not registered by default, and removal is trash.
  • A write changes only what it names. Writes take explicit ids, never a search, report each item on its own, and take dry_run.
  • Reads are bounded. Every read has a budget and says what it left out and how to continue.
  • Act as you, and log nothing about your mail. Every call runs as the signed-in account, and the logs never carry content or addresses.

Non-goals:

  • Push notifications. Gmail's watch delivers to a Cloud Pub/Sub topic, which a stdio process cannot own. list_changes polls instead.
  • Bulk operations over a search. No "archive everything from X" and no relabeling by query; a search is a read you have seen first.
  • Settings that send mail elsewhere. Auto-forwarding, forwarding addresses, filters that forward, delegation and send-as identities are never written.
  • Mailbox migration. Importing or inserting mail that was never sent is out.
  • Rendering HTML. HTML becomes text, and nothing is fetched.
  • A contacts directory. Addresses come from you or from the message being answered; turning a name into an address belongs to a People API server.
  • Workspace administration. No service accounts and no domain-wide delegation.
  • A hosted service. It speaks stdio only, so Claude on the web and on mobile cannot reach it.
  • Asking you before a call. Your client approves each call; the server asks nothing.

What makes this one different

Every message was written by somebody other than you, and some of it is written to steer an AI assistant. So mail comes back inside blocks marked with a per-call boundary token; text a reader of the mail would not have seen — hidden styles, zero-width characters, text colored like its background — is removed and counted; nothing a message links to or embeds is fetched; and a link whose text names a different site from its target is flagged.

The writes that would make a persuaded assistant dangerous are not there. Automatic forwarding, filters that forward and delegation are not implemented; forwarding one message attaches it to a draft. Sending is not registered unless you turn it on, and then only a draft can be sent. Removal is trash; permanent deletion is not registered unless you turn it on, and is the only thing that asks Google for full mail access.

Reads are bounded. A thread comes back newest first within a character budget, with quoted replies and signatures collapsed to a line saying how much was hidden, and every omission says how to continue. Non-ASCII subjects, names and filenames decode in any charset.

The design and the decisions behind it are in docs/architecture.md.

Install

go install github.com/mmedum/google-mail-mcp/v4/cmd/google-mail-mcp@latest

Or take an archive from the latest release — Linux, macOS and Windows, on amd64 and arm64 — and verify it before you run it:

sha256sum -c checksums.txt --ignore-missing

The checksum file is signed with a keyless Sigstore certificate tied to

the release workflow's identity.

cosign verify-blob checksums.txt \ --bundle checksums.txt.bundle \ --certificate-identity-regexp 'https://github\.com/mmedum/google-mail-mcp/' \ --certificate-oidc-issuer https://token.actions.githubusercontent.com

And the archive itself carries build provenance.

gh attestation verify google-mail-mcp_*.tar.gz --repo mmedum/google-mail-mcp

Every archive ships an SBOM. Builds are reproducible: rebuilding a tag gives the same bytes.

Claude Desktop

Every release also carries a .mcpb bundle. Open it and Claude Desktop installs the server and asks for the settings a client's configuration would carry: your OAuth client JSON, the profile, read-only, the switches and the attachment folder. Sending (enable_send), permanent deletion (enable_destructive) and settings changes (enable_settings) stay off unless you turn them on, and read-only cannot be combined with any of them. Signing new drafts (draft_signature) is off too, and registers no tool. This server asks nobody before a call. Claude Desktop approves each tool, with Allow once or Always allow, and a tool you always allow then runs unasked, so leave a switch off unless you need its tools.

The bundle covers macOS, Windows and Linux on both architectures. Its SHA-256 is in the same signed checksums.txt.

The bundle does not log you in. Install the binary as well, run google-mail-mcp login --client-secret once, and the bundle uses the same credentials.

Set up Google

docs/gcp-setup.md has the whole of it: a Cloud project with the Gmail API enabled, a consent screen (with the scopes for how you will run the server, on an External app), and a Desktop app OAuth client. Then:

google-mail-mcp login --client-secret ~/path/to/client_secret.json

google-mail-mcp doctor

Every Gmail scope that reads mail is one Google calls restricted. For your own use that costs nothing, but an External client in Testing gets refresh tokens that expire after seven days; docs/troubleshooting.md says what that looks like.

Logging in over SSH

The callback goes to the *remote* host's loopback address while your browser is local, so forward the port. Run google-mail-mcp login --no-browser: it prints the authorization URL and the exact ssh -L line for the port it picked. Run that line in a second local terminal, then open the URL locally.

Connect a client

Claude Code:

claude mcp add google-mail -- google-mail-mcp

Or, in a client config file:

{

"mcpServers": { "google-mail": { "command": "google-mail-mcp" } } }

Every setting is a GMAIL_* environment variable, listed in docs/configuration.md. The ones worth knowing first: GMAIL_READ_ONLY=true registers only the read tools and asks for read-only access; GMAIL_LOCAL_DIR is the one directory attachments may be saved to; GMAIL_PROFILE lets one machine hold several accounts.

Tools

ToolWhat it does
get_profileThe signed-in account, its totals and the current history id
search_threadsFind conversations with a Gmail search
search_messagesFind single messages with a Gmail search
get_threadRead a conversation, newest first, within a budget
get_messageRead one message, by id or by its Message-ID header
read_attachmentRead an attachment's text: plain text, CSV, Markdown, JSON, HTML, a calendar or an attached email
list_labelsEvery label, optionally with counts
list_draftsUnsent drafts
get_draftRead one draft
list_changesWhat changed since a history id, and when that cursor has expired
get_settingsForwarding, vacation reply, send-as addresses, IMAP and POP, read-only
list_filtersThe account's filters, with any that forward mail flagged
download_attachmentSave an attachment into GMAIL_LOCAL_DIR, never overwriting; only when that is set
download_attachmentsSave several attachments of one message, or all of them, the same way; only when GMAIL_LOCAL_DIR is set
create_draftSave a new draft, a reply threaded by the server and quoting its parent if asked, or a forward with the original attached; nothing is sent
update_draftChange only the fields given, refusing a draft that changed since it was read
delete_draftDelete a draft for good, named with the message it holds, with confirm: true
modify_labelsAdd and remove labels on up to 100 messages or threads, reported per item
trashMove up to 100 messages or threads to the trash, kept 30 days
restoreTake messages or threads out of the trash
create_labelCreate a user label
update_labelRename a user label or change how it shows
send_draftSend a draft, naming every recipient, its subject and its first line; only with GMAIL_ENABLE_SEND=true
delete_permanentlyDelete up to 100 messages or threads for good, with confirm: true; only with GMAIL_ENABLE_DESTRUCTIVE=true
delete_labelDelete a user label, with confirm: true; only with GMAIL_ENABLE_DESTRUCTIVE=true
update_signatureSet the signature of one of the account's addresses; only with GMAIL_ENABLE_SETTINGS=true
create_filterCreate a filter for mail that arrives from now on; it cannot forward or trash; only with GMAIL_ENABLE_SETTINGS=true
create_trash_filterCreate a filter that moves matching mail to the trash as it arrives, with confirm: true; only with GMAIL_ENABLE_SETTINGS=true and GMAIL_ENABLE_DESTRUCTIVE=true
delete_filterDelete a filter, naming its criteria, with confirm: true; only with GMAIL_ENABLE_SETTINGS=true and GMAIL_ENABLE_DESTRUCTIVE=true
set_vacationTurn the vacation reply on for contacts or the domain, or off; only with GMAIL_ENABLE_SETTINGS=true and GMAIL_ENABLE_SEND=true

Searches take Gmail's own search language in q, plus after and before as real instants — Gmail reads a date written inside q as midnight Pacific time. Every result states the quota it spent. Every write takes dry_run, names what it touches by id, and says what it changed, read from Gmail's answer. GMAIL_READ_ONLY=true leaves the writes out. A tool marked "only with" a setting is not registered at all unless that setting is on.

For clients that attach rather than call, gmail://threads/{id}, gmail://messages/{id} and gmail://labels carry the same text as get_thread, get_message and list_labels.

Safety

  • Mail is data. It arrives marked, with what was hidden removed and counted, and no tool description tells a model to act on it.
  • Nothing reaches another person by default. Drafts wait in Gmail to be sent, and by default no tool changes a setting. Forwarding settings are shown, never set.
  • Settings are opt-in. With GMAIL_ENABLE_SETTINGS=true the server can set a signature and create filters. A filter cannot forward. A filter that trashes mail is its own tool, create_trash_filter, and it and delete_filter also need GMAIL_ENABLE_DESTRUCTIVE=true and `confirm: tr

ตัดมาแค่ช่วงต้น อ่านต่อใน repo

ถาม PopNx