Microsoft 365
An MCP server that enables interaction with Microsoft 365 services like Outlook, OneDrive, Teams, and SharePoint via the Microsoft Graph API. It supports comprehensive operations including email management, file access, and organizational collaborati
What is Microsoft 365?
Microsoft 365 is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to mcp server that enables interaction with microsoft 365 services like outlook, onedrive, teams, and sharepoint via the microsoft graph api. it supports comprehensive operations including email manageme...
An MCP server that enables interaction with Microsoft 365 services like Outlook, OneDrive, Teams, and SharePoint via the Microsoft Graph API. It supports comprehensive operations including email management, file access, and organizational collaborati
This server falls under the Business Applications and Cloud Services categories on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- An MCP server that enables interaction with Microsoft 365 se
Use Cases
Maintainer
Works with
Installation
NPM
npx -y @softeria/ms-365-mcp-serverManual Installation
npx -y @softeria/ms-365-mcp-serverConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use Microsoft 365
The Microsoft 365 MCP Server by Softeria exposes over 200 tools covering the Microsoft Graph API, giving AI assistants direct access to Outlook email, Calendar, OneDrive, Excel, OneNote, Teams, SharePoint, and more through a single MCP interface. It supports both personal Microsoft accounts and organizational work/school accounts (via --org-mode), and includes a token-efficient output format that reduces context usage by 30-60% on large list operations. Teams and individuals use it to automate email triage, schedule meetings, manage files, and retrieve Teams messages without leaving their AI workflow.
Prerequisites
- Node.js 18+ installed (for npx execution)
- A Microsoft personal account or work/school account (Azure AD/Entra ID)
- An MCP client such as Claude Desktop or Claude Code
- For org-mode: appropriate Microsoft 365 license with Teams and SharePoint access
- Optional: Azure app registration (MS365_MCP_CLIENT_ID and MS365_MCP_TENANT_ID) for custom OAuth credentials
Run the server with npx (personal account)
For personal Microsoft accounts, run the server directly with npx. It will prompt you to authenticate via a browser on first run.
npx -y @softeria/ms-365-mcp-serverEnable org mode for work/school accounts
Work and school accounts need --org-mode to unlock Teams, SharePoint, and shared mailbox tools.
npx -y @softeria/ms-365-mcp-server --org-modeAuthenticate your Microsoft account
On first launch the server prints a browser URL for OAuth authentication. Open it, sign in with your Microsoft account, and grant the requested permissions. Credentials are cached for subsequent runs.
Configure Claude Desktop
Add the server to your Claude Desktop configuration. Use --org-mode if connecting a work account. The server reads env vars for customization.
{
"mcpServers": {
"ms365": {
"command": "npx",
"args": ["-y", "@softeria/ms-365-mcp-server", "--org-mode"],
"env": {
"MS365_MCP_OUTPUT_FORMAT": "toon"
}
}
}
}Add to Claude Code CLI
Register the server via the Claude Code CLI for project-level use.
claude mcp add ms365 -- npx -y @softeria/ms-365-mcp-server --org-modeReduce context usage with compact output format
Set MS365_MCP_OUTPUT_FORMAT=toon to enable a compact representation that cuts token usage by 30-60% on list operations like fetching emails or calendar events.
export MS365_MCP_OUTPUT_FORMAT=toonMicrosoft 365 Examples
Client configuration
Claude Desktop configuration for the Microsoft 365 MCP Server with org-mode and compact output enabled.
{
"mcpServers": {
"ms365": {
"command": "npx",
"args": ["-y", "@softeria/ms-365-mcp-server", "--org-mode"],
"env": {
"MS365_MCP_OUTPUT_FORMAT": "toon",
"MS365_MCP_MAX_TOP": "50"
}
}
}
}Prompts to try
Example prompts for managing Outlook, Teams, OneDrive, and Calendar through the server.
- "Show me my unread emails from today and summarize any action items"
- "Schedule a 30-minute meeting with [email protected] tomorrow at 2pm"
- "List the files in my OneDrive root folder and find anything modified this week"
- "Get the last 10 messages from the #engineering Teams channel"
- "Create a new To Do task: Review Q3 budget proposal by Friday"Troubleshooting Microsoft 365
Authentication fails or browser URL does not open
Copy the printed URL manually and open it in a browser. If you are behind a corporate proxy, ensure the OAuth redirect (localhost) is reachable. Re-run the server after completing browser sign-in.
Teams or SharePoint tools are missing
These tools are only available in org mode. Add --org-mode to the args array in your config and re-authenticate with your work or school account.
Responses are very large and hitting context limits
Set MS365_MCP_OUTPUT_FORMAT=toon in the env block to enable compact output, and set MS365_MCP_MAX_TOP to a lower number (e.g., 20) to cap the number of results returned per list call.
Frequently Asked Questions about Microsoft 365
What is Microsoft 365?
Microsoft 365 is a Model Context Protocol (MCP) server that mcp server that enables interaction with microsoft 365 services like outlook, onedrive, teams, and sharepoint via the microsoft graph api. it supports comprehensive operations including email management, file access, and organizational collaborati It connects AI assistants to external tools and data sources through a standardized interface.
How do I install Microsoft 365?
Install via npm with the command: npx -y @softeria/ms-365-mcp-server. Then add the server configuration to your AI client's JSON config file (e.g., claude_desktop_config.json or .cursor/mcp.json).
Which AI clients work with Microsoft 365?
Microsoft 365 works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is Microsoft 365 free to use?
Yes, Microsoft 365 is open source and available under the MIT license. You can use it freely in both personal and commercial projects.
Microsoft 365 Alternatives — Similar Business Applications Servers
Looking for alternatives to Microsoft 365? Here are other popular business applications servers you can use with Claude, Cursor, and VS Code.
n8n
★ 189.1kA comprehensive MCP server that provides full control over n8n automation workflows through natural language. It offers 43 tools for managing workflows, executions, credentials, and data tables, with safety features like write-mode protection and dou
LobeHub
★ 77.5k🤯 LobeHub is your Chief Agent Operator, organizing your agents into 7×24 operations by hiring, scheduling, and reporting on your entire AI team.
Jeecgboot
★ 46.4kAI 低代码平台,「低代码 + 零代码」双模式驱动:低代码一键生成前后端代码,零代码 5 分钟搭建系统,AI Skills 一句话画流程、设计表单、生成整套系统。内置 AI聊天、知识库、流程编排、MCP插件等,兼容主流大模型。引领「AI 生成 → 在线配置 → 代码生成 → 手工合并->AI修改」开发模式,消除 Java 项目 80% 的重复工作,提效而不失灵活。
CowAgent
★ 44.7kCowAgent (chatgpt-on-wechat) 是基于大模型的超级AI助理,能主动思考和任务规划、访问操作系统和外部资源、创造和执行Skills、通过长期记忆和知识库不断成长,比OpenClaw更轻量和便捷。同时支持微信、飞书、钉钉、企微、QQ、公众号、网页等接入,可选择DeepSeek/OpenAI/Claude/Gemini/ MiniMax/Qwen/GLM/LinkAI,能处理文本、语音、图片和文件,可快速搭建个人AI助理和企业数字员工。
Minds Platform
★ 39.2kPlatform dedicated to building an open foundation for applied Artificial Intelligence, designed for people seeking production-ready AI systems they can truly control, extend and deploy anywhere.
Astrbot
★ 32.8kAI Agent Assistant & development framework that integrates lots of IM platforms, LLMs, plugins and AI feature, and can be your openclaw alternative. ✨
Browse More Business Applications MCP Servers
Explore all business applications servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up Microsoft 365 in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
Ready to use Microsoft 365?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.