cli-microsoft365-mcp-server

CLI Microsoft365 MCP Server

Manage Microsoft 365 through natural-language requests backed by its CLI. For people administering SharePoint, Teams, Planner, and other Microsoft 365 services, the server exposes command discovery, documentation, execution, and scripting guidance through MCP.

Server facts

cli-microsoft365-mcp-server

Tech

Runtime / language
node
Transports
stdio
Remote available
No
Authentication
Not specified

Activity

GitHub stars
133
Last commit
Data as of

Tags

  • cli
  • mcp server
  • microsoft365

Overview

SharePoint list setup, Teams welcome posts, Planner task creation, and Power Automate flow control are among the workflows supported through this project's connection to the Microsoft 365 CLI. Natural-language requests can lead to individual commands or attempted command sequences for more involved tasks. The tool workflow starts with m365_search_commands to locate relevant operations, followed by m365_get_command_docs for options and examples. m365_run_command executes the selected operation and returns its result, while m365_get_best_practices supplies scripting guidance covering authentication checks, errors, output, and configuration.

The server relies on a globally installed CLI and reuses its existing authentication context; it does not sign users in itself. Setup therefore includes configuring the CLI and authenticating before invoking tools through an MCP client. It communicates over stdio, with setup guidance for VS Code, GitHub Copilot CLI, Claude Desktop, and Cursor. The repository also provides GitHub Copilot skills for interactive CLI work and PowerShell automation, including batch operations and CSV processing. These complement the server's command-oriented workflow for people managing Microsoft 365 services.

cli-microsoft365-mcp-server setup notes

  • cli-microsoft365-mcp-server records stdio only; confirm a network transport upstream before planning remote access.

Related MCP servers