Skip to content
mcp/skillhub

Microsoft 365 Admin MCP Server

by okapi-caio.github.okapi-ca/ms-365-adminv0.6.3

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

14Node.jsstdioofficial registry

context tax

queued

security

queued

cold start

queued

freshness

Maintained2mo ago

Install Microsoft 365 Admin MCP server

Install in Claude Code

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

Configuration

VariableRequiredSecretDescription
MS365_ADMIN_MCP_TENANT_IDyes—Azure AD tenant ID (specific GUID, not 'common').
MS365_ADMIN_MCP_CLIENT_IDyes—App registration client ID with the required application permissions.
MS365_ADMIN_MCP_CLIENT_SECRETyesyesApp registration client secret. Prefer Azure Key Vault via MS365_ADMIN_MCP_KEYVAULT_URL for production.
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.

Freshness

Maintained — last maintenance signal 2mo ago. The newest of the signals below sets the band.

  1. Last commit (default branch)

    2026-07-31 · 2mo ago · GitHub

  2. Latest release

    2026-07-31 · 2mo ago · GitHub · v0.15.1

  3. Package published

    no data · npm/PyPI

  4. Registry entry updated

    2026-05-21 · 5mo ago · official registry · v0.6.3

FAQ

›How do I install the Microsoft 365 Admin MCP server in Claude Code?

Run: 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. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.

›Does Microsoft 365 Admin require an API key?

Yes. It expects MS365_ADMIN_MCP_TENANT_ID, MS365_ADMIN_MCP_CLIENT_ID, MS365_ADMIN_MCP_CLIENT_SECRET, of which 1 is a secret.

›Can I use Microsoft 365 Admin as a remote (hosted) MCP server?

No hosted endpoint is published; it runs locally over stdio.

›Is Microsoft 365 Admin in the official MCP registry?

Yes, as io.github.okapi-ca/ms-365-admin.