Back to Home
pnp icon

cli-microsoft365-mcp-server

by pnp

Overview

Allows natural language interaction to execute CLI for Microsoft 365 commands for managing Microsoft 365 services.

Installation

Run Command
npx -y @pnp/cli-microsoft365-mcp-server@latest

Security Notes

The server directly executes commands provided by the Language Model (LLM) using `child_process.spawn` with `shell: true`. This means any malicious or unconstrained input from the LLM could lead to arbitrary command execution on the host system, posing a severe command injection vulnerability. There is no evident sanitization or validation of the 'command' argument before execution.

Similar Servers

Stats

Interest Score47
Security Score1
Cost ClassMedium
Avg Tokens1000
Stars55
Forks13
Last Update2025-12-14

Tags

Microsoft 365AI AssistantCLI AutomationNatural Language ProcessingModel Context Protocol