Entraadm MCP logo

Entraadm MCP

Read-only Entra ID and Azure triage tools for sign-ins, audits, compromise signals, VM backups, and service health.

Install Entraadm MCP

Pick your client, then add it in one click or paste the config.

STDIOPython
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "entraadm-mcp": {
      "command": "uvx",
      "args": [
        "entraadm-mcp"
      ],
      "env": {
        "ENTRAADM_TENANT_ID": "YOUR_VALUE_HERE",
        "ENTRAADM_CLIENT_ID": "YOUR_VALUE_HERE",
        "ENTRAADM_CLIENT_SECRET": "YOUR_VALUE_HERE",
        "ENTRAADM_ENABLE_REVOKE_SESSIONS": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Automated check passed— started and listed 17 tools correctly ().

Overview

entraadm MCP connects Microsoft Entra ID, Microsoft Graph, Azure Resource Manager, Microsoft Purview audit search, and Microsoft 365 service health to fixed triage tools. It supports unattended app-only authentication with a client credential, or delegated access through the current Azure CLI login. Most operations are read-only and aggregate sign-in data to identify password spraying, suspicious access, and shared source IPs. An opt-in session-revocation tool can sign a confirmed compromised account out everywhere.

Use cases

  • Investigate password-spray patterns across a tenant
  • Trace suspicious sign-ins from a source IP
  • Review Azure VM backup coverage during an operations patrol
  • Check Microsoft 365 incidents alongside Entra activity
  • Revoke sessions for a confirmed compromised account

Key features

  • Aggregates Entra sign-in failures and successes
  • Translates AADSTS codes in sign-in results
  • Detects password-spray and compromise indicators
  • Queries Azure VM backup and activity state
  • Searches Microsoft Purview audit records
  • Supports optional account-wide session revocation

Tools17

What Entraadm MCP lets your agent do. Expand a tool for its parameters.

Verified live~10.9k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

15/15 checks healthy over the last 77d

What it can do

From the 17 tools this server returned when we ran it.

Handles credentials · 11Makes network requests · 4Read-only tools · 17
Network at startup2 connections
Files written at startup20

Observed 2026-11-09 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 13d ago via OSV.dev · entraadm-mcp (PyPI)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

Last commit15d agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed17Callable tools this server registers over MCP.

How Entraadm MCP works

What entraadm MCP does

entraadm MCP provides a fixed set of Microsoft security and operations queries over MCP. Its primary focus is Entra ID sign-in and directory audit triage: checking whether Graph is reachable, inspecting users and MFA registration, translating AADSTS sign-in errors, aggregating failures and successes, reviewing activity by source IP, and identifying possible account compromise.

The server also uses the same credential for selected Azure and Microsoft 365 checks. It can list visible Azure subscriptions, report Azure VM backup coverage and recovery-point freshness, show backup policy settings, distinguish VM activity caused by a person from platform events, and report Microsoft 365 incidents and advisories. Purview audit searches cover OneDrive, SharePoint, Exchange, and Entra activity through separate start and result operations.

How it works

Authentication uses one of two modes. Set ENTRAADM_TENANT_ID, ENTRAADM_CLIENT_ID, and ENTRAADM_CLIENT_SECRET together to use app-only credentials, which suits a headless triage deployment. If none of those variables is set, the server uses the active az login session for delegated access. Supplying only part of the app-only configuration is rejected at startup rather than treated as another mode.

Most tools query Microsoft Graph or Azure Resource Manager directly. Sign-in aggregation and compromise analysis are performed across retrieved records, including password-spray indicators, foreign-country successes, legacy-protocol access, Azure CLI or PowerShell activity, and accounts identified by Microsoft risk detection when available. daily_brief combines service health, failure statistics, directory audits, and compromise-suspect results into one response.

Purview searches are asynchronous: audit_log_search_start submits a search, and audit_log_search_result checks its status and returns summarized and trimmed records. Search limits are enforced by Microsoft 365; a rate-limited response is reported rather than retried.

Setup and configuration

Grant permissions according to the tools the deployment will use. Common Graph requirements include User.Read.All for user lookups and AuditLog.Read.All for sign-in and directory audit data in app-only mode. MFA registration requires UserAuthenticationMethod.Read.All and is intended for app-only access. Service health requires ServiceHealth.Read.All; Purview searches require either the broad audit-query permission or a service-scoped equivalent.

The Azure Resource Manager queries use the same application registration and credential object, with an additional management-plane token scope. Azure subscriptions appear only when the credential can read them.

Tools and capabilities

  • Check Graph reachability and sign-in-log access with health_check.
  • Inspect users, licenses, synchronization state, sign-in activity, and registered authentication methods.
  • Analyze failures, successful access, source IPs, directory changes, and suspected compromise.
  • Review subscriptions, VM backup status, backup policies, and VM activity.
  • Check Microsoft 365 service health and search Purview audit records.
  • Produce a combined daily_brief for recurring patrols.
  • Optionally revoke one account’s refresh tokens and session cookies with revoke_sign_in_sessions.

Limitations and notes

All listed tools are read-only except revoke_sign_in_sessions, which is absent unless ENTRAADM_ENABLE_REVOKE_SESSIONS=1. That operation does not disable the account, reset its password, remove MFA methods, or invalidate already issued access tokens. It looks up an exact user principal name and refuses guest accounts; repeated calls are safe because revocation is idempotent.

Identity Protection results require Entra ID P2. Without that licensing, related checks report that the capability is not licensed while other functions continue to work. Delegated access also has narrower availability for authentication-method queries and requires suitable directory roles for protected data.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Entraadm MCP

entraadm MCP is an MCP server that connects AI agents to Microsoft Entra ID, Microsoft Graph, Azure Resource Manager, Microsoft 365 service health, and Purview audit search. Its main tools inspect sign-ins, directory audits, users, compromise indicators, VM backups, and service incidents, with one optional tool for revoking sign-in sessions.

Configure the server with either all three app-only variables—`ENTRAADM_TENANT_ID`, `ENTRAADM_CLIENT_ID`, and `ENTRAADM_CLIENT_SECRET`—or no app-only variables and an active `az login` session. Grant only the Graph, Azure, service-health, and audit-query permissions needed by the tools you enable.

Yes, app-only authentication is supported when all three app-only environment variables are set. This mode is intended for unattended deployments using a Microsoft Entra application registration and client secret; setting only one or two of the variables causes startup to fail.

Yes, but only when `ENTRAADM_ENABLE_REVOKE_SESSIONS=1` is set and the deployment has the required permission or directory role. The tool invalidates refresh tokens and session cookies, but it does not disable the account, reset its password, remove MFA, or immediately invalidate existing access tokens.

Yes, it can use the current `az login` session when none of the three app-only variables is set. Delegated access has permission and role constraints, and authentication-method queries are generally unavailable under typical delegated tenant assignments.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewEntraadm MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/entraadm-mcp?style=directory)](https://allmcps.com/mcp/entraadm-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/entraadm-mcp"><img src="https://allmcps.com/api/badge/entraadm-mcp?style=directory" alt="Entraadm MCP on AllMCPs" /></a>