AUTOMATIONSWITCH
OfficialProductivity

Microsoft 365 MCP

by PnP (Microsoft Patterns and Practices)

Manage Microsoft 365 using MCP. Wraps the CLI for Microsoft 365 (the Patterns and Practices project) as an MCP server. 104 GitHub stars and 2 commits on main in the last 30 days.

104·7 tools·Released JUN 2025·MIT
npx -y @pnp/cli-microsoft365-mcp-server
Share:

Manage Microsoft 365 using MCP. Wraps the CLI for Microsoft 365 (Patterns and Practices) as an MCP server. 104 stars and 2 commits on main in the last 30 days.

Reviewed by M. Nouriel · MAY 2026

INSTALL THIS SERVER

Requires authenticationMicrosoft 365 account or app registration. Authenticate via `m365 login` (the underlying CLI) before connecting through MCP.
{ "mcpServers": { "microsoft365": { "command": "npx", "args": [ "-y", "@pnp/cli-microsoft365-mcp-server" ] } } }
PrereqRun `m365 login` once before connecting via MCP. NPM: `@pnp/cli-microsoft365-mcp-server`. Path: ~/Library/Application Support/Claude/claude_desktop_config.json (macOS).
{ "mcpServers": { "microsoft365": { "command": "npx", "args": [ "-y", "@pnp/cli-microsoft365-mcp-server" ] } } }
{ "mcpServers": { "microsoft365": { "command": "npx", "args": [ "-y", "@pnp/cli-microsoft365-mcp-server" ] } } }
{ "mcpServers": { "microsoft365": { "command": "npx", "args": [ "-y", "@pnp/cli-microsoft365-mcp-server" ] } } }
{ "mcpServers": { "microsoft365": { "command": "npx", "args": [ "-y", "@pnp/cli-microsoft365-mcp-server" ] } } }

7 TOOLS AVAILABLE

list_sites
List SharePoint sites in the Microsoft 365 tenant
Read
list_teams
List Microsoft Teams the user has access to
Read
list_channels
List channels within a Microsoft Team
Read
list_users
List users in the tenant via Microsoft Graph
Read
list_groups
List Microsoft 365 groups
Read
send_message
Send a message to a Teams channel
Admin

OUR ASSESSMENT

Strengths
  • Backed by the Microsoft Patterns and Practices project.
  • 104 GitHub stars and MIT license.
  • 2 commits on main in the last 30 days.
  • Wraps the mature m365 CLI; full M365 surface available via execute_cli.
  • Covers SharePoint, Teams, OneDrive, Microsoft Graph in one MCP.
Weaknesses
  • Microsoft 365 tenant required; not a self-hosted MCP.
  • execute_cli is broad; agent prompt path needs review for destructive commands.
  • Authentication runs through the m365 CLI; refresh tokens periodically.
Security Notes

m365 CLI authentication is account- or app-registration-scoped. Use a dedicated app registration with the minimum Graph permissions the agent needs. execute_cli surfaces destructive commands; restrict the agent system prompt or whitelist the safe command set in operator configuration.

Best For

Microsoft 365 administrators adopting agent-driven workflows; teams running tenant-wide automation that needs SharePoint and Teams access; PnP CLI users who want their existing scripts available inside Claude Desktop or Cursor.

TECHNICAL DETAILS

Language
typescript
Transport
stdio
Clients
Claude DesktopClaude CodeCursorVS CodeWindsurf
License
MIT
npm
@pnp/cli-microsoft365-mcp-server
Last Release
@pnp/cli-microsoft365-mcp-server (npm latest)MAY 6, 2026
First Released
JUN 1, 2025

ADOPTION METRICS

// GitHub Stars
104

// Reading this104 stars on pnp/cli-microsoft365-mcp-server. 2 commits on main in the last 30 days.

// Popularity Rank
#3
Globally · #3 in Productivity

// Reading thisPairs with Notion, Atlassian, Asana, Trello, Salesforce, Google Workspace MCPs in productivity. Microsoft 365 surface is unique in the directory.

SOURCES & VERIFICATION

We don't take any single directory's word for it. Before scoring, we cross-reference 5 public MCP sources, install the server ourselves against the clients we cover, and record when we last re-verified.

01
Discovered
Manual submission
First indexed MAY 6, 2026
02
Cross-referenced
5 directories
PulseMCP, MCP.so, Glama, Smithery, Official MCP Registry
03
Verified against
Claude Desktop, Cursor
Installed and tested across clients
04
Last re-checked
MAY 6, 2026
Weekly re-verification
// How other directories see it

The same server, 5 different lenses. We reconcile these signals into our editorial score, which is why our number sometimes diverges from a directory-aggregate star count.

SourceTheir ratingTheir star countTheir downloadsLast synced
AutomationSwitch This page4.3editorial104MAY 6, 2026
PulseMCP— unratedunavailableunavailableMAY 6, 2026
MCP.so— unratedunavailableunavailableMAY 6, 2026
Glama— unratedunavailableunavailableMAY 6, 2026
Smithery— unratedunavailableunavailableMAY 6, 2026
Official MCP Registry— unratedunavailableunavailableMAY 6, 2026

// Counts are directory-reported; we don't adjust them. Discrepancies usually come from different snapshot times or star-caching.

OTHER PRODUCTIVITY MCP SERVERS

Community4.5

Excel MCP Server

Haris Musa

Manipulate Excel files locally or remotely with zero Microsoft Excel installation required. Three transport modes (stdio, SSE deprecated, Streamable HTTP recommended) and full coverage of formulas, formatting, charts, pivot tables, and conditional formatting. 3,767 stars.

8 tools3,767
Community4.5

Google Workspace MCP

Taylor Wilsdon

Most feature-complete Google Workspace MCP available. One server covers Gmail, Calendar, Drive, Docs, Sheets, Slides, Forms, Tasks, Contacts, Apps Script, Chat, and Custom Search. OAuth 2.1 multi-user support, stateless mode, and an MIT license with no CLA.

12 tools2,233
Community4.5

LinkedIn MCP

stickerdaniel (community)

Open-source MCP server for LinkedIn. Profiles, companies, jobs, and messages exposed to AI agents. 1,773 GitHub stars and 100 commits on main in the last 30 days. Top star count and top cadence in the productivity category.

6 tools1,773
Community4.4

Obsidian MCP Tools

jacksteamdev

Obsidian MCP with semantic search via embeddings and custom Templater prompts. Distinct from the existing cyanheads/obsidian-mcp-server entry: this one focuses on search-and-retrieval workflows; the existing one focuses on vault read/write/edit. 797 stars and 8 commits on main in the last 30 days.

6 tools797
Community4.4

Canvas LMS MCP

vishalsachdev

Canvas LMS MCP with 80+ tools and 5 agent skills for students and educators. v1.3.0 released. FERPA-compliance documentation for educators; data-stays-private guidance for students. Hosted server option plus local install.

8 tools119
Community4.3

Obsidian MCP Server

cyanheads

Obsidian vault MCP server with read, write, search, and surgical edit tools via the Local REST API plugin. 14 tools, three search modes (text, Dataview DQL, JSONLogic), STDIO and Streamable HTTP transports.

7 tools481
// Get in touch

DISCUSS YOUR
MCP REQUIREMENTS.

Evaluating a server, scoping an internal deployment, or working out whether MCP is the right fit at all. Start the conversation and we will point you at the right piece of the ecosystem.

Discuss Your MCP Requirements →