CLI Microsoft365 MCP Server
MCP server for CLI for Microsoft 365 to manage your tenant using natural language
Connector by pnp · GitHub account verified by the MCP Registry
Install
Works with Claude Code, Codex, VS Code, Cursor, Windsurf, Claude Desktop. Read the repository before you give any tool access to your data.
npx agentmarket install connector/pnp-cli-microsoft365-mcp-server
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: cloud-management
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this server can do and what it asks for, from its tool list, install config and code. Checked Oct 25, 2026.
- Tools
- 3 read · 0 write · 1 delete
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Node.js package
Tools by what they do 4
Read from the source code; the running server may list different tools.
Read 3 · Look things up without changing anything.
m365_get_best_practicesm365_get_command_docsm365_search_commands
Delete 1 · Delete, drop, revoke or wipe things.
m365_run_command
Network hosts it talks to 3
github.com· found in codeglama.ai· found in coderaw.githubusercontent.com· found in code
Tools (4)
Read from the source code; the running server may differ. Descriptions are the server’s own words; hidden characters are shown as [U+…].
m365_get_best_practicesRetrieve CLI for Microsoft 365 best practicesGets best practices for using CLI for Microsoft 365 in scripts, including guidance on authentication checking, error handling, output handling, and configuration
m365_get_command_docsRetrieve CLI for Microsoft 365 command docsGets 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
m365_run_commandExecute CLI for Microsoft 365 commandRuns 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
m365_search_commandsSearch CLI for Microsoft 365 commandsSearches 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.
Signals
- Stars
- 135
- Forks
- 29
- Open issues
- 3
- Contributors
- 2
- Last commit
- Oct 12, 2026 (16 days ago)
- Last release
- May 22, 2026 (5 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- Registry name
io.github.pnp/cli-microsoft365-mcp-server- Version
- 0.1.22
- Auth
- No auth
- Packages
- npm @pnp/cli-microsoft365-mcp-server
- License
- MIT
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
More from pnp
Cite this page
CLI Microsoft365 MCP Server. Agent Mart. https://agentmart.dev/connectors/pnp-cli-microsoft365-mcp-server (last updated 2026-10-24)