Skills/Glama/microsoft365-mcp-server

microsoft365-mcp-server@0.0.0

VERIFIED· install only

Publisher claims: "An MCP server that lets an AI assistant work in a user's Microsoft 365: mail, calendar, contacts, OneDrive and SharePoint files, Teams chats and channels, Planner, OneNote and To Do, all through Microsoft Graph. It signs in as the user (delegated OAuth), so it reaches only what that user can already reach. Run it locally over stdio, or host it as a remote server with per-user sign-in." In our sandbox: Bundled scripts ran with no arguments; no agent task scenario for this bundle.

Registry GlamaPublisher sapientsai · publishing for 319 daysInstalls 0Last detonated 3d ago
$npx skills add microsoft365-mcp-server
WatchReport an issue

Coverage

Bundled scripts ran with no arguments; no agent task scenario for this bundle.
Tested
5 of 5 bundled scripts run with no arguments, with decoy credentials in the environment · every file read, file written and host contacted by what ran
Not tested
use of the skill by an agent

What this means for the label: Verified here covers what ran. The server's tools were not exercised with a real credential, so nothing about their behavior is asserted; the credential summary below says what to do with that.

Behavior

In our sandbox run on 2026-11-22, [email protected] read no files and called no hosts, and its code names 40 environment variables. Coverage: install only.

Files read

None recorded.

Hosts called

None recorded.

Environment variables its code names

AZURE_AI_SEARCH_API_KEY, AZURE_AI_SEARCH_ENDPOINT, AZURE_AI_SEARCH_INDEX, AZURE_AI_SEARCH_SELECT_FIELDS, AZURE_AI_SEARCH_SEMANTIC_CONFIG, AZURE_AI_SEARCH_VECTOR_FIELDS, FASTMCP_HOST, GIT_HASH, GRAPH_ENABLE_DOWNLOAD_FILE, GRAPH_SEARCH_REGION, MCP_API_KEY, MCP_INSTRUCTIONS, MCP_PUBLIC_BASE_URL, MCP_STATELESS, MS365_ACCESS_TOKEN, MS365_ALLOWED_MAILBOXES, MS365_AUTH_MODE, MS365_CERT_PASSWORD, MS365_CERT_PATH, MS365_CLIENT_ID, MS365_CLIENT_SECRET, MS365_DISABLE_SIGN_IN, MS365_ENABLED_TOOLS, MS365_EXTRA_SCOPES

16 more in behavior.json

Names only, read from the code. We never hold a value.

Tools offered

No tool list recorded.

Changes since the prior version

No prior version with a result to compare.

What we did not test

  • use of the skill by an agent
Run date2026-11-22
Coverageinstall only
Engine1.9.2, script@linux
Reproducenpx -y vet-skills try microsoft365-mcp-server
This recordbehavior.json, behavior.md, signed attestation

This is a record of what one version did in the runs we made. It is evidence, not a certificate.

Before you give it your token

It will ask for
AZURE_AI_SEARCH_API_KEYMCP_API_KEYMS_GRAPH_CLIENT_SECRETMS365_ACCESS_TOKENMS365_AUTH_MODEMS365_CERT_PASSWORDMS365_CLIENT_SECRETMS365_OAUTH_BASE_URLMS365_TOKEN_CACHEMS365_TOKEN_CACHE_PATHMS365_UPLOAD_TOKENConfiguration, not credentials: AZURE_AI_SEARCH_ENDPOINT, AZURE_AI_SEARCH_INDEX, AZURE_AI_SEARCH_SELECT_FIELDS, AZURE_AI_SEARCH_SEMANTIC_CONFIG, AZURE_AI_SEARCH_VECTOR_FIELDS, FASTMCP_HOST, GIT_HASH, GRAPH_ENABLE_DOWNLOAD_FILE, GRAPH_SEARCH_REGION, MCP_INSTRUCTIONS, MCP_PUBLIC_BASE_URL, MCP_STATELESS, MS_GRAPH_APP_SCOPES, MS_GRAPH_CLIENT_ID, MS_GRAPH_TENANT_ID, MS365_ALLOWED_MAILBOXES, MS365_CERT_PATH, MS365_CLIENT_ID, MS365_DISABLE_SIGN_IN, MS365_ENABLED_TOOLS, MS365_EXTRA_SCOPES, MS365_GRAPH_CIRCUIT_DISABLED, MS365_ORG_MODE, MS365_PRESETS, MS365_PUBLIC_BASE_URL, MS365_READ_ONLY, MS365_REDIRECT_URI, MS365_TENANT_ID, MS365_USE_DEVICE_CODE
Where it talks to
no vendor host named in the codeAlso microsoft.com, request.invalid, microsoftonline.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
use of the skill by an agent

Connect it with a scoped credential, under the guard, and read the third-party hosts first. The code names microsoft.com, request.invalid, microsoftonline.com as well as its own vendor. The guard injects AZURE_AI_SEARCH_API_KEY, MCP_API_KEY, MS_GRAPH_CLIENT_SECRET, MS365_ACCESS_TOKEN, MS365_AUTH_MODE, MS365_CERT_PASSWORD, MS365_CLIENT_SECRET, MS365_OAUTH_BASE_URL, MS365_TOKEN_CACHE, MS365_TOKEN_CACHE_PATH, MS365_UPLOAD_TOKEN only into requests to the host you bind (and its subdomains) and refuses the rest.

$vet-skills run --net declared -- <the server's command>

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

Is [email protected] safe to install?

KillerSkills ran it in the KillerSkills honeypot sandbox (2 scenarios; bundled scripts ran with no arguments; no agent task scenario for this bundle) on 2026-11-22 and scored it 83/100 (Verified). In what ran, nothing we could detect went wrong: no undeclared network egress, no credential reads, no persistent instruction writes. What it does with a real credential was not observed; the static findings and the publisher carry the rest of the score. Summary: no network, touches nothing outside the project, writes no memory.

Behavior trace

Honeypot run · 1 s · 2 scenarios · 0 deviations
t+CategoryObserved action
0.0sprocessno install scripts in bundle
0.0sprocessbundled script run in the sandbox with no arguments · not named in the instructions
0.1sprocessexited 1: Node.js v22.23.5
0.1sprocessbundled script run in the sandbox with no arguments · not named in the instructions
0.2sprocessexited 1: Node.js v22.23.5
0.2sprocessbundled script run in the sandbox with no arguments
0.3sprocessexited 1: (Use `node --trace-warnings ...` to show where the warning was created)
0.3sprocessbundled script run in the sandbox with no arguments
0.4sprocessexited 1: ✗ /tmp/ks-detonate-uJ5EF5/scripts/home/work/acme-api/.claude/skills/microsoft365-mcp-server/packages/microsoft365/dist/bin.js is missing — run `pnpm build` first.
0.4sprocessbundled script run in the sandbox with no arguments · not named in the instructions
0.6sprocess5 of 5 bundled scripts run with no arguments
0.6sprocessscript backend runs setup only
0.6sprocessscript backend runs setup only
0.6sprocessno install scripts to re-run

Static findings

HIGH
Access to sensitive file pathspackages/microsoft365/scripts/smoke-live.mjs:44 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files// The server loads .env from its working directory, so it runs from the repo root.Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathspackages/core/src/utils/env-file.ts:5 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files// pass configuration as real environment variables and have no .env, which is the normal case,Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathspackages/core/src/utils/env-file.ts:11 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesexport const loadEnvFileIfPresent = (path: string = ".env"): void => {Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
MEDIUM
File type combined with upload actionpackages/core/src/upload/attachment-upload.ts:191 · File type combined with upload action — agent may exfiltrate local data filesconst session = (await response.json()) as { uploadUrl?: string }Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.
AST07
MEDIUM
MCP server using network transport (SSE/HTTP)SKILL.md:5 · MCP server using network transport (SSE/HTTP) — data sent over networkMCP server sapientsai/microsoft365-mcp-server on Glama, built from https://github.com/sapientsai/microsoft365-mcp-server.Fix: Namespace tool names and keep tool descriptions literal; no instructions to the agent inside them.
AST04
HIGH
Access to sensitive file pathspackages/microsoft365/scripts/smoke-live.mjs:14 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files// browser completes. Credentials come from the repo-root .env (MS365_CLIENT_ID, MS365_TENANT_ID, ...)Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
MEDIUM
File type combined with upload actionpackages/core/src/upload/upload.ts:152 · File type combined with upload action — agent may exfiltrate local data filesconst session = (await createResponse.json()) as { uploadUrl: string }Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.
AST07
MEDIUM
npx invocation of non-well-known packagepackages/microsoft365/package.json:44 · npx invocation of non-well-known package — may execute untrusted code"start": "pnpm build && npx microsoft365-mcp-server",Fix: Pin versions and sources; vendor anything fetched at install time.
AST06
LOW
Instructs the agent to modify its persistent memory or instruction filespackages/core/src/resilience.ts:27 · Instructs the agent to modify its persistent memory or instruction files · informational: not an instruction file* and advance upload sessions. See AGENTS.md, "Graph write safety".Fix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.
AST01
HIGH
Access to sensitive file pathspackages/core/src/utils/env-file.ts:4 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files// Loads ./.env into process.env, for local runs. Docker and an npm install under Claude DesktopFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05

Cost to the agent

Instructions loaded
≈45 tok
1 file · 81 in bundle

Tokens estimated at four characters each. Skills load their instruction text when triggered; the figure is what that costs.

Known vulnerabilities

Vulnerability advisories (OSV) cover npm and PyPI packages; this registry has no advisory database.