Microsoft 365 Admin MCP Server
A Model Context Protocol (MCP) server for Microsoft 365 administration via Graph API application permissions (client credentials). Its 40 documented tools cover user, report, security, attack. It runs locally over stdio via the published package.
People connecting security tools to Claude, Cursor, VS Code, or another MCP client. The project is written in TypeScript.
VERIFIED ACTIVE
LAST COMMIT 2026-08-24 · ★ 11 · #34 OF 182 MAINTAINED SECURITY · VERIFIED 2026-08-25
MIT · TypeScript servers · how we verify → /methodology
01 · Install Microsoft 365 Admin
before you install - you'll need
Set MS365_ADMIN_MCP_CLIENT_ID, MS365_ADMIN_MCP_CLIENT_SECRET, MS365_ADMIN_MCP_TENANT_ID before connecting.
Claude Code
claude mcp add okapi-ca-ms-365-admin-mcp-server -- npx -y @okapi-ca/ms-365-admin-mcp-server Claude Desktop / Cursor / VS Code - add to config
{
"mcpServers": {
"okapi-ca-ms-365-admin-mcp-server": {
"command": "npx",
"args": [
"-y",
"@okapi-ca/ms-365-admin-mcp-server"
]
}
}
} Same JSON for Cursor. For VS Code, rename the top-level key from `mcpServers` to `servers`.
Using another client? Same JSON, different key
Claude Desktop · mcpServers
Cursor · mcpServers
VS Code · servers
Windsurf · mcpServers
Zed · context_servers
Cline · mcpServers
Roo Code · mcpServers
Continue · mcpServers
LibreChat · mcpServers
Gemini CLI · mcpServers
Codex CLI · mcp_servers
Full setup guides: every client.
02 · Evidence
Security posture
What to check before giving this server access to your agent - from the registry, GitHub, and our own probes. We don't score safety; we show what's verifiable.
runs as local process (stdio) - runs on your machine with your user's permissions
license MIT - declared in the repository
npm package @okapi-ca/ms-365-admin-mcp-server - published under the repo owner's npm scope (@okapi-ca)
registry namespace io.github.okapi-ca is GitHub-verified and matches the repo owner
03 · What Microsoft 365 Admin can do
Prose above is summarized from the project's README and registry record - no invented capabilities.
What you can build
An agent gets 40 documented tools spanning user, report, security, attack, including list-security-alerts, get-security-alert, update-security-alert, list-security-incidents.
Capability map
Tools grouped from the project's README - what Microsoft 365 Admin lets an agent do.
read & search
14 tools - e.g. GET; GET; GET
list-directory-audits · list-sign-ins · list-provisioning-logs · get-teams-activity-report · get-email-activity-report · get-sharepoint-usage-report…
User
8 tools - e.g. GET; GET; GET
get-user · list-user-memberships · list-user-auth-methods · list-user-devices · create-user · delete-user…
Security
6 tools - e.g. GET; GET; PATCH
list-security-alerts · get-security-alert · update-security-alert · list-security-incidents · get-security-incident · update-security-incident
Attack
5 tools - e.g. GET; GET; POST
list-attack-simulations · get-attack-simulation · create-attack-simulation · update-attack-simulation · delete-attack-simulation
Service
3 tools - e.g. GET; GET; GET
list-service-health · list-service-issues · list-service-messages
Deleted
2 tools - e.g. GET; GET
list-deleted-users · list-deleted-groups
Active
2 tools - e.g. GET; GET
get-active-users-report · get-active-user-counts-report
Latest releases
v0.15.1 · 2026-07-31
See CHANGELOG.md for release notes.
v0.15.0 · 2026-07-31
See CHANGELOG.md for release notes.
v0.14.0 · 2026-05-26
See CHANGELOG.md for release notes.
04 · Who maintains Microsoft 365 Admin
Microsoft 365 Admin is maintained by okapi-ca. It's the only MCP server we track from this author; the repo dates to Apr 2026.
05 · Facts
- repository
- github.com/okapi-ca/ms-365-admin-mcp-server
- category
- security - ranked #34 of 182 actively-maintained security servers as of 2026-08-25.
- release cadence
- 2 releases in the last 90 days (latest 2026-07-31)
- registry
- io.github.okapi-ca/ms-365-admin (active, first published 2026-05-21)
- packages
- npm:@okapi-ca/ms-365-admin-mcp-server
06 · Microsoft 365 Admin FAQ
Is Microsoft 365 Admin still maintained?
Yes - as of 2026-08-25, its last commit was 2026-08-24 and it shipped 2 releases in the last 90 days. We re-verify nightly.
What can Microsoft 365 Admin do?
An agent gets 40 documented tools spanning user, report, security, attack, including list-security-alerts, get-security-alert, update-security-alert, list-security-incidents.
How do I install Microsoft 365 Admin?
Run `npx -y @okapi-ca/ms-365-admin-mcp-server`. The README documents 3 environment variables (MS365_ADMIN_MCP_CLIENT_ID, MS365_ADMIN_MCP_CLIENT_SECRET, MS365_ADMIN_MCP_TENANT_ID) to set first. Set MS365_ADMIN_MCP_CLIENT_ID, MS365_ADMIN_MCP_CLIENT_SECRET, MS365_ADMIN_MCP_TENANT_ID before connecting. You can also paste the ready-made client config above.
Does Microsoft 365 Admin run locally?
Yes - it's a stdio server: it runs on your machine (via npx) with your user's permissions. Your data stays local unless the server itself calls external APIs.
07 · Alternatives to Microsoft 365 Admin
Alternatives to Microsoft 365 Admin
Maintained security servers if Microsoft 365 Admin isn't the fit.
- SafeDep Vet MCP Protect your AI agents and IDEs from malicious open-source packages. ★ 1,102 · 2026-08-24
- SonarQube MCP Server Analyze code quality and security with SonarQube Server or Cloud directly in AI assistants. ★ 632 · 2026-08-24
- Decionis MCP Server Fail-closed policy gate for AI agent actions, with local evaluation and native pre-tool hooks. ★ 533 · 2026-08-24
- HOL Guard Local-first AI agent security evidence and approval workflows through HOL Guard's stdio MCP server. ★ 470 · 2026-08-25
- Emisar Let AI operate servers without SSH. Choose actions, approve risky changes, and audit every step. ★ 409 · 2026-08-23
- Bradesco MCP server for Bradesco - Pix, Cobrança (boleto), Arrecadação, Extrato (OAuth2 + mTLS) ★ 269 · 2026-08-12
Pairs well with
Servers that cover what Microsoft 365 Admin doesn't - only shown when the pairing reason fits the companion.
More security MCP servers · Onelogin MCP · Onplana · Operant MCP · Otto Travel · Ovecc
More TypeScript MCP servers · Clio MCP · Mycase MCP · Singapore MCP by Olano · Composer · WAKE Protocol · see all