What runtime and dependencies are required?
Node.js 20.x or higher and a global installation of CLI for Microsoft 365 (`@pnp/cli-microsoft365`) are required.
@pnp
Basic information
Manage Microsoft 365 using MCP server
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"CLI-Microsoft365": {
"command": "npx",
"args": [
"-y",
"@pnp/cli-microsoft365-mcp-server@latest"
]
}
}
}Searches CLI for Microsoft 365 commands using fuzzy search based on a query string. Use this tool first to find relevant commands before getting full command documentation.
Gets documentation for a specified CLI for Microsoft 365 command to be used by the Model Context Protocol to provide detailed information about the command along with examples, use cases, and option descriptions
Runs a specified CLI for Microsoft 365 command to be used by the Model Context Protocol to execute the command and return the result and reason over the response
Gets best practices for using CLI for Microsoft 365 in scripts, including guidance on authentication checking, error handling, output handling, and configuration
An MCP server that lets you manage Microsoft 365 services using natural language. It translates prompts into CLI for Microsoft 365 commands, covering Entra ID, OneDrive, OneNote, Outlook, Planner, Power Apps, Power Automate, Power Platform, SharePoint Online, Teams, Viva Engage, and more. Best results are achieved with Claude Sonnet 4 or Claude Sonnet 3.7.
npm i -g @pnp/cli-microsoft365).m365 setup, then log in with m365 login.m365 cli config set --key prompt --value false, --key output --value text, --key helpMode --value full.npx -y @pnp/cli-microsoft365-mcp-server@latest.m365SearchCommandsm365GetCommandDocsm365RunCommand and see resultsm365GetBestPracticesNode.js 20.x or higher and a global installation of CLI for Microsoft 365 (`@pnp/cli-microsoft365`) are required.
The MCP server does not handle authentication. You must first authenticate using `m365 login` in CLI for Microsoft 365; the server then reuses that authenticated context.
It can manage Entra ID, OneDrive, OneNote, Outlook, Planner, Power Apps, Power Automate, Power Platform, SharePoint Embedded, SharePoint Online, Teams, Viva Engage, and many other areas covered by CLI for Microsoft 365.
The server communicates over stdio using a command‑based interface. It is added to MCP clients as a `stdio` type with the command `npx -y @pnp/cli-microsoft365-mcp-server@latest`.
Yes. Set CLI configuration to `prompt false`, `output text`, and `helpMode full` so the server receives maximum detail when errors or unexpected results occur.

Agent-Native Terminal
CronWatch records every run of your scheduled jobs in your own database, and speaks up when one is missed, fails, gets stuck, runs slow or costs too much. CronWatch is free and open-source.

Routebase keeps your API's design, docs, contract tests, mocks and monitoring in one living OpenAPI spec so they can't drift apart. Agents work on that same source of truth, under your team's permissions.
Query your team's drift, vulnerability, and migration data from any AI assistant. Vibgrate MCP connects Cursor, Claude, ChatGPT, Windsurf, or VS Code to Vibgrate Cloud: 51 tools for DriftScores, CVEs and EOL runtimes, up

MCP server for AI Agents — exposes Yocoolab feedback threads and design selections as tools
Comments