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).
We read the source, 7 d ago · rules 995398eba69f
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.
execSync(
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.
execSync(
Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.
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.
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.
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
{
"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>"
}
}
}
}
[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>" }
{
"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>"
}
}
}
}
{
"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).
Task automation via SQLite, desktop Local API, or Mindwtr Cloud; read-only by default.
Safe Kubernetes access for AI agents via MCP. Read-only by default, with explicit permission modes.
MCP server for Microsoft Entra ID sign-in and audit-log triage (read-only by default)
Microsoft 365 Outlook mail via Graph: read, search, send, reply, forward, draft, move, delete.
Microsoft Ads MCP server: 11 tools for search, PMax, Google Ads imports. Read-only by default.
Microsoft 365 OneDrive files via Graph: list, search, get, upload, download, share, read text.
Microsoft 365 Teams via Graph: list chats, read/send messages, list teams/channels, presence.
Query Clinical.ly clinical-research data via read-only API tools using your OAuth permissions.
Answers built from our own checks of this server.