Skills/npm/cli-microsoft365-mcp-server

cli-microsoft365-mcp-server@0.1.28

VERIFIED

Publisher claims: "Model Context Protocol (MCP) server for CLI for Microsoft 365 that allows to use natural language to manage your Microsoft 365 tenant." Observed in sandbox: no network, touches nothing outside the project, writes no memory.

Registry npm (MCP server)Publisher pnp · publishing for 507 daysInstalls 6,160Last detonated 13 min ago
$claude mcp add cli-microsoft365-mcp-server -- npx -y @pnp/cli-microsoft365-mcp-server
WatchReport an issue

Coverage

Server started and answered tools/list.
Tested
MCP initialize and tools/list · every tool description, for hidden instructions · every file read, file written and host contacted by what ran
Not tested
what the tools do when called with real credentials

Before you give it your token

It will ask for
no credential variables read in the code
Where it talks to
no vendor host named in the codeAlso githubusercontent.com — not the publisher's domain; check what for before connecting.
What we saw when it ran
no credential files read · no network
What we could not test
what the tools do when called with real credentials

Connect it under the guard; read the third-party hosts first. The code names githubusercontent.com as well as its own vendor. The guard pins the network to the hosts the honeypot saw.

$vet-skills run --net declared -- npx -y @pnp/cli-microsoft365-mcp-server

Never paste a credential into a chat, a ticket or a report, including ours. How the guard holds it.

What changed since 0.1.26

vet-skills diff cli-microsoft365-mcp-server 0.1.26 0.1.28

In the sandbox, this version reached for nothing 0.1.26 did not. Compared from the two recorded runs, not from source.

Tool descriptor hashes were not recorded for both runs; renamed or added tools are compared, rewritten descriptions are not.

The guard can hold an update like this until someone approves it (runtime.on_change: hold). A change that only shows with a real credential, or on a path the run did not reach, is not in a trace and so not in this comparison.

Is [email protected] safe to install?

KillerSkills ran it in the KillerSkills honeypot sandbox (2 scenarios) on 2026-11-23 and scored it 89/100 (Verified). It did what it claims and nothing else we could detect: no undeclared network egress, no credential reads, no persistent instruction writes. Summary: no network, touches nothing outside the project, writes no memory.

Behavior trace

Honeypot run · 28 s · 2 scenarios · 0 deviations
t+CategoryObserved action
0.0sprocessno install scripts in bundle
7.7sprocessdependency install exit 0
28sclaimed4 tools: m365_search_commands, m365_get_command_docs, m365_run_command, m365_get_best_practices
28stoolsd06e7327a460fc58
28stools786d2fc6d943cf33
28stools4e46df81310cda8f
28stoolsca9bbecfc680ec6d
28sprocessscript backend runs setup only
28sprocessno install scripts to re-run

Static findings

MEDIUM
Destructive file system command detectedtest/util.test.js:178 · Destructive file system command detected'm365 spo site get; rm -rf /',Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
File type combined with upload actiontest/util.test.js:235 · File type combined with upload action — agent may exfiltrate local data filesassert.equal(spawnCalls[0].command, 'm365 spo file get --output-file file.txt --output json');Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.
AST07
LOW
Prompt injectionREADME.md:122 · Prompt injection — known jailbreak technique reference · informational: not an instruction fileNote: If you don't see the Developer tab, you need to enable it first from Help > Enable Developer Mode.Fix: Keep SKILL.md to visible, descriptive text. Remove comments and encoded text that address the agent.
AST01
LOW
Context shift attemptREADME.md:122 · Context shift attempt — trying to change operational mode · informational: not an instruction fileNote: If you don't see the Developer tab, you need to enable it first from Help > Enable Developer Mode.Fix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.
AST01
MEDIUM
npx invocation of non-well-known packagepackage.json:39 · npx invocation of non-well-known package — may execute untrusted code"inspect": "npx -y @modelcontextprotocol/inspector node dist/index.js"Fix: Pin versions and sources; vendor anything fetched at install time.
AST06
MEDIUM
Destructive command against a filesystem root or devicetest/util.test.js:178 · Destructive command against a filesystem root or device'm365 spo site get; rm -rf /',Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
LOW
Authorization escalation languageREADME.md:122 · Authorization escalation language · informational: not an instruction fileNote: If you don't see the Developer tab, you need to enable it first from Help > Enable Developer Mode.Fix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.
AST01

Cost to the agent

Instructions loaded
≈79 tok
1 file · 13 in bundle
Tool list per prompt
≈481 tok
4 tools · 120 per tool
Handshake
471 ms
launch to tools/list, stdio
Undocumented tools
0
description under 20 chars · avg 176

Tokens estimated at four characters each. The tool list is re-read by the agent on every turn, so it is the number to compare between servers that do the same job: ranked across the index.

Known vulnerabilities

Not checked against OSV yet; the weekly check has not reached this version.