CLI Microsoft365 MCP Server
CLI Microsoft365 MCP Server is an MCP server that adds messaging tools to AI assistants such as Claude Desktop, Claude Code and Cursor. MCP server for CLI for Microsoft 365 to manage your tenant using natural language. It has 135 GitHub stars, is released under the MIT license and runs locally with npx -y @pnp/cli-microsoft365-mcp-server.
github.com/pnp/cli-microsoft365-mcp-server (opens in a new tab)
Data as of from the GitHub API and the official MCP registry; description from the project's repository. Report an error
Install CLI Microsoft365 MCP Server
Generated from the server's MCP registry entry. Replace your-value with your own values.
Claude Desktop
{
"mcpServers": {
"cli-microsoft365-mcp-server": {
"command": "npx",
"args": [
"-y",
"@pnp/cli-microsoft365-mcp-server"
]
}
}
}Settings > Developer > Edit Config. macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\. Restart Claude Desktop afterwards.
Claude Code
claude mcp add --transport stdio cli-microsoft365-mcp-server -- npx -y @pnp/cli-microsoft365-mcp-serverCursor
{
"mcpServers": {
"cli-microsoft365-mcp-server": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@pnp/cli-microsoft365-mcp-server"
]
}
}
}Project file; use ~/.cursor/mcp.json to enable it in every project.
VS Code
{
"servers": {
"cli-microsoft365-mcp-server": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@pnp/cli-microsoft365-mcp-server"
]
}
}
}Config formats checked against the official docs on Oct 7, 2026: modelcontextprotocol.io (opens in a new tab), code.claude.com (opens in a new tab), cursor.com (opens in a new tab), code.visualstudio.com (opens in a new tab).
About CLI Microsoft365 MCP Server
This MCP server allows the use of natural language to execute any CLI for Microsoft 365 commands. It may handle complex prompts that will be executed as a chain of CLI for Microsoft 365 commands that will try to fulfill the user's request. Thanks to this, you may manage many different areas of Microsoft 365, for example: Entra ID, OneDrive, OneNote, Outlook, Planner, Power Apps, Power Automate, Power Platform, SharePoint Embedded, SharePoint Online, Teams, Viva Engage, and many more...
- mcp
- microsoft365
- hacktoberfest
Similar MCP servers
More communication MCP servers
Email MCP
codefuturist/email-mcp
IMAP/SMTP email MCP server — 52 tools, stdio + HTTP, IMAP IDLE push, multi-account, AI triage.
Active · last commit Oct 16, 2026
CommunicationTypeScriptfreellmpool
0xzr/freellmpool
OpenAI-compatible MCP gateway cataloging 22 LLM providers, with routing, failover, and tools.
Active · last commit Oct 8, 2026
CommunicationPythonFlop Labs MCP Server
flop-labs/technocore-chat
Shared rooms and durable notes for agents over plain HTTP: rendezvous, hand-off, coordination.
Too new to judge · created Aug 13, 2026
CommunicationPythonAgentPhone
AgentPhone-AI/agentphone-mcp
Give AI agents real phone numbers, messages, and voice calls via MCP.
Maintained · last commit Oct 26, 2026
CommunicationTypeScriptDiscord MCP
cappyeo/discord-mcp
Caller-owned Discord operations for AI agents with 222 typed tools and verifiable guild builds.
Active · last commit Oct 19, 2026
CommunicationTypeScriptImap MCP Server
nikolausm/imap-mcp-server
IMAP/SMTP MCP server to search, read, organize, send, reply & forward email for AI assistants.
Active · last commit Oct 26, 2026
CommunicationTypeScript
How do I install the CLI Microsoft365 MCP Server MCP server?
Add the command npx -y @pnp/cli-microsoft365-mcp-server to your MCP client: put it in claude_desktop_config.json for Claude Desktop, run claude mcp add for Claude Code, or add it to .cursor/mcp.json (Cursor) or .vscode/mcp.json (VS Code). The snippets on this page are ready to paste.
Is CLI Microsoft365 MCP Server free?
The server is open source under the MIT license, so running it is free. It does not declare any required API key.
Is CLI Microsoft365 MCP Server actively maintained?
The most recent commit was on Oct 12, 2026. appsgit only lists MCP servers with a commit in the last six months.