XO

xenoxilus/outlook-mcp

开发工具

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

33 stars 10 forks 质量 73 趋势 26

Microsoft Office 365 Outlook – 为 Claude, ChatGPT 和 AI 助手通过 Microsoft Graph API 提供的 MCP 服务器 – 电子邮件,日历和 SharePoint 集成

概览

一个模型上下文协议(MCP)服务器,可以让AI助手通过Microsoft Graph API与Microsoft Outlook电子邮件和日历交互. - 读取,搜索,发送,回复电子邮件和下载附件 - :通过共享链接或直接文件ID访问SharePoint文件. 通过电子邮件下载共享的文件 。 - 查看并管理日历事件和预约 -- -- 解析PDF、Word、PowerPoint和Excel文件并提取出文本内容 -- -- :发送者/主体/日期发现电子邮件收件,将其保存为经核实和一致命名的PDF(附件、计费链接或使倒置),并启动审查草案——为预定的非交互运行构建——:自动处理超过MCP响应大小限制的文件 :在安装前,您需要设置一个Azure应用程序来获取您的客户身份和租户身份. 对于克洛德桌面用户,DXT扩展提供了最简单的安装体验. 1. 从第2版下载展望-mcp.dxt.

概述(AI 翻译)

一个模型上下文协议(MCP)服务器,可以让AI助手通过Microsoft Graph API与Microsoft Outlook电子邮件和日历交互.

□ 特性

  • 电子邮件业务: 读取、搜索、发送、回复电子邮件和下载附件
  • SharePoint集成:通过共享链接或直接文件ID访问SharePoint文件. 通过电子邮件下载共享的文件 。
  • ** 日历管理**:查看和管理日历活动和任命
  • ** 办公室文档处理**:解析PDF、Word、PowerPoint和Excel文件,并提取出文本内容
  • 收发件人和发票收藏:按发件人/主体/日期发现电子邮件收发件人,将其保存为经核实和一致命名的PDF(附件、开具账单链接或使退款),并进行审查草稿——为预定的非交互运行而制作
  • ** Large 文件支持**:自动处理超过MCP响应大小限制的文件

□ 快开始

** 选择安装方法:**

最佳方法 最佳方法 |:也. | DXT 扩展 | Claude 桌面用户 | QQ CLI配置 Claude Code, mcp CLI, 其他 MCP客户端 QQ

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

README

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

Microsoft Outlook MCP Server

A Model Context Protocol (MCP) server that enables AI assistants to interact with Microsoft Outlook email and calendar through the Microsoft Graph API.

Features

  • Email Operations: Read, search, send, reply to emails and download attachments
  • SharePoint Integration: Access SharePoint files via sharing links or direct file IDs. Download files shared to you via emails.
  • Calendar Management: View and manage calendar events and appointments
  • Office Document Processing: Parse PDF, Word, PowerPoint, and Excel files with extracted text content
  • Receipt & Invoice Collection: Discover emailed receipts by sender/subject/date, save them as verified and consistently named PDFs (attachment, billing link, or rendered fallback), and stage a review draft — built for scheduled, non-interactive runs
  • Large File Support: Automatic handling of files that exceed MCP response size limits

Quick Start

Choose your installation method:

Method Best For
DXT Extension Claude Desktop users
CLI Configuration Claude Code, mcp CLI, other MCP clients

Prerequisites: Before installing, you’ll need to set up an Azure application to get your Client ID and Tenant ID.


Installation

Installing as DXT Extension

For Claude Desktop users, DXT extensions provide the simplest installation experience.

Option 1: Download Pre-built Extension

  1. Download outlook-mcp.dxt from the Releases page
  2. In Claude Desktop, go to Settings → Extensions
  3. Click Install from file and select the .dxt file
  4. Enter your Azure Client ID, Tenant ID, and optional download directory when prompted

Option 2: Build from Source

  1. Clone and install dependencies:
    git clone https://github.com/XenoXilus/outlook-mcp.git
    cd outlook-mcp
    npm install
    
  2. Install the DXT CLI: npm install -g @anthropic-ai/dxt
  3. Pack the extension:
    dxt pack . outlook-mcp.dxt
    
  4. Install the generated .dxt file in Claude Desktop as above

Using with CLI Tools

For CLI-based MCP clients (Claude Code, mcp CLI, etc.), configure the server directly.

1. Clone and Install:

git clone https://github.com/XenoXilus/outlook-mcp.git
cd outlook-mcp
npm install

2. Configure your MCP client:

Add the following to your MCP servers configuration (location varies by client):

{
  "outlook-mcp": {
    "command": "node",
    "args": ["/absolute/path/to/outlook-mcp/server/index.js"],
    "env": {
在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →