microsoft365-mcp-server
io.github.sapientsai/microsoft365-mcp-server · version 1.3.1
Community listing. Not installed or verified by cosmic-mcp. Read the source and its permissions before you run it.
Microsoft 365 via Graph — mail, calendar, contacts, files, Teams, Planner, OneNote, To Do.
https://github.com/sapientsai/microsoft365-mcp-serverQuick facts
- Listing: Community
- Published Nov 8, 01:54 UTC
- Transport: stdio
- Package: npm
microsoft365-mcp-server1.3.1 - Listed by cosmic-mcp: Nov 9, 04:27 UTC
Details
- Repository: https://github.com/sapientsai/microsoft365-mcp-server
- npm: https://www.npmjs.com/package/microsoft365-mcp-server
- Needs settings:
MS365_CLIENT_IDMS365_TENANT_IDMS365_CLIENT_SECRETMS365_CERT_PATHMS365_CERT_PASSWORDMS365_ACCESS_TOKENMS365_AUTH_MODEMS365_OAUTH_BASE_URLMS365_READ_ONLYMS365_ENABLED_TOOLSMS365_PRESETSMS365_ORG_MODETRANSPORT_TYPE
Setup snippets
Generated from the registry entry. cosmic-mcp has not run or reviewed this server; values in angle brackets are yours to fill in.
Run it locally (npm)
npx -y '[email protected]'Claude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"microsoft365-mcp-server": {
"args": [
"-y",
"[email protected]"
],
"command": "npx",
"env": {
"MS365_ACCESS_TOKEN": "<your ms365 access token>",
"MS365_AUTH_MODE": "<your ms365 auth mode>",
"MS365_CERT_PASSWORD": "<your ms365 cert password>",
"MS365_CERT_PATH": "<your ms365 cert path>",
"MS365_CLIENT_ID": "<your ms365 client id>",
"MS365_CLIENT_SECRET": "<your ms365 client secret>",
"MS365_ENABLED_TOOLS": "<your ms365 enabled tools>",
"MS365_OAUTH_BASE_URL": "<your ms365 oauth base url>",
"MS365_ORG_MODE": "<your ms365 org mode>",
"MS365_PRESETS": "<your ms365 presets>",
"MS365_READ_ONLY": "<your ms365 read only>",
"MS365_TENANT_ID": "<your ms365 tenant id>",
"TRANSPORT_TYPE": "<your transport type>"
}
}
}
}Claude Code
claude mcp add 'microsoft365-mcp-server' -- npx -y '[email protected]'Cursor (.cursor/mcp.json)
{
"mcpServers": {
"microsoft365-mcp-server": {
"args": [
"-y",
"[email protected]"
],
"command": "npx",
"env": {
"MS365_ACCESS_TOKEN": "<your ms365 access token>",
"MS365_AUTH_MODE": "<your ms365 auth mode>",
"MS365_CERT_PASSWORD": "<your ms365 cert password>",
"MS365_CERT_PATH": "<your ms365 cert path>",
"MS365_CLIENT_ID": "<your ms365 client id>",
"MS365_CLIENT_SECRET": "<your ms365 client secret>",
"MS365_ENABLED_TOOLS": "<your ms365 enabled tools>",
"MS365_OAUTH_BASE_URL": "<your ms365 oauth base url>",
"MS365_ORG_MODE": "<your ms365 org mode>",
"MS365_PRESETS": "<your ms365 presets>",
"MS365_READ_ONLY": "<your ms365 read only>",
"MS365_TENANT_ID": "<your ms365 tenant id>",
"TRANSPORT_TYPE": "<your transport type>"
}
}
}
}VS Code (.vscode/mcp.json)
{
"servers": {
"microsoft365-mcp-server": {
"args": [
"-y",
"[email protected]"
],
"command": "npx",
"env": {
"MS365_ACCESS_TOKEN": "<your ms365 access token>",
"MS365_AUTH_MODE": "<your ms365 auth mode>",
"MS365_CERT_PASSWORD": "<your ms365 cert password>",
"MS365_CERT_PATH": "<your ms365 cert path>",
"MS365_CLIENT_ID": "<your ms365 client id>",
"MS365_CLIENT_SECRET": "<your ms365 client secret>",
"MS365_ENABLED_TOOLS": "<your ms365 enabled tools>",
"MS365_OAUTH_BASE_URL": "<your ms365 oauth base url>",
"MS365_ORG_MODE": "<your ms365 org mode>",
"MS365_PRESETS": "<your ms365 presets>",
"MS365_READ_ONLY": "<your ms365 read only>",
"MS365_TENANT_ID": "<your ms365 tenant id>",
"TRANSPORT_TYPE": "<your transport type>"
},
"type": "stdio"
}
}
}Related servers
- AnomalyArmor Verified domain
Data observability tools for engineering teams: alerts, freshness, schema drift, lineage, quality. - backengine-mcp Verified domain
Surface customer & prospect context from Slack, email, transcripts and tickets in any MCP client. - ARVX Verified domain
Email for long-term client relationships: ARVX reads each person first and remembers every pair. - AiVikings.ai Verified domain
Find, register, and manage domains from any AI chat or agent - Artil — Email, SMS & Messaging for AI Agents Verified domain
Give AI agents own email inbox, SMS numbers, and workspace accounts to receive and send messages. - Atako Verified domain
Remote MCP server to run your Atako AI agents: chat, projects, files, integrations and channels.