mcp前景应用程序说明
A. 模型上下文协议 Mac上Microsoft Outlook的服务器。通过AppleScript支持的49个MCP工具访问您的邮件、日历、联系人、任务和笔记。
特性
- AppleScript后端 --适用于经典的Outlook for Mac,无需网络或身份验证
- 49工具 --全面覆盖邮件、日历、联系人、任务和笔记
- 审批系统 --破坏性操作(删除、移动、丢弃)需要两步准备/确认流程
- 零本地依赖 --纯TypeScript+AppleScript,无需C++编译
可用工具
| 类别 | 工具 |
|---|---|
| 邮件 | list_folders, list_emails, search_emails, get_email, get_unread_count, send_email, list_attachments, download_attachment |
| 邮件组织 | mark_email_read, mark_email_unread, set_email_flag, clear_email_flag, set_email_categories, prepare/confirm_delete_email, prepare/confirm_move_email, prepare/confirm_archive_email, prepare/confirm_junk_email, prepare/confirm_batch_* |
| 文件夹 | create_folder, rename_folder, move_folder, prepare/confirm_delete_folder, prepare/confirm_empty_folder |
| 日历 | list_calendars, list_events, get_event, search_events, create_event, update_event, delete_event, respond_to_event |
| 联系人 | list_contacts, search_contacts, get_contact |
| 任务 | list_tasks, search_tasks, get_task |
| 备注 | list_notes, search_notes, get_note |
| 账户 | list_accounts |
安装
git clone https://github.com/hasan-imam/mcp-outlook-applescript.git
cd mcp-outlook-applescript
npm install && npm run build && npm pack && npm install -g mcp-outlook-applescript-*.tgz
cd .. && rm -rf mcp-outlook-applescript这将安装 mcp-outlook-applescript 作为全球指挥部。安装后可以删除签出。
要更新,请重新运行上述命令。
克劳德代码
claude mcp add outlook -- mcp-outlook-applescript克劳德桌面
增添 ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"outlook": {
"command": "mcp-outlook-applescript"
}
}
}需求
- 安装并运行Microsoft Outlook(经典版)的macOS
- Node.js>=20
- Outlook的自动化权限(系统设置>隐私和安全>自动化)
发展
npm install
npm run build # compile TypeScript → dist/
npm run typecheck # type-check without emitting
npm test # 121 unit tests
bash scripts/audit.sh # static quality audit (build, security, package, functional)许可证
麻省理工学院——见 许可证.
