mcpbeat Sign in

Microsoft 365 Admin MCP Server

local only

Microsoft 365 Admin runs on your own machine — the client starts it, so there is no endpoint to ping. 91 installs a week from npm. Last commit 19 Oct 2026.

Microsoft 365 administration via Graph API application permissions (read-only by default).

Installs per day peak 35 · avg 10 · +3% w/w
a month agotoday
91
Installs / week
npm · @okapi-ca/ms-365-admin-mcp-server
19
Stars
1 open issue
19 Oct 2026
Last commit
2 releases in 90 days
MIT
License
TypeScript

What the code does

We read the source, 7 d ago · rules 995398eba69f

Evidence

Things with no honest explanation: a promise that contradicts the code, code that runs at install time while hiding what it does, data leaving the machine.

Claims read-only, but the code runs commands bin/modules/generate-mcp-tools.mjs:19, src/auth-bootstrap.ts:251
    execSync(
Capabilities

What this server is able to do. For an MCP server this is often the job itself — a terminal server runs commands because that is what it is for. Listed so you know what you are plugging in, not as an accusation.

Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.

We found things in this code

Code changes quietly between releases, and nobody reads the diff of a dependency. We do, on every release — watch Microsoft 365 Admin and you get told the day something new turns up.

Three servers free · no card

Connect this server

This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.

run in your terminal
claude mcp add ms-365-admin -e 'MS365_ADMIN_MCP_TENANT_ID=<MS365_ADMIN_MCP_TENANT_ID>' -e 'MS365_ADMIN_MCP_CLIENT_ID=<MS365_ADMIN_MCP_CLIENT_ID>' -e 'MS365_ADMIN_MCP_CLIENT_SECRET=<MS365_ADMIN_MCP_CLIENT_SECRET>' -- npx -y @okapi-ca/ms-365-admin-mcp-server
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "ms-365-admin": {
      "command": "npx",
      "args": [
        "-y",
        "@okapi-ca/ms-365-admin-mcp-server"
      ],
      "env": {
        "MS365_ADMIN_MCP_CLIENT_ID": "<MS365_ADMIN_MCP_CLIENT_ID>",
        "MS365_ADMIN_MCP_CLIENT_SECRET": "<MS365_ADMIN_MCP_CLIENT_SECRET>",
        "MS365_ADMIN_MCP_TENANT_ID": "<MS365_ADMIN_MCP_TENANT_ID>"
      }
    }
  }
}
~/.codex/config.toml
[mcp_servers.ms-365-admin]
command = "npx"
args = ["-y", "@okapi-ca/ms-365-admin-mcp-server"]
env = { MS365_ADMIN_MCP_TENANT_ID = "<MS365_ADMIN_MCP_TENANT_ID>", MS365_ADMIN_MCP_CLIENT_ID = "<MS365_ADMIN_MCP_CLIENT_ID>", MS365_ADMIN_MCP_CLIENT_SECRET = "<MS365_ADMIN_MCP_CLIENT_SECRET>" }
.cursor/mcp.json
{
  "mcpServers": {
    "ms-365-admin": {
      "command": "npx",
      "args": [
        "-y",
        "@okapi-ca/ms-365-admin-mcp-server"
      ],
      "env": {
        "MS365_ADMIN_MCP_CLIENT_ID": "<MS365_ADMIN_MCP_CLIENT_ID>",
        "MS365_ADMIN_MCP_CLIENT_SECRET": "<MS365_ADMIN_MCP_CLIENT_SECRET>",
        "MS365_ADMIN_MCP_TENANT_ID": "<MS365_ADMIN_MCP_TENANT_ID>"
      }
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "ms-365-admin": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@okapi-ca/ms-365-admin-mcp-server"
      ],
      "env": {
        "MS365_ADMIN_MCP_CLIENT_ID": "<MS365_ADMIN_MCP_CLIENT_ID>",
        "MS365_ADMIN_MCP_CLIENT_SECRET": "<MS365_ADMIN_MCP_CLIENT_SECRET>",
        "MS365_ADMIN_MCP_TENANT_ID": "<MS365_ADMIN_MCP_TENANT_ID>"
      }
    }
  }
}

Put your own values in place of <MS365_ADMIN_MCP_TENANT_ID> (Azure AD tenant ID (specific GUID, not 'common')), <MS365_ADMIN_MCP_CLIENT_ID> (App registration client ID with the required application permissions), <MS365_ADMIN_MCP_CLIENT_SECRET> (App registration client secret. Prefer Azure Key Vault via MS365_ADMIN_MCP_KEYVAULT_URL for production). The author’s registry entry marks them as required.

Optional settings from the registry entry, left out of the block above: MS365_ADMIN_MCP_KEYVAULT_URL (Optional Azure Key Vault URL. When set, secrets are pulled from the vault and override the env-var values above), MS365_ADMIN_MCP_CLOUD_TYPE (Cloud environment: 'global' (default) or 'china' (21Vianet)), MS365_ADMIN_MCP_MAX_TOP (Cap on the $top query parameter to limit result size), READ_ONLY (Set to 'true' or '1' to force read-only mode (default behavior; mutations require --allow-writes)), ENABLED_TOOLS (Regex to filter the catalog of available tools).

Alternatives to Microsoft 365 Admin

same job, measured the same way
Mindwtr
by dongdongbh

Task automation via SQLite, desktop Local API, or Mindwtr Cloud; read-only by default.

723 installs/wk local only
K8s MCP Server (Go)
by kaneg

Safe Kubernetes access for AI agents via MCP. Read-only by default, with explicit permission modes.

local only
entraadm MCP
by shigechika

MCP server for Microsoft Entra ID sign-in and audit-log triage (read-only by default)

4 200 installs/wk local only
Microsoft 365 Mail
by mindstone

Microsoft 365 Outlook mail via Graph: read, search, send, reply, forward, draft, move, delete.

290 installs/wk local only
Microsoft Ads MCP by AdPlug
by danielpopamd

Microsoft Ads MCP server: 11 tools for search, PMax, Google Ads imports. Read-only by default.

answering
Microsoft 365 Files
by mindstone

Microsoft 365 OneDrive files via Graph: list, search, get, upload, download, share, read text.

68 installs/wk local only
Microsoft 365 Teams
by mindstone

Microsoft 365 Teams via Graph: list chats, read/send messages, list teams/channels, presence.

305 installs/wk local only
Clinical.ly Research Suite
by clinical-api-prod

Query Clinical.ly clinical-research data via read-only API tools using your OAuth permissions.

answering

Microsoft 365 Admin — questions

Answers built from our own checks of this server.

Why is there no uptime for Microsoft 365 Admin?
Microsoft 365 Admin runs on your own machine over stdio — there is no network address to reach, so uptime cannot be measured for it by anyone. What can be measured is adoption: the npm package @okapi-ca/ms-365-admin-mcp-server was installed 91 times last week.
How do I connect Microsoft 365 Admin?
Copy the ready config from this page. We generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each in the form that client actually reads. It runs locally, so the command pulls @okapi-ca/ms-365-admin-mcp-server straight from npm; nothing to host, nothing to sign up for.
How many people use Microsoft 365 Admin?
The npm package @okapi-ca/ms-365-admin-mcp-server was installed 91 times in the last week. Week over week that is +3%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is Microsoft 365 Admin open source?
Yes — it is published under the MIT licence, written in TypeScript, 19 stars on GitHub and 1 open issue. The source link is on this page, so you can read exactly what it does with your data before you connect it.