Vexa
Meeting bot and transcripts for Google Meet, Teams and Zoom. Live or after, speakers labelled.
제작자가 쓴 설명(영어 원문)
Multi-account Gmail MCP server — read, search, draft, and label across every inbox.
이 세 가지는 절대 하나의 점수로 합치지 않아요. 의견, 측정, 인기는 서로 다른 것이니까요.
이 서버는 아직 쉬운 말로 된 요약을 쓰지 못했어요. 아래는 레지스트리에서 읽어 온 사실이에요.
쓰고 있는 AI 앱을 고른 다음 설정을 복사하세요.
GMAIL_MCP_CLIENT_SECRET, GMAIL_MCP_DB, GMAIL_MCP_OAUTH_PORT필요한 것
어떤 앱을 쓰세요?
위에서 앱을 고르세요. 기억해 두었다가 다음부터는 버튼에 “…에 설치”라고 표시해요.
Claude Desktop → Settings → Developer → Edit Config를 열고 claude_desktop_config.json에 이 내용을 붙여 넣으세요
{
"mcpServers": {
"multi-account-gmail": {
"command": "uvx",
"args": [
"multi-account-gmail-mcp"
],
"env": {
"GMAIL_MCP_CLIENT_SECRET": "your-value",
"GMAIL_MCP_DB": "your-value",
"GMAIL_MCP_OAUTH_PORT": "your-value"
}
}
}
}터미널에서 이 명령어를 실행하세요
claude mcp add multi-account-gmail --env GMAIL_MCP_CLIENT_SECRET=your-value --env GMAIL_MCP_DB=your-value --env GMAIL_MCP_OAUTH_PORT=your-value -- uvx multi-account-gmail-mcp실행하기 전에 빈 값을 채워 주세요.
프로젝트의 .cursor/mcp.json 또는 ~/.cursor/mcp.json에 붙여 넣으세요
{
"mcpServers": {
"multi-account-gmail": {
"command": "uvx",
"args": [
"multi-account-gmail-mcp"
],
"env": {
"GMAIL_MCP_CLIENT_SECRET": "your-value",
"GMAIL_MCP_DB": "your-value",
"GMAIL_MCP_OAUTH_PORT": "your-value"
}
}
}
}브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.
프로젝트의 .vscode/mcp.json에 붙여 넣으세요
{
"servers": {
"multi-account-gmail": {
"type": "stdio",
"command": "uvx",
"args": [
"multi-account-gmail-mcp"
],
"env": {
"GMAIL_MCP_CLIENT_SECRET": "your-value",
"GMAIL_MCP_DB": "your-value",
"GMAIL_MCP_OAUTH_PORT": "your-value"
}
}
}
}브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.
이 서버는 내 컴퓨터에서 실행되는데, ChatGPT는 인터넷에 있는 서버에만 연결할 수 있어요. 다른 앱을 고르세요.
선택한 앱은 이 기기의 쿠키에만 저장돼요. 계정은 필요 없어요.
GMAIL_MCP_CLIENT_SECRET envGMAIL_MCP_DB envGMAIL_MCP_OAUTH_PORT env이 설정은 제작자의 레지스트리 정보로 만들었어요. README와 다르면 README를 따르세요.
내 컴퓨터에서 실행돼요. 설치하면 AI 앱에 도구 목록이 나타나요.
누구나 볼 수 있는 정보를 점검했고, 코드는 읽지 않았어요. 해당하지 않는 항목은 개수에서 뺐어요. · 2026년 11월 6일 점검
레지스트리 이름이 GitHub 계정 cunicopia-dev 기준으로 확인되었고, 이 계정이 저장소를 소유하고 있어요
아직 GitHub에서 이 저장소를 읽어 오지 않았어요
아직 GitHub에서 이 저장소를 읽어 오지 않았어요
내 컴퓨터에서 실행되는 서버라 인터넷 엔드포인트가 없어요
내 컴퓨터에서 실행되며, 대신 로컬 설정을 사용해요
내 컴퓨터에서 실행돼요. 도구 목록은 인터넷 엔드포인트가 있는 서버에서만 읽을 수 있어요
레지스트리에서 이 카테고리의 활성 서버 전체와 비교했어요. 스타는 게시자가 저장소를 소유한 경우에만 세요.
해당하는 기본 점검 1개 중 1개를 통과했어요. 코드는 읽지 않았어요. 키나 토큰을 넣기 전에 서버가 어떤 권한을 요구하는지 확인하고, 꼭 필요한 권한만 있는 키를 쓰세요.
레지스트리에 필수 키가 나와 있지 않아요. 다만 처음 쓸 때 로그인을 요구하는 서버도 있어요.
내 컴퓨터에서 실행돼요. AI 앱이 필요할 때 실행하고, 데이터는 제작자의 서버를 거치지 않아요(서버 자체가 온라인 서비스를 호출하는 경우는 제외).
GitHub 저장소는 마지막으로 – 변경됐고, 최신 버전(0.3.0)은 4개월 전 레지스트리에 올라왔어요.
Claude Desktop, Claude Code, Cursor, VS Code처럼 MCP를 지원하는 앱에서 쓸 수 있어요. 내 컴퓨터에 Python (uv)도 있어야 해요.
같은 카테고리에는: Vexa, emailmd, MCP WhatsApp Cloud
같은 카테고리에서 다른 제작자가 만든 서버예요. 스타 순으로 정렬했어요.
카드 보는 법:★ GitHub 스타i세 기둥: 리뷰 · 점검 · 사용 정도i업데이트 = 최신 버전을 레지스트리에 공개한 날i
Meeting bot and transcripts for Google Meet, Teams and Zoom. Live or after, speakers labelled.
Render markdown into email-safe HTML, lint drafts for deliverability problems, and preview emails.
MCP server for WhatsApp Cloud API (Meta) — messages, media, and templates via Graph API
제작자의 저장소에서 쓰인 그대로 가져왔어요. PopNx MCP가 검토하거나 보증한 내용이 아니에요. HTML, 이미지, 스크립트는 제거했어요. 링크를 누르면 이 사이트를 벗어나요.
An [MCP](https://modelcontextprotocol.io) server that reads across _all_ your Gmail accounts from one connection.
Most Gmail integrations — including the native connectors — bind a single account per OAuth grant: connect a second inbox and you disconnect the first. gmail-mcp keeps any number of accounts authorized at once. One Google Cloud client authorizes them all, each lands as a row in a local SQLite file, and every tool takes an account argument that routes to the right mailbox. search_all_accounts sweeps all of them in a single query.
Python 3.12+ · MIT · stdio MCP server + auth CLI · local SQLite token store
It's built to be owned completely: runs in-process over stdio, stores tokens in one SQLite file you can inspect, copy, or delete, talks only to Google and your MCP client, and hardcodes no secrets.
It reads, searches, drafts, and labels. It doesn't send — create_draft leaves a draft for you to send yourself. That's a deliberate default (reasoning in Security model), not a hard stance; if you want autonomous send, it's a small addition or a different server.
Authorize N accounts once via the CLI. Then every tool takes an account, and search_all_accounts hits all of them at once:
search_all_accounts(query="invoice newer_than:30d")
── personal@gmail.com ─────────────────────────────── from: billing@acme.com subject: Invoice #4821 (id 18f...)
── work@company.com ───────────────────────────────── from: ap@vendor.io subject: March invoice (id 19a...)
One query, every inbox, each result tagged with its account and carrying the message id — so the agent can chain read_message(account, id) or create_draft(...) next.
One OAuth client, many inboxes. A single Google Cloud project and one client_secret.json authorize every account. Adding the tenth inbox is the same one-command flow as the first.
Boring storage. Tokens live in one SQLite file under ~/.gmail-mcp/. No daemon, no keyring dependency, no cloud. Back it up by copying it; revoke an account by deleting a row; inspect it with any SQLite tool.
Least privilege. Four granular scopes — gmail.readonly, gmail.compose, gmail.modify, gmail.settings.basic — never the full-mailbox https://mail.google.com/. It can read, draft, label, and manage filters; it never sends mail, and filters it creates can't forward mail off-account.
Headless-friendly. The auth flow assumes the server may have no browser: it prints a consent URL, binds a fixed port, and you SSH-forward the redirect. Works fine on a desktop too.
Every tool except list_accounts and search_all_accounts takes an account (the email address). Unknown accounts return an error listing the authorized ones.
| Tool | Arguments | Returns | ||
|---|---|---|---|---|
list_accounts | — | Authorized accounts + last-used time. Discover valid account values. | ||
search_messages | account, query, max_results=20 | Message summaries (Gmail search syntax) with ids. | ||
read_message | account, message_id, format="full", max_body_chars? | Decoded headers, plaintext body (HTML stripped if needed), attachment metadata. Body capped by default; pass max_body_chars=0 for the full body. | ||
read_thread | account, thread_id, max_body_chars? | Every message in the thread, in order. Each body capped by default; max_body_chars=0 for full. | ||
download_attachments | account, message_id, index? | Save a message's attachments to disk and return absolute paths. Address them by the #N shown in read_message; omit index for all of them. Fixed download root, no destination argument. Dangerous file types and anything on a spam-labeled message are refused. | ||
search_all_accounts | query, max_results_per_account=10 | One search across every account, each result tagged by account. | ||
create_draft | account, body, to?, subject?, cc?, bcc?, html=false, reply_to_message_id?, reply_all=false, from_addr? | A draft (not sent). Returns the draft id. With reply_to_message_id the draft is a reply inside that message's thread: recipient, subject, In-Reply-To, References and the thread id come from it, and to/subject become optional overrides. Without it, to and subject are required. from_addr sets the From header for a verified send-as alias; it defaults to the account address. | ||
list_drafts | account, max_results=20 | Draft ids in the account. | ||
list_labels | account | The account's labels (name + id). | ||
create_label | account, name | Create a user label (nest with /). Idempotent: an existing name (case-insensitive) returns its id and creates nothing. | ||
modify_labels | account, selection (message_id \ | message_ids \ | query), add?, remove? | Add/remove labels on a selection (one id, a list, or everything a query matches), batched 1000/call. General mutator: archive = remove INBOX, mark-read = remove UNREAD, star = add STARRED. |
trash | account, selection (message_id \ | message_ids \ | query) | Move a selection to Trash (recoverable 30 days; not permanent delete). Refuses an empty selection. |
bulk_action | account, action, selection (message_id \ | message_ids \ | query) | Friendly verb layer over modify_labels. action ∈ archive/unarchive/mark_read/mark_unread/star/unstar/spam/unspam/trash/untrash. Batched 1000/call; refuses an empty selection. |
read_messages | account, message_ids \ | query, max_results=25 | Batch-read full content of many messages in one call (vs. N read_message calls). | |
count_messages | query, account?, all_accounts=false | Count matches without fetching content — blast-radius check before a bulk action. all_accounts gives a per-account breakdown + total. | ||
list_filters | account | The account's filters: id, criteria, actions (label ids shown as names). | ||
create_filter | account, one of from_address/to_address/subject/query/has_attachment, plus an action (archive/mark_read/delete/star or add_labels/remove_labels) | A server-side rule applied to incoming mail. Can't forward off-account. | ||
delete_filter | account, filter_id | Remove a filter by id (leaves already-acted-on mail alone). |
flowchart TD
subgraph client[Your machine] Agent[MCP client / agent] CLI[gmail-mcp-auth CLI] Server[gmail-mcp stdio server] Store[("SQLite ~/.gmail-mcp/tokens.db")] Secret["client_secret.json one OAuth client"] end Google[Google OAuth + Gmail API]
CLI -->|"loopback OAuth, once per account"| Google CLI -->|"store refresh token"| Store Secret -.-> CLI Agent -->|"tool call (account=...)"| Server Server -->|"look up + refresh creds"| Store Secret -.-> Server Server -->|"read / draft / label"| Google Server --> Agent
Authorization happens once per account through the CLI (it needs a browser). After that the stdio server reads tokens straight from SQLite, refreshing access tokens on demand and persisting them back. The rest of this section is the "why it works the way it does" detail.
How gmail-mcp authenticates to Gmail, juggles multiple accounts under a single OAuth client, refreshes tokens over time, and authorizes accounts on a headless server. If you just want to get running, jump to Quickstart.
gmail-mcp authenticates using a Google "Desktop app" OAuth client (an *installed application* in OAuth 2.0 terms), driven by the InstalledAppFlow helper from google-auth-oauthlib.
Why an installed-app / desktop client. Installed apps run on a machine the end user controls, so OAuth treats them as public clients: the client_secret in the downloaded client_secret.json is *not* assumed to be confidential. That's the right trust model for a local CLI/desktop tool — there's no server-side component that could keep a secret truly secret, and security rests on the user controlling the redirect (the loopback address) rather than on secret confidentiality. It's the client type Google recommends for command-line and desktop tools.
The loopback redirect flow. After you approve consent in a browser, Google redirects the authorization code to http://localhost: /, where a tiny throwaway HTTP server (started by InstalledAppFlow.run_local_server) catches it. gmail-mcp pins this to a fixed port (default 8765, override with GMAIL_MCP_OAUTH_PORT) and runs with open_browser=False so it works on machines with no browser — see The headless auth path.
Scopes requested. Four granular scopes — never the full-mailbox https://mail.google.com/:
| Scope | What it grants |
|---|---|
gmail.readonly | Read mail and metadata: search messages/threads, read bodies, list labels and drafts. Read-only — cannot modify anything. |
gmail.compose | Create, update, and manage drafts. Used only by create_draft. |
gmail.modify | Add/remove labels on messages and create labels. Used by modify_labels, bulk_action, trash and create_label. |
gmail.settings.basic | List, create, and delete filters. Used by list_filters/create_filter/delete_filter. Does not grant forwarding-address changes (that's gmail.settings.sharing, not requested). |
gmail.send is not requested. Without it the credential simply has no Gmail API path to send mail — the drafts-only behavior is a property of the grant, not just an omitted tool. gmail.settings.sharing is likewise not requested, so no filter can forward mail to another address. The scope list lives in one place: SCOPES in src/gmail_mcp/config.py.
Adding the filter scope to an existing install: widening
SCOPESdoes not
retro-grant already-authorized accounts. Each account must re-run
gmail-mcp-auth addto re-consent to the new scope; until it does, the filter
tools return a
403 insufficient scopeerror.
client_secret.json can authorize any number of accounts.accounts table (~/.gmail-mcp/tokens.db, override with GMAIL_MCP_DB), keyed by email. The row holds the long-lived refresh token, the most recent access-token blob, the granted scopes, and timestamps.앞부분만 보여 드려요. 나머지는 저장소에서 읽어 보세요