Power your agent
การติดตั้งจากผู้เผยแพร่ ไม่ใช่เอนด์พอยต์ของ PlugMCP
URL แบบรีโมตหรือคำสั่งบนเครื่องของคุณ? การติดตั้งสองแบบต่างกันอย่างไร
รันบน PlugMCP
A new server you create. It is not this listing's official endpoint. Use the publisher install when you want their URL and their credentials.
เปิดA local Rust CLI and MCP server that gives a Claude Code agent strictly read-only access to one or more Gmail accounts over IMAP.
EXAMINE, bodies
are fetched with BODY.PEEK, and the service trait has no mutation methods.
Retrieving a message never marks it \Seen.stdio server both call the same read-only MailService.X-GM-THRID takes precedence)cargo install gmail-mcp-cli
# binary lands at ~/.cargo/bin/gmail-mcp
cargo install --path crates/gmail-mcp-cli
# or: cargo install --git https://github.com/btafoya/gmail-readonly-mcp.git gmail-mcp-cli
# 1. Configure an account (interactive wizard; writes ~/.config/gmail-mcp.toml)
gmail-mcp config add
# 2. Register the MCP server with Claude Code
gmail-mcp setup
# 3. Use the CLI directly
gmail-mcp mailboxes list
gmail-mcp messages search --query "from:alice has:attachment"
gmail-mcp messages get <id> --markdown
gmail-mcp messages search [--query ...] [--sender ...] [--subject ...] [--json]
gmail-mcp messages get <id> [--markdown|--html|--text|--raw]
gmail-mcp threads get <id> [--full]
gmail-mcp mailboxes list|get|status
gmail-mcp attachments list <message-id> | get <attachment-id>
gmail-mcp headers get <id>
gmail-mcp config add
gmail-mcp setup
gmail-mcp serve
Every mail command accepts --account <alias>; when omitted, the configured
default account is used.
gmail-mcp serve
Runs the MCP server over stdio (stdout is reserved for protocol traffic;
logs go to stderr). gmail-mcp setup registers it with Claude Code for all
projects; to register manually:
claude mcp add --scope user gmail -- gmail-mcp serve
The server exposes 9 read-only tools, resource URIs
(gmail://<account>/messages/<id>, …), and email/thread analysis prompts.
Configuration lives at ~/.config/gmail-mcp.toml (respecting
XDG_CONFIG_HOME), protected with mode 0600:
[accounts.personal]
email = "[email protected]"
app_password = "xxxx xxxx xxxx xxxx"
imap_host = "imap.gmail.com"
imap_port = 993
tls = true
default = true
The table name (personal) is the account alias. default = true marks the
account used when none is specified. See docs/CONFIG.md for
the full schema.
~/.cache/gmail-mcp/attachments/ with 24-hour retention.crates/
├── gmail-mcp-core/ domain models, config, read-only service trait, rendering
├── gmail-mcp-imap/ concrete IMAP implementation (async-imap + TLS)
├── gmail-readonly-mcp-server/ MCP stdio server (tools, resources, prompts)
└── gmail-mcp-cli/ clap CLI + interactive config wizard + `serve`
The full specification lives in docs/:
Contributions are welcome. See CONTRIBUTING.md for how to build, test, and submit changes.
MIT — see LICENSE.
A local Rust CLI and MCP server that gives a Claude Code agent strictly read-only access to one or more Gmail accounts over IMAP.
เครื่องมือ
ยังไม่มีรายการเครื่องมือ เซิร์ฟเวอร์แบบรีโมตจะได้รายการหลังการตรวจสอบสถานะครั้งแรก
FAQ
คัดลอกคอนฟิก stdio สำหรับ Cursor, Claude Desktop, Claude Code หรือ VS Code ได้ในหน้านี้ คอนฟิกนี้ใช้การติดตั้งของผู้เผยแพร่ ไม่ใช่พร็อกซีของ PlugMCP
ระเบียนนี้ไม่ได้ระบุตัวแปรสภาพแวดล้อมที่จำเป็น
Gmail Readonly ทำงานแบบโลคัลผ่าน stdio
ตรวจสอบล่าสุดเมื่อ 2026-10-28 A local Rust CLI and MCP server that gives a Claude Code agent strictly read-only access to one or more Gmail accounts over IMAP.