MCP directory
M3

Microsoft 365 Admin

by github.com/okapi-ca · v0.6.3 · updated May 21, 2026

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

npm

Run it locally

Install the package and point your AI client at it.

npm

npx -y @okapi-ca/[email protected]

Environment variables

  • MS365_ADMIN_MCP_TENANT_IDrequired

    Azure AD tenant ID (specific GUID, not 'common').

  • MS365_ADMIN_MCP_CLIENT_IDrequired

    App registration client ID with the required application permissions.

  • MS365_ADMIN_MCP_CLIENT_SECRETrequiredsecret

    App 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.

More MCP servers