VS

vitalio-sh/thunderbird-cli

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

65 stars 14 forks 품질 80 트렌드 28MIT

Mozilla Thunderbird를 통해 이메일에 Claude 전체 액세스 권한을 부여하십시오. AI 대리인을 위한 CLI + MCP 서버.

개요

Claude (및 기타 AI 에이전트)는 Mozilla Thunderbird를 통해 귀하의 이메일에 완전히 액세스합니다. IMAP 라이브러리는 credentials, OAuth flows 및 sync state를 관리할 수 있습니다. 이 도구는 진실의 근원으로 썬더버드를 대우하고 CLI 명령 또는 MCP 공구로 각 기능을 노출합니다, 그래서 AI 대리인은, 수색을 읽을 수 있고, 암호를 만지기 없이 이메일을 보내십시오. 스케일 테스트: — 모든 관리는 단일 CLI를 통해 라이브. - ☸ - 모든 IMAP / SMTP는 썬더버드에 머물 - 덧붙여 12 MCP 도구, 원라인 구성 - - 읽기, 검색, 작곡, 회신, 대량 ops, 폴더 CRUD, 첨부 파일 - ️️ - compose/reply/forward는 초안으로 저장; 영구 삭제는 --confirm - --fields 선택, --compact 모드, --max-body truncation - ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 다운로드.

개요(AI 번역)

Claude (및 기타 AI 에이전트) Mozilla Thunderbird를 통해 귀하의 이메일에 대한 전체 액세스.

왜

IMAP 라이브러리는 credentials, OAuth flows 및 sync state를 관리할 수 있습니다. **Thunderbird는 이미 그 전부를 해결합니다. ** 이 도구는 진실의 근원으로 썬더버드를 대우하고 CLI 명령 또는 MCP 공구로 각 기능을 노출합니다, 그래서 AI 대리인은, 수색을 읽을 수 있고, 암호를 만지기 없이 이메일을 보내십시오.

스케일 테스트 : ** 22 계정, 249,000 + 메시지, 86,000 + 읽지 않은 ** - 모든 관리는 단일 CLI를 통해 라이브.

특징

  • ☸ **Zero credential 노출 ** - 모든 IMAP/SMTP는 Thunderbird에서 숙박
  • youtubeClaude 데스크톱 준비 — 12 MCP 도구, 원라인 구성
  • **38 CLI 명령 ** - 읽기, 검색, 작곡, 회신, 대량 ops, 폴더 CRUD, 첨부 파일
  • ️ **기본으로 안전 ** - compose/reply/forward 저장 초안으로; 영구 삭제는 --confirm를 요구합니다
  • **토큰 최적화 ** - --fields 선택, --compact 모드, --max-body truncation
  • own **Localhost-only ** — 클라우드 없음, 원격 측정 없음, 당신의 기계를 떠나지 않는
  • ✅ Thunderbird 128+ - addons.thunderbird.net에 서명하고 승인

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

thunderbird-cli

Give Claude (and other AI agents) full access to your email through Mozilla Thunderbird.

Why

IMAP libraries force you to manage credentials, OAuth flows, and sync state — dangerous in an AI-agent context. Thunderbird already solves all of that. This tool treats Thunderbird as the source of truth and exposes every capability as a CLI command or MCP tool, so AI agents can read, search, and write email without ever touching a password.

Tested at scale: 22 accounts, 249,000+ messages, 86,000+ unread — all managed live through a single CLI.

Features

  • 🔐 Zero credential exposure — all IMAP/SMTP stays in Thunderbird
  • 🤖 Claude Desktop ready — 12 MCP tools, one-line config
  • 📨 38 CLI commands — read, search, compose, reply, bulk ops, folder CRUD, attachments
  • 🛡️ Safe by default — compose/reply/forward save as drafts; permanent delete requires --confirm
  • 🎯 Token-optimized — --fields selection, --compact mode, --max-body truncation
  • 🏠 Localhost-only — no cloud, no telemetry, nothing leaves your machine
  • ✅ Thunderbird 128+ — signed and approved on addons.thunderbird.net
  • 🧪 80 tests — 46 CLI/bridge + 34 MCP integration tests

Quick Start

# 1. Install CLI + bridge from npm
npm install -g thunderbird-cli thunderbird-cli-bridge

# 2. Install the signed Thunderbird extension
#    Download: https://github.com/vitalio-sh/thunderbird-cli/releases/latest
#    Thunderbird → Add-ons → ⚙ → Install Add-on From File… → thunderbird_ai_bridge-*.xpi

# 3. Start the bridge daemon (keep running)
tb-bridge

# 4. Try it
tb health
tb stats

Full setup guide (including background service, Docker, troubleshooting): docs/SETUP.md

Usage

# How many unread across all accounts?
tb stats

# Find invoices from AWS in the last 30 days
tb search "invoice" --from aws --since 30d --fields id,author,subject,date

# Read a message (token-efficient — headers + text only, max 500 chars)
tb read 89900 --max-body 500

# Reply as draft (never auto-sends)
tb reply 89900 --body "Thanks, I'll review tomorrow"

# Download a PDF attachment
tb attachment-download 11 1.2 --output invoice.pdf

# Bulk archive old newsletters
GitHub에서 전체 README 보기

설치

npx -y thunderbird-cli-mcp
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "thunderbird": { "command": "npx", "args": ["-y", "thunderbird-cli-mcp"] } } }