Skip to main content

Microsoft 365 Admin

io.github.okapi-ca/ms-365-admin

v0.6.3Updated May 21, 2026stdio · npm

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

Install

Needs 1 secret. Replace 3 placeholders with your own values.

Run in your terminal. Replace 3 placeholders.

claude mcp add ms-365-admin -e 'MS365_ADMIN_MCP_TENANT_ID=<your-ms365-admin-mcp-tenant-id>' -e 'MS365_ADMIN_MCP_CLIENT_ID=<your-ms365-admin-mcp-client-id>' -e 'MS365_ADMIN_MCP_CLIENT_SECRET=<your-ms365-admin-mcp-client-secret>' -- npx -y @okapi-ca/[email protected]

Configuration

8 settings, 1 required secret. Snippets use placeholders; keep real values out of shared config.

  • MS365_ADMIN_MCP_CLIENT_SECRET
    Env var· required· secret
    App registration client secret. Prefer Azure Key Vault via MS365_ADMIN_MCP_KEYVAULT_URL for production.
  • MS365_ADMIN_MCP_TENANT_ID
    Env var· required
    Azure AD tenant ID (specific GUID, not 'common').
  • MS365_ADMIN_MCP_CLIENT_ID
    Env var· required
    App registration client ID with the required application permissions.
  • MS365_ADMIN_MCP_KEYVAULT_URL
    Env var· optional
    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
    Env var· optional
    Cloud environment: 'global' (default) or 'china' (21Vianet).
  • MS365_ADMIN_MCP_MAX_TOP
    Env var· optional
    Cap on the $top query parameter to limit result size.
Show 2 more
  • READ_ONLY
    Env var· optional
    Set to 'true' or '1' to force read-only mode (default behavior; mutations require --allow-writes).
  • ENABLED_TOOLS
    Env var· optional
    Regex to filter the catalog of available tools.

Listed in the official MCP Registry since May 21, 2026. Mirrored daily; last checked Nov 26, 2026.