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

mail-index

โดย unsoldgroupรุ่น 1.5.1i★ –iรันบนเครื่อง
ชื่อใน registryio.github.unsoldgroup/mail-index

ติดตั้ง

ภาพรวม

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

Local-first, read-only MCP server for recall over your Gmail: search, contacts, threads, digests.

สามเสาของ PopNx MCP

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

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

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

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

ติดตั้ง

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

ก่อนติดตั้ง

ต้องเตรียมก่อน

  • npmติดตั้ง Node.js (มีคำสั่ง npx) ในเครื่อง

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

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

เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json

{
  "mcpServers": {
    "mail-index": {
      "command": "npx",
      "args": [
        "-y",
        "mail-index"
      ]
    }
  }
}

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

claude mcp add mail-index -- npx -y mail-index

เปิดใน Cursor

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json

{
  "mcpServers": {
    "mail-index": {
      "command": "npx",
      "args": [
        "-y",
        "mail-index"
      ]
    }
  }
}

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

เปิดใน VS Code

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .vscode/mcp.json ของโปรเจกต์

{
  "servers": {
    "mail-index": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "mail-index"
      ]
    }
  }
}

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

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

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

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

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

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

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

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

  • ✓ ผ่าน

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

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

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

    ยังมีคนดูแล

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

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

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

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

  • – ไม่เกี่ยว

    endpoint ตอบ

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

  • – ไม่เกี่ยว

    ล็อกอินแบบ OAuth

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

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

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

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

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

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

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

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

mail-index ปลอดภัยไหม?

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

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

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

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

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

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

repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (1.5.1) เข้า registry 3 เดือนที่ผ่านมา

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

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

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

ในหมวดเดียวกันมี 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 รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ

mail-index

mail-index downloads a preview of your whole inbox to your machine, then smartly fetches the full text of the messages that matter as you use it. That local index lets your AI agent run true summarization and recall over your entire mailbox — instead of being trapped behind Gmail's search bar.

It works through a local MCP server, so any agent (Claude, Codex, any MCP client) can query it. Local-first — the default index never leaves your machine. Operators who need an always-on connector can instead deploy the optional, single-tenant remote Worker Deployment in their own Cloudflare account; mail-index operates no hosting service. Read-only by default — it never mutates your mail unless you explicitly opt into archive + label edits (a gmail.modify re-auth) or, on the remote Deployment, drafts (a gmail.compose re-auth). It never sends or deletes mail. Both opt-in scopes can send at the token level, so that guarantee is enforced in code (a send guard on the Gmail runner plus test/drafts.test.ts), not by the scope. See ADR-0007 and ADR-0011.

Ask a vague question → one local MCP call → ranked, snippet-first answer. Interactive version →

Status: v1.5 — published. Progressive sync, the correspondence graph, the

interest engine, curation, the full MCP surface, and the write-back

loops are built and tested — and mail-index is live on

[npm](https://www.npmjs.com/package/mail-index) with a

[`.mcpb` bundle](https://github.com/unsoldgroup/mail-index/releases/latest).

Still in progress: the bundled Option A OAuth client and signed one-click

installers. Architecture lives in

[docs/PLAN.md](docs/PLAN.md); start with [docs/INSTALL.md](docs/INSTALL.md);

every release is recorded in [CHANGELOG.md](CHANGELOG.md).

[!TIP]

New in v1.5 — the optional remote Deployment. mail-index can now also run

as a single-tenant Cloudflare Worker in your own account: always-on, synced

on a cron, and reachable by remote agents over authenticated MCP (plus a small

A2A surface). It serves the _same_ tool registry as the local server, backed by

a D1 storage driver that passes the same FTS ranking conformance suite, and

it can push — Trigger rules match new mail as it lands and fire signed

webhooks. Long O(N) work becomes a queued Job instead of a command

handback. You can seed a fresh Deployment straight from your existing local

index with mail-index export → D1 import, so it starts with your history

already indexed. **The local CLI + stdio path is unchanged and stays the

default**, and mail-index still operates no hosting service — the Worker is

code you deploy to infrastructure you own.

See [docs/INSTALL-worker.md](docs/INSTALL-worker.md),

[docs/WORKER-SEED.md](docs/WORKER-SEED.md),

[ADR-0008](docs/adr/0008-self-hosted-remote-deployment.md).

Also new locally: every MCP response carries a freshness block and any

stale read now auto-triggers a background sync (previously only the digest

composites did).

[!TIP]

From v1.4 — opt-in mailbox writes + human-readable labels.

mail-index can archive a message and edit its labels directly on

Gmail — via the archive / label CLI commands and the archive_message /

modify_labels MCP tools, on both the gog and gws adapters. It stays

read-only by default: writes are unreachable until you opt in with a

gmail.modify grant (mail-index never sends or deletes; the scope could

send, so a code guard enforces this, see ADR-0011) — enable per

account with mail-index setup --account --enable-writes or the

bundled scripts/enable-writes.sh. Labels render as their human names

everywhere (the index caches Gmail's label catalogue and resolves

Label_3546… → _"Expedition Insure"_ in both directions), and you can pass a

friendly label name to label --add/--remove.

See [ADR-0007](docs/adr/0007-opt-in-mailbox-writes.md).


How it works

  1. Progressive sync — metadata for the whole mailbox in minutes; bodies fetched selectively.
  2. Graph — contacts, domains, threads; centrality + communities over your _human_ (non-bulk) mail.
  3. Interest — an engagement score per contact from read/reply/star/importance signals. A _seed for your curation_, not an autonomous decision.
  4. Curate — you (via your agent, or a CLI wizard) confirm who/what matters; that profile drives which bodies get fetched.
  5. Query — your agent searches, traverses the graph, and reads the messages that matter, all locally via MCP.

Important messages prewarm a local index; the MCP reads from it, touching Gmail again only when a needed body isn't there yet. Interactive version →

Quick start

Requires Node 24+ and a Gmail MailSource adapter — `gog` (recommended) or `gws`. Reading Gmail needs a Google OAuth client, and you get one two ways: use the mail-index beta client (skip Google Cloud entirely; request access to join the ~100-user test list) or bring your own Google Cloud client (no cap, no request — we walk you through it). See docs/INSTALL.md §2 and docs/oauth-and-verification.md.

npm install -g mail-index                    # or: pnpm add -g mail-index

mail-index init # scaffold the config

…connect a mailbox (own OAuth client, read-only) — see docs/INSTALL.md §2 / agent-install.md…

mail-index sync --account personal --since 6mo mail-index graph build --account personal mail-index search "that contract we discussed"

_(Prefer source? git clone …, pnpm install && pnpm build, then run the bins as node dist/cli/index.js ….)_

Add to Claude

The MCP server registers in one step, but it still needs a mailbox connected first (see the walkthrough). A .mcpb/claude mcp add only adds the server — it doesn't install the adapter, sign you in, or sync.

  • Claude Code: claude mcp add --transport stdio mail-index -- npx -y -p mail-index mail-index-mcp (on Windows, prefix with cmd /c: … -- cmd /c npx -y -p mail-index mail-index-mcp — bare npx/.cmd won't spawn. See docs/INSTALL.md §7.)
  • Any MCP client (manual):
  { "mcpServers": { "mail-index": { "command": "mail-index-mcp" } } }
  • Claude Desktop: download the [`.mcpb` bundle](https://github.com/unsoldgroup/mail-index/releases/latest/download/mail-index.mcpb) and double-click it (unsigned during beta — you may need to allow it in System Settings / Windows SmartScreen). The bundle is self-contained (ships its own dependencies, run by Claude Desktop's bundled Node — no npx, network, or system Node needed) so it installs identically on Windows/macOS/Linux. A signed all-in-one installer that _also_ installs the adapter, signs you in, and syncs is still in progress; there is no claude:// install link.

Teach your agent the common moves. The MCP server already tells the agent _when_ to reach for it (purchases, receipts, bookings, "who said what", "catch me up"), and the repo ships a Claude [Agent Skill](skills/mail-index/SKILL.md) with the typical recipes (find purchases, catch up, find a contact's mail, summarize a sender). Drop it in for Claude Code/Desktop:

mkdir -p ~/.claude/skills && cp -R skills/mail-index ~/.claude/skills/

Full walkthrough (auth, curation, enrichment, scheduled sync, desktop-app gotchas) → [docs/INSTALL.md](docs/INSTALL.md). Driving setup with an agent → [docs/agent-install.md](docs/agent-install.md).

What to expect — time & storage

The index keeps metadata for every message and full text only where it earns it, so it grows with message _count_, not mailbox size — about 1.5% of your Gmail. First sync runs ~50 messages/min (one-time, incremental after); search is instant. Start with --since 1mo for value in minutes, then expand. Sizing table & growth path → [docs/INSTALL.md §9](docs/INSTALL.md#9-grow-your-index-intelligently).

Why it's lighter than Gmail search

Stock Gmail-API MCPs are query-based lookup tools — exact query, a network round-trip per call, raw payloads dumped into the model's context. mail-index answers _vague_ questions from a local recall index. Across a 100-question suite on a real mailbox it answered every question for 15× fewer tokens — and the gap widens exactly where a query-based MCP has no primitive at all: summarizing, relationships, and commitments.

Per-category tables, the read-one-message comparison, the tool-by-tool landscape, and how to reproduce it all → [docs/COMPARISON.md](docs/COMPARISON.md).

Stack

TypeScript · node:sqlite (no native deps) · SQLite FTS5 · Graphology · @modelcontextprotocol/sdk. Node 24+. Pluggable MailSource adapters; ships two Gmail transports — gog (recommended) and Google's gws.

CLI

Two bins ship: mail-index (CLI) and mail-index-mcp (the stdio MCP server).

mail-index init                          Scaffold the operator config + data dir

mail-index sync --account [--since 30d|1mo] [--all] [--query ] [--limit N] mail-index sync --all-accounts Sync every account by its policy presets mail-index enrich --account [--profile | --rule direct|all] [--sender ] [--match ] [--limit N] mail-index graph build [--account | --all-accounts] mail-index curate [--account ] Interactive curation wizard (no-agent fallback) mail-index compact [--account ] [--now] Demote summarized bulk bodies (ADR-0003) mail-index search [--account ] [--limit N] [--enrich] mail

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

ถาม PopNx