
marlinjai/email-mcp
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
Gmail, Outlook, iCloud 및 IMAP의 이메일 액세스를위한 통합 MCP 서버
개요
Gmail, Outlook, iCloud 및 일반적인 IMAP 제공 업체의 이메일 액세스를 위한 통합 MCP 서버. -- Gmail (REST API), Outlook (Microsoft Graph), iCloud (IMAP) 및 일반 IMAP / SMTP - - - - 자동 토큰 새로 고침 Gmail 및 Outlook 용 브라우저 기반 OAuth 흐름 -- 검색, 읽기, 전송, 회신, 전달, 구성, 및 관리 초안 -- 삭제, 이동, 또는 단일 통화의 수백 이메일을 표시 -- 기본 (~20KB vs ~1.4MB)의 컴팩트 검색 결과 -- AES-256-GCM 기계 파생 키와 함께 휴식을 암호화 - - - Gmail API 및 Microsoft Graph를 사용하여 풍부한 기능을 사용할 수 있으며 범용 호환성을위한 IMAP로 돌아갑니다. 또는 npx로 직접 실행 (설치 필요 없음): 1. 대화형 설정 마법사를 실행하여 이메일 계정을 추가하십시오. 이 패키지는 MCP 서버에 대한 두 개의 binaries (이메일-mcp, 이 마법사의 이메일-mcp-setup) 선언합니다.
개요(AI 번역)
Gmail, Outlook, iCloud 및 일반적인 IMAP 제공 업체의 이메일 액세스를 위한 통합 MCP 서버.
특징
- **Multi-provider 지원 ** – Gmail (REST API), Outlook (Microsoft Graph), iCloud (IMAP) 및 일반 IMAP / SMTP
- OAuth2 인증 – 브라우저 기반 OAuth는 Gmail 및 Outlook에 대한 흐름, 자동 토큰 새로 고침 -Full 이메일 클라이언트 – 검색, 읽기, 전송, 회신, 앞으로, 구성, 및 관리 초안
- ** 배치 작업** – 삭제, 이동, 또는 단일 통화에 수백 개의 이메일 표시
- ** 경량 검색** – 기본(~20KB vs ~1.4MB)의 컴팩트 검색 결과
- **암호화 저장 ** – AES-256-GCM machine-derived 키로 나머지 암호화 -Provider-native APIs – 풍부한 기능을 사용할 수있는 Gmail API 및 Microsoft Graph를 사용하여 범용 호환성을위한 IMAP로 돌아갑니다.
설치
npm에서 글로벌 설치:
또는 npx로 직접 실행 (설치 필요 없음):
빠른 시작
- 대화형 설정 마법사를 실행하여 이메일 계정을 추가하십시오.
[T0]]/
--package플래그가 필요합니다. 이 패키지는 MCP 서버의 두 개의 binaries (email-mcp]]를 선언,email-mcp-setup] 이 마법사에 대한.
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
@marlinjai/email-mcp
A unified MCP server for email access across Gmail, Outlook, iCloud, and generic IMAP providers.
Features
- Multi-provider support – Gmail (REST API), Outlook (Microsoft Graph), iCloud (IMAP), and generic IMAP/SMTP
- OAuth2 authentication – Browser-based OAuth flows for Gmail and Outlook, with automatic token refresh
- Full email client – Search, read, send, reply, forward, organize, and manage drafts
- Batch operations – Delete, move, or mark hundreds of emails in a single call
- Lightweight search – Compact search results by default (~20KB vs ~1.4MB) with optional full body retrieval
- Encrypted credential storage – AES-256-GCM encryption at rest with machine-derived keys
- Provider-native APIs – Uses Gmail API and Microsoft Graph where available for richer features, falls back to IMAP for universal compatibility
Installation
Install globally from npm:
npm install -g @marlinjai/email-mcp
Or run directly with npx (no install needed):
npx @marlinjai/email-mcp
Quick Start
- Run the interactive setup wizard to add your email accounts:
npx -y -p @marlinjai/email-mcp@latest email-mcp-setup
The
-p/--packageflag is required. This package declares two binaries (email-mcpfor the MCP server,email-mcp-setupfor this wizard). Without-p, npx runs the bin matching the package’s own name (email-mcp, the server) and silently passesemail-mcp-setupto it as an ignored argument — the server then sits waiting for MCP protocol input on stdin forever, producing no output at all. It looks exactly like a hang.-ptells npx explicitly which package to resolve and which of its binaries to actually run.
The wizard will walk you through provider selection and authentication. After each account, it asks if you’d like to add another — so you can set up Gmail, Outlook, and iCloud all in one go.
- Add the server to your MCP configuration (
.mcp.json):
{
"mcpServers": {
"email": {
"command": "npx",
"args": ["@marlinjai/email-mcp"]
}
}
}
- Start using email tools in Claude Code — search your inbox, send emails, organize messages, and more.
Provider Setup Guides
Gmail
No configuration needed — the setup wizard handles everything using built-in OAuth credentials (PKCE):
npx -y -p @marlinjai/email-mcp@latest email-mcp-setup
# Select "Gmail" when prompted
# Choose "Full" or "Restricted" permission scope when asked
# A browser window opens for Google authorization
# Grant the requested permissions and return to the terminal
The wizard asks which Gmail permission scope to authorize:
- Full (default) — everything below, plus immediate, Trash-bypassing permanent deletion (
https://mail.google.com/, Gmail’s maximum-permission scope).
설치
npx @marlinjai/email-mcp설정
{
"mcpServers": {
"email": {
"command": "npx",
"args": ["@marlinjai/email-mcp"]
}
}
}