
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
pnp/cli-microsoft365-mcp-server は、https://github.com/pnp/cli-microsoft365-mcp-server. からインポートされたMCPサーバー候補です。
概要
pnp/cli-microsoft365-mcp-server は、https://github.com/pnp/cli-microsoft365-mcp-server. からインポートされたMCPサーバー候補です。
概要(AI 翻訳)
Microsoft 365 MCP Server用のCLI
💡 説明
このMCPサーバーは、自然言語を使ってMicrosoft 365の任意のCLIコマンドを実行できるようにします。Microsoft 365のコマンドに対して、ユーザーのリクエストを満たそうとするCLIの連鎖として複雑なプロンプトを処理することもあります。これにより、Entra ID、OneDrive、OneNote、Outlook、Planner、Power Apps、Power Automate、Power Platform、SharePoint Embedded、SharePoint Online、Teams、Viva Engageなど、Microsoft 365の多くの異なる領域を管理できます。
最良の結果を得るには、Claude Sonnet 4またはClaude Sonnet 3.7と一緒に使うのが良いでしょう。
📦 前提条件
- Node.js 20.x以上
- Microsoft 365用CLIはグローバルにインストールされています(
npm i -g @pnp/cli-microsoft365)
🚀 設置と利用
👉 Microsoft 365 MCPサーバーガイドのCLIをご覧ください
👉 Getting Startedの録音🎬をチェックしてみてください
このMCPサーバーは、Microsoft 365のグローバルインストールCLIを使用しており、npm i -g @pnp/cli-microsoft365を使ってグローバルにインストールする必要があります。
Microsoft 365用のCLIをインストールした後、以下を実行して初期設定を行います:
詳細については、Microsoft 365へのログインをご参照ください
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
CLI for Microsoft 365 MCP Server
💡 Description
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…
For best results, use it with Claude Sonnet 4 or Claude Sonnet 3.7.
📦 Prerequisites
- Node.js 20.x or higher
- CLI for Microsoft 365 installed globally (
npm i -g @pnp/cli-microsoft365)
🚀 Installation & Usage
👉 Check out the CLI for Microsoft 365 MCP Server Guide
👉 Check out the Getting Started recording 🎬
This MCP server uses the globally installed CLI for Microsoft 365 that you need to install globally using npm i -g @pnp/cli-microsoft365.
After you install the CLI for Microsoft 365 perform the initial setup by running the:
m365 setup
For more information, please follow the Log in to Microsoft 365
After you set up the CLI for Microsoft 365, please update its configuration using the following commands:
m365 cli config set --key prompt --value false
m365 cli config set --key output --value text
m365 cli config set --key helpMode --value full
This will ensure that the MCP server will get as much information as possible from the CLI for Microsoft 365 when an error occurs or when a command is not executed properly.
インストール
npx -y @pnp/cli-microsoft365-mcp-server@latest設定
{
"mcpServers": {
"CLI-Microsoft365": {
"command": "npx",
"args": ["-y", "@pnp/cli-microsoft365-mcp-server@latest"]
}
}
}