# Send Microsoft 365 MCP Server to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "mcp-microsoft365",
    "name": "Microsoft 365 MCP Server",
    "source": "tencent",
    "type": "skill",
    "category": "效率提升",
    "sourceUrl": "https://clawhub.ai/makhatib/mcp-microsoft365",
    "canonicalUrl": "https://clawhub.ai/makhatib/mcp-microsoft365",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/mcp-microsoft365",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=mcp-microsoft365",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "src/index.ts",
      "tsconfig.json",
      "SKILL.md",
      "README.md",
      "package.json"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-23T16:43:11.935Z",
      "expiresAt": "2026-04-30T16:43:11.935Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
        "contentDisposition": "attachment; filename=\"4claw-imageboard-1.0.1.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/mcp-microsoft365"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/mcp-microsoft365",
    "downloadUrl": "https://openagent3.xyz/downloads/mcp-microsoft365",
    "agentUrl": "https://openagent3.xyz/skills/mcp-microsoft365/agent",
    "manifestUrl": "https://openagent3.xyz/skills/mcp-microsoft365/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/mcp-microsoft365/agent.md"
  }
}
```
## Documentation

### Microsoft 365 MCP Server

Full Microsoft 365 integration via Model Context Protocol (MCP).

### 📧 Mail (Outlook)

List, read, send, and search emails
Filter by folder (inbox, sent, drafts)
HTML email support

### 📅 Calendar

List and create events
Teams meeting integration
Check availability/free-busy

### 📁 OneDrive

Browse files and folders
Search files
Read file content

### ✅ Tasks (Microsoft To-Do)

List task lists
Create and manage tasks
Set importance and due dates

### 💬 Teams

List chats
Read and send messages

### 👥 Users

List organization users
Get user profiles

### Requirements

Node.js 18+
Azure Entra ID App with Microsoft Graph permissions

### 1. Create Azure Entra ID App

Go to Azure Portal
Navigate to Microsoft Entra ID → App registrations → New registration
Configure:

Name: MCP-Microsoft365
Supported account types: Single tenant (recommended)
Redirect URI: http://localhost:3000/callback

### 2. Add API Permissions

Add these Application permissions for Microsoft Graph:

Mail.Read, Mail.Send, Mail.ReadWrite
Calendars.Read, Calendars.ReadWrite
Files.Read.All, Files.ReadWrite.All
Tasks.Read.All, Tasks.ReadWrite.All
Chat.Read.All, Chat.ReadWrite.All
User.Read.All

Important: Click "Grant admin consent"

### 3. Get Credentials

Save these values:

Application (client) ID
Directory (tenant) ID
Client Secret (create under Certificates & secrets)

### 4. Install

# Clone/download the skill
cd mcp-microsoft365

# Install dependencies
npm install

# Build
npm run build

### 5. Configure mcporter

mcporter config add m365 --stdio "node /path/to/mcp-microsoft365/dist/index.js"

Edit config/mcporter.json to add environment variables:

{
  "mcpServers": {
    "m365": {
      "command": "node /path/to/dist/index.js",
      "env": {
        "TENANT_ID": "your-tenant-id",
        "CLIENT_ID": "your-client-id",
        "CLIENT_SECRET": "your-client-secret",
        "DEFAULT_USER": "user@yourdomain.com"
      }
    }
  }
}

### Email

# List recent emails
mcporter call m365.m365_mail_list top:5

# Send email
mcporter call m365.m365_mail_send to:"recipient@email.com" subject:"Hello" body:"<p>Hi!</p>"

# Search
mcporter call m365.m365_mail_search query:"important"

### Calendar

# List events
mcporter call m365.m365_calendar_list top:10

# Create event with Teams meeting
mcporter call m365.m365_calendar_create subject:"Team Sync" start:"2026-01-27T10:00:00" end:"2026-01-27T11:00:00" isOnline:true

### Files

# List OneDrive root
mcporter call m365.m365_files_list

# Search files
mcporter call m365.m365_files_search query:"report"

### Tasks

# List task lists
mcporter call m365.m365_tasks_lists

### Teams

# List chats
mcporter call m365.m365_teams_chats top:10

### 19 Available Tools

ToolDescriptionm365_mail_listList emailsm365_mail_readRead email by IDm365_mail_sendSend emailm365_mail_searchSearch emailsm365_calendar_listList eventsm365_calendar_createCreate eventm365_calendar_availabilityCheck free/busym365_files_listList filesm365_files_searchSearch filesm365_files_readRead file contentm365_files_infoGet file metadatam365_tasks_listsList task listsm365_tasks_listList tasksm365_tasks_createCreate taskm365_teams_chatsList chatsm365_teams_messagesRead messagesm365_teams_sendSend messagem365_users_listList usersm365_user_infoGet user profile

### Author

Mahmoud Alkhatib

Website: malkhatib.com
YouTube: @malkhatib
Twitter: @malkhateeb

### License

MIT
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: makhatib
- Version: 1.0.0
## Source health
- Status: healthy
- Source download looks usable.
- Yavira can redirect you to the upstream package for this source.
- Health scope: source
- Reason: direct_download_ok
- Checked at: 2026-04-23T16:43:11.935Z
- Expires at: 2026-04-30T16:43:11.935Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/mcp-microsoft365)
- [Send to Agent page](https://openagent3.xyz/skills/mcp-microsoft365/agent)
- [JSON manifest](https://openagent3.xyz/skills/mcp-microsoft365/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/mcp-microsoft365/agent.md)
- [Download page](https://openagent3.xyz/downloads/mcp-microsoft365)