EM

elyxlz/microsoft-mcp

开发工具

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

56 stars 38 forks 质量 57 趋势 13

elyxlz/microsoft-mcp 是从 https://github.com/elyxlz/microsoft-mcp. 导入的 MCP 服务器候选。

概览

elyxlz/microsoft-mcp 是从 https://github.com/elyxlz/microsoft-mcp. 导入的 MCP 服务器候选。

概述(AI 翻译)

强大的 Microsoft Graph API MCP 服务器——一套完整的 Outlook 、日历、OneDrive 和联系人 AI 助手工具包。

特色

  • 邮件管理:阅读、发送、回复、管理附件、整理文件夹
  • 日历智能:创建、更新、检查可用性、回复邀请
  • OneDrive 文件:上传、下载、带分页浏览
  • 联系人:从通讯录中搜索和列出联系人
  • 多账户:支持多个Microsoft账户(个人、工作、学校)
  • 统一搜索:跨邮件、文件、事件和人员搜索

Claude桌面快速入门

用例示例

可用工具

电子邮件工具

  • list_emails - 列出带有可选正文内容的邮件
  • get_email - 获取带有附件的特定邮件
  • create_email_draft - 创建支持附件的邮件草稿
  • send_email - 立即发送带有抄送/副本及附件的邮件
  • reply_to_email - 回复保持线程上下文
  • reply_all_email - 回复所有收件人
  • update_email - 将邮件标记为已读/未读
  • move_email - 在文件夹间移动邮件
  • delete_email - 删除邮件

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

README

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

Microsoft MCP

Powerful MCP server for Microsoft Graph API - a complete AI assistant toolkit for Outlook, Calendar, OneDrive, and Contacts.

Features

  • Email Management: Read, send, reply, manage attachments, organize folders
  • Calendar Intelligence: Create, update, check availability, respond to invitations
  • OneDrive Files: Upload, download, browse with pagination
  • Contacts: Search and list contacts from your address book
  • Multi-Account: Support for multiple Microsoft accounts (personal, work, school)
  • Unified Search: Search across emails, files, events, and people

Quick Start with Claude Desktop

# Add Microsoft MCP server (replace with your Azure app ID)
claude mcp add microsoft-mcp -e MICROSOFT_MCP_CLIENT_ID=your-app-id-here -- uvx --from git+https://github.com/elyxlz/microsoft-mcp.git microsoft-mcp

# Start Claude Desktop
claude

Usage Examples

# Email examples
> read my latest emails with full content
> reply to the email from John saying "I'll review this today"
> send an email with attachment to [email protected]

# Calendar examples  
> show my calendar for next week
> check if I'm free tomorrow at 2pm
> create a meeting with Bob next Monday at 10am

# File examples
> list files in my OneDrive
> upload this report to OneDrive
> search for "project proposal" across all my files

# Multi-account
> list all my Microsoft accounts
> send email from my work account

Available Tools

Email Tools

  • list_emails - List emails with optional body content
  • get_email - Get specific email with attachments
  • create_email_draft - Create email draft with attachments support
  • send_email - Send email immediately with CC/BCC and attachments
  • reply_to_email - Reply maintaining thread context
  • reply_all_email - Reply to all recipients in thread
  • update_email - Mark emails as read/unread
  • move_email - Move emails between folders
  • delete_email - Delete emails
  • get_attachment - Get email attachment content
  • search_emails - Search emails by query

Calendar Tools

  • list_events - List calendar events with details
  • get_event - Get specific event details
  • create_event - Create events with location and attendees
  • update_event - Reschedule or modify events
  • delete_event - Cancel events
  • respond_event - Accept/decline/tentative response to invitations
  • check_availability - Check free/busy times for scheduling
  • search_events - Search calendar events

Contact Tools

  • list_contacts - List all contacts
  • get_contact - Get specific contact details
  • create_contact - Create new contact
  • update_contact - Update contact information
  • delete_contact - Delete contact
  • search_contacts - Search contacts by query

File Tools

  • list_files - Browse OneDrive files and folders
  • get_file - Download file content
在 GitHub 查看完整 README

安装

uvx --from git+https://github.com/elyxlz/microsoft-mcp.git microsoft-mcp
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "microsoft": { "command": "uvx", "args": ["--from", "git+https://github.com/elyxlz/microsoft-mcp.git", "microsoft-mcp"], "env": { "MICROSOFT_MCP_CLIENT_ID": "your-app-id-here" } } } }