# Microsoft 365 MCP (community) (MCP Server)

> Outlook mail, calendar, OneDrive, Teams, and To Do via Microsoft Graph

- Type: MCP server
- Publisher: Softeria
- Categories: Productivity, Communication
- Website: https://github.com/softeria/ms-365-mcp-server
- Source: https://github.com/softeria/ms-365-mcp-server
- Transport: stdio
- Launch command: npx -y @softeria/ms-365-mcp-server
- Sign-in: oauth
- GitHub stars: 1000
- Listed: 2025-04-01

## About

A popular community MCP server exposing 300+ Microsoft Graph tools for Outlook mail and calendar, OneDrive, Teams, SharePoint, To Do, Planner, and contacts. It supports personal and work accounts (org mode) with device code, OAuth 2.1, or bring-your-own-token auth. MIT licensed.

## Install

1. **Add the server to Codex**

   Codex CLI:

   ```bash
   codex mcp add ms-365-mcp-server -- npx -y @softeria/ms-365-mcp-server
   ```

   config.toml:

   ```toml
   [mcp_servers.ms-365-mcp-server]
   command = "npx"
   args = ["-y", "@softeria/ms-365-mcp-server"]
   ```

   Agents SDK:

   ```python
   from agents import Agent, Runner
   from agents.mcp import MCPServerStdio
   
   async with MCPServerStdio(
       name="Microsoft 365 MCP (community)",
       params={"command": "npx", "args": ["-y", "@softeria/ms-365-mcp-server"]},
   ) as server:
       agent = Agent(name="Assistant", mcp_servers=[server])
       result = await Runner.run(agent, "List my unread Outlook emails from today")
       print(result.final_output)
   ```

## Tools

- `list-mail-messages`
- `get-mail-message`
- `search-mail`
- `send-mail`
- `create-draft-message`
- `list-calendar-events`
- `get-calendar-event`
- `list-drives`
- `get-drive-item`
- `upload-drive-item`
- `send-chat-message`
- `create-todo-task`

## Example prompts

- "List my unread Outlook emails from today"
- "What's on my calendar this afternoon?"
- "Send a Teams chat message to Dana saying I'm running late"
- "Add 'Submit expense report' to my To Do list"

## Related

- [Notion](https://chatgptplugins.directory/mcp/notion.md): Search, read, and write Notion pages, databases, and comments via hosted MCP
- [Excalidraw](https://chatgptplugins.directory/mcp/excalidraw.md): Draw hand-drawn Excalidraw diagrams live inside ChatGPT, Claude and VS Code
- [Atlassian Rovo (Jira & Confluence)](https://chatgptplugins.directory/mcp/atlassian-rovo.md): Work with Jira issues and Confluence pages through Atlassian's hosted MCP
- [Browser Use](https://chatgptplugins.directory/mcp/browser-use.md): Run Browser Use cloud browser agents or control a local browser over MCP
- [Filesystem](https://chatgptplugins.directory/mcp/filesystem.md): Secure local file operations with configurable directory access
- [Memory](https://chatgptplugins.directory/mcp/memory.md): Knowledge graph-based persistent memory across conversations

---
Source: https://chatgptplugins.directory/mcp/ms-365-mcp-server · Index: https://chatgptplugins.directory/llms.txt · Independent and community-run. Not affiliated with or endorsed by OpenAI. ChatGPT is a trademark of OpenAI.
