Atlas / MCP servers / hieuttmmo / EntraID

EntraIDSAFE

mcp/hieuttmmo/entraid

MCP server for interacting with EntraID through Microsoft Graph API.

Verdict
SAFE
Grade
B
Trust score
89 /100
Exposed tools
41 27r · 8w · 6d
Transport
—
License
—
Stars
41
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

This project provides a modular, resource-oriented FastMCP server for interacting with Microsoft Graph API. It is designed for extensibility, maintainability, and security, supporting advanced queries for users, sign-in logs, MFA status, and privileged users.

Features

  • Modular Resource Structure:
  • Each resource (users, sign-in logs, MFA, etc.) is implemented in its own module under src/msgraph_mcp_server/resources/.
  • Easy to extend with new resources (e.g., groups, devices).
  • Centralized Graph Client:
  • Handles authentication and client initialization.
  • Shared by all resource modules.
  • Comprehensive User Operations:
  • Search users by name/email.
  • Get user by ID.
  • List all privileged users (directory role members).
  • Full Group Lifecycle & Membership Management:
  • Create, read, update, and delete groups.
  • Add/remove group members and owners.
  • Search and list groups and group members.
  • Application & Service Principal Management:
  • List, create, update, and delete applications (app registrations).
  • List, create, update, and delete service principals.
  • View app role assignments and delegated permissions for both applications and service principals.
  • Sign-in Log Operations:
  • Query sign-in logs for a user for the last X days.
  • MFA Operations:
  • Get MFA status for a user.
  • Get MFA status for all members of a group.
  • Password Management:
  • Reset user passwords directly with custom or auto-generated secure passwords.
  • Option to require password change on next sign-in.
  • Permissions Helper:
  • Suggest appropriate Microsoft Graph permissions for common tasks.
  • Search and explore available Graph permissions.
  • Helps implement the principle of least privilege by recommending only necessary permissions.
  • Error Handling & Logging:
  • Consistent error handling and progress reporting via FastMCP context.
  • Detailed logging fo
Read from source at commit 350709c0f22cOBSERVED · 2026-10-08
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control. Replace the environment placeholders with a token scoped to the least it needs.

claude-code
claude mcp add entraid-mcp-server --env CLIENT_SECRET=${CLIENT_SECRET} -- uvx entraid-mcp-server
claude-desktop
{
  "mcpServers": {
    "entraid-mcp-server": {
      "command": "uvx",
      "args": [
        "entraid-mcp-server"
      ],
      "env": {
        "CLIENT_SECRET": "${CLIENT_SECRET}"
      }
    }
  }
}
03

Exposed tools (41)

27 read · 8 write · 6 destructive. Blast radius: 6 tools can delete or overwrite — an agent that can be talked into calling a tool can be talked into calling this one.

ToolRiskDescription
add_group_memberwriteAdd a member to a group.
add_group_ownerwriteAdd an owner to a group.
create_applicationwriteCreate a new application (app registration).
create_groupwriteCreate a new group in Microsoft Graph.
create_service_principalwriteCreate a new service principal.
delete_applicationdestructiveDelete an application (app registration) by its object ID.
delete_groupdestructiveDelete a group from Microsoft Graph.
delete_service_principaldestructiveDelete a service principal by its object ID.
get_all_graph_permissionsreadGet all Microsoft Graph permissions directly from the Microsoft Graph API.
get_all_groupsreadGet all groups (up to the specified limit, with paging).
get_all_managed_devicesreadGet all managed devices (optionally filter by OS).
get_application_by_idreadGet a specific application by its object ID.
get_conditional_access_policiesreadGet all conditional access policies.
get_conditional_access_policy_by_idreadGet a single conditional access policy by its ID with comprehensive details.
get_group_by_idreadGet a specific group by its ID.
get_group_membersreadGet members of a group by group ID (up to the specified limit, with paging).
get_group_mfa_statusreadGet MFA status for all members of a group.
get_managed_devices_by_userreadGet all managed devices for a specific userId.
get_privileged_usersreadGet all users who are members of privileged directory roles.
get_service_principal_by_idreadGet a specific service principal by its object ID.
get_user_audit_logsreadGet all relevant directory audit logs for a user by user_id within the last N days (default 30).
get_user_by_idreadGet a specific user by their ID.
get_user_groupsreadGet all groups (including transitive memberships) for a user by user ID.
get_user_mfa_statusreadGet MFA status and methods for a specific user.
get_user_password_methodreadGet a specific password authentication method for a user.
get_user_rolesreadGet all directory roles assigned to a user by user ID.
get_user_sign_insreadGet sign-in logs for a specific user within the last N days.
list_applicationsreadList all applications (app registrations) in the tenant, with paging.
list_permission_categories_and_tasksreadList all available categories and tasks for permission suggestions.
list_service_principalsreadList all service principals in the tenant, with paging.
list_user_password_methodsreadList a user
remove_group_memberdestructiveRemove a member from a group.
remove_group_ownerdestructiveRemove an owner from a group.
reset_user_password_directdestructiveReset a user
search_groups_by_namereadSearch for groups by display name (case-insensitive, partial match, with paging).
search_permissionsreadSearch for Microsoft Graph permissions by keyword.
search_usersreadSearch for users by name or email.
suggest_permissions_for_taskreadSuggest Microsoft Graph permissions for a specific task based on common mappings.
update_applicationwriteUpdate an existing application (app registration).
update_groupwriteUpdate an existing group in Microsoft Graph.
update_service_principalwriteUpdate an existing service principal.
04

Trust audit

SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codePASS
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfaceWARN
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
declared (2 observation(s))
Network
none-observed
Shell
none-observed
Dependencies
pinned
Secrets in source
none-found

Findings (2)

MEDIUMFilesystem / path · mcp.destructive_tools · CWE-22, CWE-59
delete_application, delete_group, delete_service_principal, remove_group_member, remove_group_owner, reset_user_password_direct
Why it matters. 6 tool(s) can delete or overwrite
Fix. prefer a read-only mode or scoped tokens; the page states the blast radius
LOWInventory / provenance · inv.no_license · CWE-1104
Why it matters. no LICENSE file and no repo licence
Fix. add a licence

Gates applied: no_behavioural_pass, no_license.

Audited 2026-10-08 · audit v0.4.1 · source sha 350709c0f22cfull audit observations/trust-audit/mcp-server/hieuttmmo__entraid.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-08350709c0f22cSAFEB89first audit
06

Questions

What is the EntraID MCP server?

MCP server for interacting with EntraID through Microsoft Graph API.

What tools does EntraID expose?

41 in total: 27 read-only, 8 that write, and 6 that can delete or overwrite (delete_application, delete_group, delete_service_principal, remove_group_member, remove_group_owner). Every one is listed on this page with its risk.

Is EntraID safe to connect to an agent?

The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B. Separately from the audit: 6 of its tools can destroy data, so scope the token you give it to what you actually need.

What credentials does EntraID need?

It reads CLIENT_SECRET from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.

How current is this page?

The grade is for one exact copy of the source (350709c0f22c), read on 2026-10-08. The repository is watched and re-audited when it changes.

Advertisement