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
基本情報
Manage Microsoft 365 using MCP server
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"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.

MCP-first toolbox for agents: namespaced key-value storage, a FIFO queue, auth, and a handful of stateless utility tools (JWT decode, hashing, cert inspection, CIDR math). Free while in early access. This repository is a
Modelglass turns "which model should I use?" into a lookup instead of a guess. Seven tools give your agent live pricing across image, language, video, and audio models. Sourced and versioned, not scraped once and forgott
Gives AI agents public URLs (tunnels) for localhost, live HTTP traffic inspection, snapshot publishing, and access control. Part of LocalCan, the ngrok alternative for Mac, Windows and Linux. Free plan.

Automated codebase documentation for GitHub: searchable docs, MCP context for AI agents, doc drift detection, and Friday Cleanup PRs.
OrangePro local-first CLI + MCP server for behavior mapping, grounded test generation, and dynamic proof.
コメント