fastmail-mcp
by MadLlama25·★ 119·综合分 49
一个功能完善的 MCP server,让 AI 助手能够访问 Fastmail 的邮件、联系人和日历 API。
概述
这个 MCP server 通过 JMAP API 和 CalDAV 协议提供丰富的功能,让 AI 助手能够与 Fastmail 服务交互。它包含全面的邮件操作,如列表、搜索、读取、发送和管理邮件,并支持高级功能如邮件线程、附件处理和批量操作。同时提供联系人管理和日历功能,在 JMAP 不可用时自动回退到 CalDAV。实现是生产就绪的,有清晰的文档、多种安装方法和适当的错误处理。
试试问 AI
装完之后,这里有 6 个你可以让 AI 做的事:
什么时候选它
如果您需要全面的 AI 访问 Fastmail 的邮件、联系人和日历服务,包括线程、附件和批量操作等丰富功能,请选择此服务器。
什么时候不要选它
如果您使用其他电子邮件提供商,请不要选择它,因为它专门为 Fastmail 的 API 和身份验证系统构建。
此 server 暴露的工具
从 README 抽取出 12 个工具check_function_availabilityCheck what's available and get setup guidance
send_emailSend an email with proper draft/sent handling
get_recent_emailsGet the most recent emails from a mailbox
advanced_searchAdvanced email search with multiple criteria
list_contactsList all contacts in your account
list_calendar_eventsList calendar events from your calendars
get_emailGet a specific email by ID
reply_emailReply to an existing email with proper threading
move_emailMove an email to a different mailbox
create_calendar_eventCreate a new calendar event
list_mailboxesGet all mailboxes in your account
search_contactsSearch contacts by name or email
可对比工具
安装
安装
前提条件
- Node.js 20+
- Fastmail 账户及 API 访问权限
- Fastmail API token
安装步骤
- 克隆或下载此仓库
- 安装依赖:
``bash npm install ``
- 构建项目:
``bash npm run build ``
- 设置环境变量:
``bash export FASTMAIL_API_TOKEN="your_api_token_here" # 可选:自定义基础 URL export FASTMAIL_BASE_URL="https://api.fastmail.com" # 可选:自定义附件下载目录 export FASTMAIL_DOWNLOAD_DIR="/path/to/your/downloads" ``
- 启动服务器:
``bash npm start ``
Claude Desktop 扩展
- 构建并打包:
``bash npm run build npx @anthropic-ai/dxt pack ``
- 将 .dxt 文件安装到 Claude Desktop
FAQ
- 这个 server 支持哪些邮件操作?
- server 支持全面的邮件操作,包括列表、搜索、读取、发送和管理邮件。还提供了高级功能,如邮件线程、附件处理、批量操作和统计功能。
- 它是否支持日历访问?
- 是的,server 支持日历操作,通过 JMAP(可用时)和自动回退到 CalDAV 来访问日历,因为 Fastmail 当前不通过 JMAP API 令牌提供日历访问。
- 如何获取 Fastmail API token?
- 登录 Fastmail 网页界面,转到设置 → 隐私和安全,找到'已连接应用和 API 令牌'部分,点击'管理 API 令牌',然后点击'新 API 令牌'生成 token。
fastmail-mcp 对比
最后更新于 · 由 README + GitHub 公开数据自动生成。