Skip to content
Skillpedia
● Free and open sourceπŸ’» LocalπŸ”‘ Needs an API keyWork and productivity

Microsoft 365 MCP Server

Lets your AI agent work with Outlook mail, calendar, OneDrive, Excel, OneNote, To Do and more through Microsoft Graph.

1.1k stars on GitHubby SofteriaLicense MITUpdated 19 days ago

How to install

This MCP is local: it runs on your computer.

It works in apps installed on your PC (Claude Desktop, Claude Code, Cursor, VS Code…). Choose your app:

Paste in the terminal:

claude mcp add ms-365 -- npx -y @softeria/ms-365-mcp-server

Ready! Now test it

Restart the app and paste one of these requests in the chat:

Show me my unread emails from today.
What meetings do I have tomorrow?

What it is

This server connects your AI agent to Microsoft 365 using the Microsoft Graph API. It offers 300+ tools. Personal account tools include email, calendar, files, Excel, OneNote, To Do, Planner and contacts, and organization mode adds Teams, SharePoint and more.

What it can do

  • Read and send Outlook email, and manage calendar events
  • Work with OneDrive files and Excel workbooks
  • Use OneNote, To Do, Planner and contacts
  • Organization mode: Teams chats, online meetings, SharePoint sites and lists
  • Read-only mode with --read-only
  • Narrow the tools with --preset or --enabled-tools

When to use

  • β€ΊWhen you want your agent to find an email or a meeting in your Microsoft 365 account
  • β€ΊWhen you want a safe read-only connection to your files and calendar
  • β€ΊWhen your company must pre-approve Graph permissions and you need the exact list

What you need

You need Node.js 20 or newer and a Microsoft account to sign in with. GCC High needs your own app registered in your government tenant, with MS365_MCP_CLIENT_ID set.

Skills that pair well

⭐ Skillpedia MCP Β· freeYour agent finds the right skill on its ownInstall our MCP and your agent searches 15,000+ skills whenever it needs one.Install for free β†’

Frequently asked questions

Is it free and open source?

Yes, it is an open source npm package under a LICENSE file. You need a Microsoft 365 account for the data it reaches.

Can I make it read-only?

Yes. Use read-only mode, and tools that need write access are hidden.

Which clouds are supported?

Global (default), China operated by 21Vianet, and GCC High for US Government.

Which permissions does it ask for?

Permissions are requested based on the tools enabled. Run it with --list-permissions to see the exact list, and add --org-mode or --preset to see other setups.

Can I limit the scopes?

Yes. --allowed-scopes or MS365_MCP_ALLOWED_SCOPES hides tools whose scopes are not covered.

Does it save tokens?

There is an experimental TOON output format that the readme says uses 30-60% fewer tokens than JSON for uniform lists.

If it does not work

  • β€ΊCheck node -v shows 20 or newer.
  • β€ΊIf Teams or SharePoint tools are missing, start the server with --org-mode.
  • β€ΊIf your admin must approve permissions, run --list-permissions and send them the exact list.

5 new skills a week. 1 minute to read.