MO

marlonluo2018/outlook-mcp-server

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

39 stars 18 forks 质量 54 趋势 0

marlonluo2018/outlook-mcp-server 是从 https://github.com/marlonluo2018/outlook-mcp-server. 导入的 MCP 服务器候选

概览

marlonluo2018/outlook-mcp-server 是从 https://github.com/marlonluo2018/outlook-mcp-server. 导入的 MCP 服务器候选

概述(AI 翻译)

Microsoft Outlook的AI驱动邮件管理 - 使用自然语言命令搜索、撰写、组织和批量转发邮件。

⭐ 这帮你节省了时间?Star us - 只需2秒钟,帮助成千上万的Outlook用户找到这个AI邮件助手! ⭐

🤔 项目选择:本地与云端方法

本项目使用win32COM完全本地处理Outlook数据(更安全),而我们新的Microsoft Graph MCP服务器则提供对完整Microsoft 365生态系统的在线访问(功能更多)。请根据您的安全和功能需求进行选择。

为什么选择这个项目(win32COM)?

  • ** ✅ 本地数据处理**:所有邮件操作均在你的电脑本地进行——没有数据流出你的机器
  • ** ✅ 增强安全性**:无需云认证或API令牌——可与您现有的Outlook设置兼容
  • ** ✅ 离线功能**:即使没有互联网连接,也能访问和管理电子邮件
  • ** ✅ 隐私优先**:您的电子邮件数据绝不会接触外部服务器或云服务

为什么切换到Microsoft Graph API?

  • ** ✅ 完整 Microsoft 365 生态系统**:访问邮件、日历、Teams、OneDrive、SharePoint

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

🤖 Outlook MCP Server

AI-powered email management for Microsoft Outlook - Search, compose, organize, and batch forward emails with natural language commands.

🤔 Project Choice: Local vs Cloud Approach

This project uses win32COM which works entirely locally with your Outlook data (more secure), while our new Microsoft Graph MCP Server provides online access to the full Microsoft 365 ecosystem (more features). Choose based on your security and functionality needs.

Why Choose This Project (win32COM)?

  • ✅ Local Data Processing: All email operations happen locally on your computer - no data leaves your machine
  • ✅ Enhanced Security: No cloud authentication or API tokens required - works with your existing Outlook setup
  • ✅ Offline Capability: Access and manage emails even without internet connection
  • ✅ Privacy-First: Your email data never touches external servers or cloud services

Why Switch to Microsoft Graph API?

  • ✅ Full Microsoft 365 Ecosystem: Access Mail, Calendar, Teams, OneDrive, SharePoint
  • ✅ Cross-Platform Support: Works on Windows, macOS, Linux, and mobile devices
  • ✅ Modern Authentication: OAuth 2.0 with device code flow
  • ✅ Cloud-Scale Performance: No local application dependencies
  • ✅ Online Access: Works directly with cloud-based Microsoft 365 services

🚀 Quick Start (2 Minutes)

What You’ll Get

  • Smart Email Search: “Find emails about budget approval from last week”
  • AI Email Writing: Draft replies with context-aware suggestions
  • Easy Organization: Create folders and move emails with simple commands
  • Batch Forwarding: Send emails to 100s of recipients in minutes, not hours

🤖 AI Behavior & Workflow

The agent_prompt_template.md defines how the AI assistant behaves when managing emails:

  • Purpose: Guide the AI’s workflow for email search, summarization, and drafting
  • Key Rules: AND logic for searches, 5-by-5 email display, confirmation before sending
  • Safety: Built-in constraints ensure user control and prevent unauthorized actions
  • How to Use: Copy the template content and use it to configure your AI assistant

See the template for complete behavior guidelines and workflow definitions

Why Choose Outlook MCP Server?

| Feature | Outlook MCP Server | Traditional Outlook | Outlook Add-ins |

在 GitHub 查看完整 README

安装

uvx --with pywin32>=226 --with-editable . outlook-mcp-server
新手?先看 mcpskill.org 教程 →

配置

# 1. Install git clone https://github.com/marlonluo2018/outlook-mcp-server.git cd outlook-mcp-server uvx --with "pywin32>=226" --with-editable "." outlook-mcp-server # 2. Configure your AI assistant # Use this in your MCP client settings: { "mcpServers": { "outlook": { "command": "uvx", "args": ["--with", "pywin32>=226", "--with-editable", ".", "outlook-mcp-server"] } } }