IntuneRW-Core
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@IntuneRW-Core list all Intune-managed devices"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
EndpointOps-MCP
A full read/write Model Context Protocol (MCP) server for managing Microsoft Intune and Entra ID (Azure AD) through the Microsoft Graph API. It gives AI assistants (Claude Desktop, VS Code Copilot, Cursor, Copilot Studio, etc.) direct, structured access to device management, app management, compliance, security, identity, and reporting operations across your tenant.
The server exposes 34 MCP tools, each accepting an action parameter so a single tool can drive dozens of related Graph operations without needing one MCP tool per endpoint. In total the tools cover 280+ underlying Microsoft Graph operations.
⚠️ This server can create, update, and delete real objects in your tenant (devices, users, groups, policies, apps, etc.). Review the Permissions section and scope the app registration carefully before pointing it at a production tenant.
Approved EAM and Win32 application lifecycle
Application lifecycle actions are part of the existing manage_intune_apps tool;
no additional MCP tools are registered. This implementation is independent of
Application Orchestrator MCP and does not use its credentials, state, or fixed
test group. Defender/vulnerability ingestion and unattended update scheduling are
not included.
Action | Purpose |
| Read-only EAM-first discovery and immutable, 24-hour plan creation |
| Inspect an existing Win32/EAM app's assignments and groups |
| Review the exact plan, digest, and operator approval |
| Queue an operator-approved plan once ( |
| Inspect progress, errors, and partial-resource IDs |
Creation and deployment scope
Provide an exact application name, publisher, and version. Ambiguous catalog or tenant matches stop for selection; this implementation does not guess "latest".
EAM is checked first, including catalog-package links on already acquired apps. An exact existing app is reused, not duplicated. EAM requires appropriate licensing.
No target fields means create/publish only: existing assignments are not changed and no group is created.
To deploy, supply
group_idsor exactgroup_names. Multiple groups are supported; ambiguous or missing names stop rather than choosing a group.Alternatively, supply
reuse_scope_from_app_id. The plan preserves that app's included/excluded security groups, assignment filters, intents (including existing uninstall intents), and compatible assignment settings. Review the inherited scope before approval. Discovery alone is not deployment approval.All-devices/all-users targets and Microsoft 365 group targets are deliberately rejected in this lifecycle; they are never silently omitted. Cross-app-type settings that cannot be preserved also stop for review.
New groups are a separate
manage_entra_groupsoperation. All three group creation actions now requireconfirm=Trueafter explicit user approval. Search existing groups first. This confirmation flag records caller intent; the client must actually obtain the user's consent.Assignments are additive and read back, with exclusions written first. The worker never uses the replacement
/assignoperation, removes assignments, populates group membership, or broadens an approved scope.Existing assignments and group properties are rechecked before writes. Drift requires a newly reviewed plan. This is not a distributed transaction: a partial failure can leave a published app or some assignments; inspect the job.
Example create-only tool arguments (illustrative names/version; not a live request):
{
"action": "plan_lifecycle",
"body": {
"app_name": "Example App",
"publisher": "Example Vendor",
"version": "2.0.0"
}
}For a deployment, add group_ids: ["<existing-security-group-object-id>"] or
reuse_scope_from_app_id: "<existing-app-object-id>" to body, not both.
Use discover_deployment_scope with app_id to inspect the source first.
When no EAM/existing app matches, additionally provide:
{
"source": {
"artifacts": [
{
"filename": "setup.exe",
"url": "https://approved.vendor.example/setup.exe",
"sha256": "<verified-64-character-sha256>"
}
],
"scripts": [],
"setup_file": "setup.exe"
},
"win32": {
"description": "Reviewed unattended installation",
"install_command": "setup.exe /quiet",
"uninstall_command": "<vendor-documented-uninstall-command>",
"detection_path": "%ProgramFiles%\\Example",
"detection_file": "Example.exe",
"detection_version": "2.0.0.0",
"architecture": "x64",
"minimum_windows_release": "Windows11_23H2",
"install_context": "system"
},
"evidence_urls": ["https://approved.vendor.example/deployment-documentation"]
}The client researches official installation instructions and provides the reviewed
commands, hashes, and evidence links. Evidence links are citations for operator
review, not automatically verified deployment recipes. Do not guess switches.
Optional scripts: [{filename, content}] are PowerShell package data for
approved endpoint installation, not scripts executed on the packaging worker.
The worker downloads approved artifacts and invokes only Microsoft's Content
Prep Tool locally. Safe filenames, exact download/redirect host allow-lists,
public-address checks, size limits, TLS validation, SHA256 pins, encrypted payload
upload, SAS renewal, content commit polling, and publish polling are enforced.
Win32 detection is file version >= detection_version, not file existence.
Use a real versioned file. Apps without suitable file-version metadata require
another detection strategy before onboarding; registry/MSI/custom-script detection
and automatic supersedence are not implemented here. Test the vendor's upgrade
behavior before using a new package against existing installations.
Operator setup and execution
Use a dedicated environment and configure this repository's own .env using
env.example. Do not copy secrets into source or tool arguments.
Set-Location C:\Temp\EndpointOps-MCP
python -m venv .venv
.\.venv\Scripts\python.exe -m pip install -e .Configure the tenant/application and permissions for this server. The lifecycle
needs DeviceManagementApps.ReadWrite.All and Group.Read.All with admin consent.
Group creation additionally needs Group.ReadWrite.All; grant it only if needed.
Existing server operations may require other permissions listed below.
Provision the official Microsoft Win32 Content Prep Tool
on a Windows worker. Set ENDPOINTOPS_PREP_TOOL to its absolute executable path,
ENDPOINTOPS_PREP_TOOL_SHA256 to its verified SHA256, and
ENDPOINTOPS_DOWNLOAD_HOSTS to exact artifact and redirect hosts. Empty
allow-lists deny downloads. No installer/prep utility is downloaded implicitly.
EAM acquisition does not require the prep utility.
Plans and jobs live in work\apps.sqlite3 by default. MCP and worker must share
the same local ENDPOINTOPS_STATE_PATH, tenant/client/endpoints, and Windows
identity/access controls. Bind worker authentication independently: app-only
credentials work unattended; delegated mode needs a usable silent token cache
for the worker's OS identity and may require reauthentication.
After inspecting an MCP-staged plan:
.\.venv\Scripts\python.exe -m intune_mcp_server.app_admin show <plan-id>
.\.venv\Scripts\python.exe -m intune_mcp_server.app_admin approve <plan-id> --digest <exact-digest>Then call the existing app tool:
{
"action": "queue_lifecycle",
"plan_id": "<plan-id>",
"plan_digest": "<exact-digest>",
"confirm": true
}Enable writes only for an approved operation and run one worker pass:
$env:ENDPOINTOPS_APP_WRITES_ENABLED = "true"
.\.venv\Scripts\python.exe -m intune_mcp_server.app_worker --once
.\.venv\Scripts\python.exe -m intune_mcp_server.app_admin job <job-id>Omit --once for a foreground queue consumer. Each job runs in a bounded child
process with its own temporary workspace, cleaned after normal completion or
handled failure. Hard OS/service termination can leave temporary files or a
running job. Stop the worker and inspect Graph for partial resources before:
.\.venv\Scripts\python.exe -m intune_mcp_server.app_admin fail-interrupted <job-id> --confirm-worker-stoppedFailed/ambiguous jobs are not replayed by enqueueing again. Resource IDs and phase checkpoints persist for investigation. Stage a new plan only after reconciliation. Graph mutation HTTP 503/transport failures are not blindly retried.
Deployment boundary: this is a single-operator, trusted-host queue, not a
multi-tenant authorization service. Protect the database, token cache, .env,
prep tool, and approval CLI with OS ACLs. Don't expose the server to untrusted
clients or grant an AI process shell/DB access to self-approve. Sharing a writable
SQLite file over a network or across cloud instances is unsupported. Hosted
deployments need authenticated ingress and an appropriate shared queue/approval
service before use across trust boundaries. Legacy raw CRUD/assignment actions
remain admin primitives; they do not use this approval queue.
Success means Intune publication and requested assignments were verified, not
that endpoints installed the application. Use get_install_status and Intune
reporting for device outcomes. Native EAM auto-update, scheduled updates,
Defender integration, and automatic rollback are outside this release.
Validation (no tenant credentials required):
.\.venv\Scripts\python.exe -m unittest discover -s tests -v
.\.venv\Scripts\python.exe -m pip checkRelated MCP server: EntraID MCP Server
Features
Core / Connection
Interactive and app-only (client credentials) authentication flows
Session auth status, sign-in, and one-step connect helpers
Graph connectivity test and tenant info
Intune tenant overview (device counts, compliance, OS breakdown)
discover_graph_operations— self-describing catalog of every action every tool supports
Intune Device & App Management
List, search, filter, and inspect managed devices
Remote actions: sync, restart, lock, rename, locate, wipe, retire, reset passcode, lost mode, defender scan, log collection, diagnostics collection
BitLocker / FileVault recovery key lookups and encryption reports
Mobile app CRUD, assignments (required/available/uninstall), install status, discovered/detected apps
App configuration (MAM) and app protection policies
Compliance & Configuration
Compliance policies (CRUD, assignment, deployment status)
Device configuration profiles and Settings Catalog policies
ADMX / administrative template policies
Endpoint security policies and templates (AV, Firewall, EDR)
Security baselines (templates + deployed profile status)
Windows Update rings and feature/quality/driver update profiles
Enrollment & Fleet Operations
PowerShell scripts and proactive remediations (Windows + macOS shell scripts)
Enrollment restrictions, Apple VPP/DEP tokens, Android Enterprise settings
Windows Autopilot devices, deployment profiles, and enrollment status page (ESP) profiles
Assignment filters and scope tags
Intune RBAC role definitions and role assignments
Windows 365 Cloud PC
Cloud PC lifecycle (list, restart, reprovision, resize, restore, troubleshoot)
Provisioning policies, gallery images, network connections, audit events
Entra ID (Azure AD)
Full user lifecycle: CRUD, onboarding/offboarding, licenses, manager assignment, password/session management, bulk operations
Group management: security, Microsoft 365, and dynamic groups; members/owners
Entra device inventory management (list/search/enable/disable/delete)
Conditional Access policies and named locations
Identity Protection: risky users, risk detections, sign-in/audit logs, MFA and authentication methods
App registrations and enterprise app inspection/management
Tenant Administration & Reporting
Organization/domain info, service health, directory roles, subscriptions, security defaults
Compliance, malware, encryption, endpoint analytics, app reliability, and license usage reports
Async Graph report export jobs (
deviceManagement/reports/exportJobs)
Available Tools
# | Tool | Area |
1 |
| Auth |
2 |
| Auth |
3 |
| Auth |
4 |
| Auth |
5 |
| Auth |
6 |
| Auth |
7 |
| Auth |
8 |
| Core |
9 |
| Intune Devices |
10 |
| Encryption |
11 |
| Apps |
12 |
| App Protection (MAM) |
13 |
| Compliance |
14 |
| Config Profiles |
15 |
| Settings Catalog |
16 |
| ADMX / GPO |
17 |
| Endpoint Security |
18 |
| Security Baselines |
19 |
| Windows Update |
20 |
| Scripts & Remediations |
21 |
| Enrollment |
22 |
| Autopilot |
23 |
| Filters & Scope Tags |
24 |
| Intune RBAC |
25 |
| Windows 365 Cloud PC |
26 |
| Entra Users |
27 |
| Entra Groups |
28 |
| Entra Devices |
29 |
| Conditional Access |
30 |
| Identity Protection |
31 |
| App Registrations |
32 |
| Tenant Administration |
33 |
| Reports & Analytics |
34 |
| Catalog / Discovery |
Each manage_* tool takes an action parameter (e.g. manage_intune_devices(action="wipe", device_id="...", confirm=True)). Call discover_graph_operations at any time to get the full, up-to-date list of actions per tool directly from the running server.
Destructive actions (wipe, delete, retire, etc.) require an explicit confirm=True argument — calling them without it returns a confirmation_required response instead of executing.
Required Graph API Permissions
Grant these Application permissions to your Entra ID app registration (Azure Portal → App registrations → API permissions → Microsoft Graph → Application permissions), then click Grant admin consent.
Intune
DeviceManagementManagedDevices.ReadWrite.All
DeviceManagementConfiguration.ReadWrite.All
DeviceManagementApps.ReadWrite.All
DeviceManagementServiceConfig.ReadWrite.All
DeviceManagementRBAC.ReadWrite.All
DeviceManagementScripts.ReadWrite.All
DeviceManagementManagedDevices.PrivilegedOperations.AllEntra ID
User.ReadWrite.All
Group.ReadWrite.All
Directory.ReadWrite.All
RoleManagement.ReadWrite.Directory
Policy.ReadWrite.ConditionalAccess
IdentityRiskyUser.ReadWrite.All
IdentityRiskEvent.Read.All
AuditLog.Read.All
UserAuthenticationMethod.ReadWrite.All
Application.Read.All
Organization.Read.AllTenant Administration & Reporting
ServiceHealth.Read.All
ServiceMessage.Read.All
Reports.Read.AllWindows 365
CloudPC.ReadWrite.AllNotes:
DeviceManagementManagedDevices.PrivilegedOperations.Allis required for high-impact remote actions such as device log collection requests.Some enrollment-restriction write actions additionally require the calling principal (or the app registration's effective context) to hold the Global Administrator or Intune Service Administrator directory role — this is a Graph service-side business rule, not just an application permission.
If you only need read-only/reporting access, use the
.Read.Allvariants instead of.ReadWrite.Allwhere available and drop any write-only scopes you don't need.
Prerequisites
Python 3.10+ (3.11 recommended)
A Microsoft Entra ID tenant with Global Administrator (or delegated equivalent) access to create an app registration
An Entra ID app registration configured for client credentials (app-only) auth, with the permissions above granted and admin-consented
Installation
git clone https://github.com/nelladath/EndpointOps-MCP.git
cd EndpointOps-MCP
python -m venv .venv
.venv\Scripts\Activate.ps1
pip install -r requirements.txtConfigure environment variables
Copy env.example to .env and fill in your app registration values:
TENANT_ID=your-tenant-id
CLIENT_ID=your-app-client-id
CLIENT_SECRET=your-app-client-secret
AUTH_MODE=appAUTH_MODE supports:
app— app-only (client credentials) token, no user interaction (default, recommended for automation)delegated— signed-in user token only (device-code or browser flow)hybrid— app-only Graph calls gated behind an optional first-layer interactive user sign-in
See env.example for the full list of options (interactive login mode, token cache path, Graph endpoint overrides).
VS Code Setup (MCP Client)
Install the MCP extension support in VS Code (built into recent Copilot Chat versions) or your preferred MCP-compatible client.
Build the console entry point into your virtual environment (done automatically by
pip install -r requirements.txt+ the project'spyproject.tomlscript entry, or run directly viapython -m intune_mcp_server).Add a server entry to your workspace
.vscode/mcp.json(a template is included in this repo):
{
"servers": {
"EndpointOps-MCP": {
"type": "stdio",
"command": "${workspaceFolder}/.venv/Scripts/endpointops-mcp.exe",
"args": [],
"env": {
"TENANT_ID": "",
"CLIENT_ID": "",
"CLIENT_SECRET": ""
}
}
}
}On macOS/Linux use
${workspaceFolder}/.venv/bin/endpointops-mcpinstead.You can leave
envempty and rely on a.envfile in the project root instead — the server loads it automatically viapython-dotenv.Alternatively, run the server as a plain module without the console script:
"command": "python", "args": ["-m", "intune_mcp_server"].
Reload the VS Code window (or use the MCP: List Servers command) and the 34 tools listed above will become available to Copilot Chat.
Run
test_connection(orconnect_intune_mcp_server) first to verify authentication before using any other tool.
Claude Desktop / other MCP clients
Add an equivalent entry to your client's MCP server configuration, pointing command at the same executable/module and passing the same environment variables.
HTTP Transport (optional)
In addition to stdio (the default, used by most desktop MCP clients), the server can run over Streamable HTTP for hosted scenarios (e.g. Copilot Studio custom connectors):
uvicorn intune_mcp_server.mcp_app:app --host 0.0.0.0 --port 8000A minimal REST bridge exposing a handful of tools as plain HTTP endpoints is also available in bridge.py (FastAPI) for scenarios that need simple REST calls instead of the native MCP protocol.
Security Notes
Never commit
.envor the MSAL token cache (.msal_token_cache.bin) — both are already excluded via.gitignore.Prefer
AUTH_MODE=appwith a tightly-scoped app registration for automation; reservedelegated/hybridmodes for interactive, human-supervised sessions.Destructive actions (wipe, retire, delete) require
confirm=True— treat any AI client wired to this server with the same caution as a human holding Global Administrator credentials.Grant only the permissions your use case needs; the lists above are the maximum superset for full read/write coverage, not a minimum requirement.
License
MIT © Sujin Nelladath
Available Tools
34 toolsauthenticate_mcp_sessionA
Authenticate the MCP session using the configured .env sign-in flow.
Inputs: no named parameters. Returns: object
complete_interactive_loginB
Compatibility wrapper that completes the interactive sign-in flow for the MCP session.
Inputs: no named parameters. Returns: object
complete_interactive_sign_inA
Complete user sign-in flow after user enters device code.
Inputs: no named parameters. Returns: object
connect_intune_mcp_serverA
One-step connection flow: trigger sign-in if needed, then verify Graph connectivity.
Inputs: no named parameters. Returns: object
discover_graph_operationsA
List all supported Graph operations grouped by tool/domain. Optionally filter by category name (e.g., 'devices', 'users', 'policies').
Returns each tool with its name, description and all available action values.
Inputs: category. Returns: object
get_auth_statusA
Get current authentication mode and sign-in/cache status.
Inputs: no named parameters. Returns: object
get_intune_overviewA
Return device counts, compliance distribution and OS breakdown for the tenant.
Inputs: no named parameters. Returns: object
manage_admx_policiesA
Manage Intune ADMX (Administrative Templates / Group Policy) configurations.
action values: list — List all ADMX configurations get — Get ADMX config details (config_id) create — Create an ADMX configuration (body) delete — Delete an ADMX configuration (config_id, confirm=True)
Inputs: action (required), top, body, confirm, +1 more. Returns: object
manage_app_config_mamA
Manage app configuration policies and MAM (app protection) policies.
action values: list_config_policies — List all managed app config policies (targeted) get_config_policy — Get a specific app config policy (policy_id) create_config_policy — Create an app config policy (body) update_config_policy — Update an app config policy (policy_id, body) delete_config_policy — Delete an app config policy (policy_id, confirm=True) list_protection_policies — List MAM/app protection policies create_protection_policy — Create an app protection policy (platform: ios|android, body) update_protection_policy — Update an app protection policy (policy_id, platform, body) delete_protection_policy — Delete an app protection policy (policy_id, platform, confirm=True)
Inputs: action (required), top, body, confirm, +2 more. Returns: object
manage_app_registrationsA
Manage Entra ID app registrations and enterprise apps (service principals).
action values: list_registrations — List all app registrations get_registration — Get app registration details (app_id) search_registrations — Search registrations by name (search_term) delete_registration — Delete an app registration (app_id, confirm=True) get_expiring_credentials — App regs with credentials expiring soon (days_until_expiry) list_enterprise_apps — List all enterprise apps (service principals) get_enterprise_app — Get enterprise app details (sp_id) search_enterprise_apps — Search enterprise apps by name (search_term) get_app_permissions — Permissions granted to an enterprise app (sp_id) enable_enterprise_app — Enable an enterprise app (sp_id) disable_enterprise_app — Disable an enterprise app (sp_id)
Inputs: action (required), top, body, sp_id, +4 more. Returns: object
manage_autopilotA
Manage Windows Autopilot devices and deployment profiles.
action values: list_devices — List all Autopilot device identities list_profiles — List all Autopilot deployment profiles get_profile — Get profile details (profile_id) create_profile — Create an Autopilot deployment profile (body) update_profile — Update a profile (profile_id, body) delete_profile — Delete a profile (profile_id, confirm=True) assign_profile — Assign profile to device/group (profile_id, body) import_device — Import via hardware hash (body: {serialNumber,...}) delete_device — Delete Autopilot device registration (device_id, confirm=True) get_deployment_status — Autopilot deployment events list_esp_profiles — List Enrollment Status Page profiles
Inputs: action (required), top, body, confirm, +2 more. Returns: object
manage_cloud_pcA
Manage Windows 365 Cloud PCs, provisioning policies and network connections.
action values: list — List all Cloud PCs get — Get Cloud PC details (cloud_pc_id) get_overview — Cloud PC overview/summary restart — Restart a Cloud PC (cloud_pc_id) reprovision — Reprovision a Cloud PC (cloud_pc_id, confirm=True) resize — Resize/upgrade a Cloud PC (cloud_pc_id, body: {targetServicePlanId}) restore — Restore from snapshot (cloud_pc_id, body: {snapshotId}) troubleshoot — Trigger troubleshoot action (cloud_pc_id) list_snapshots — List available snapshots (cloud_pc_id) get_audit_events — Audit event logs list_provisioning_policies — List provisioning policies create_provisioning_policy — Create a provisioning policy (body) assign_provisioning_policy — Assign policy to groups (policy_id, body) list_gallery_images — List gallery images for provisioning list_connections — List Azure network connections
Inputs: action (required), top, body, confirm, +3 more. Returns: object
manage_compliance_policiesA
Manage Intune device compliance policies — CRUD, assignment and status.
action values: list — List all compliance policies get — Get compliance policy details (policy_id) create — Create a new compliance policy (body) update — Update a compliance policy (policy_id, body) delete — Delete a compliance policy (policy_id, confirm=True) assign — Assign policy to groups (policy_id, body: {assignments:[...]}) get_status — Get device deployment status for a policy (policy_id) list_assignments — List assignments for a policy (policy_id)
Inputs: action (required), top, body, confirm, +1 more. Returns: object
manage_conditional_accessA
Manage Entra ID Conditional Access policies and named locations.
action values: list_policies — List all CA policies get_policy — Get CA policy details (policy_id) create_policy — Create a new CA policy (body) update_policy — Update a CA policy (policy_id, body) delete_policy — Delete a CA policy (policy_id, confirm=True) enable_policy — Enable a CA policy (policy_id) disable_policy — Disable a CA policy (policy_id) list_locations — List named locations create_location — Create a named location (body) update_location — Update a named location (location_id, body) delete_location — Delete a named location (location_id, confirm=True)
Inputs: action (required), top, body, confirm, +2 more. Returns: object
manage_configuration_profilesA
Manage Intune device configuration profiles — CRUD, assignment and status.
action values: list — List all configuration profiles get — Get profile details (profile_id) create — Create a new profile (body) update — Update a profile (profile_id, body) delete — Delete a profile (profile_id, confirm=True) assign — Assign profile to groups (profile_id, body: {assignments:[...]}) get_status — Get device deployment status (profile_id) list_assignments — List assignments (profile_id)
Inputs: action (required), top, body, confirm, +1 more. Returns: object
manage_device_encryptionA
Manage device encryption keys and reports.
action values: list_bitlocker_keys — List all BitLocker recovery keys for the tenant get_bitlocker_key — Get a specific BitLocker recovery key with value (key_id) get_filevault_key — Get macOS FileVault recovery key (device_id) get_encryption_report — Export device encryption status report
Inputs: action (required), key_id, device_id. Returns: object
manage_endpoint_securityB
Manage Intune endpoint security policies (Antivirus, Firewall, EDR, etc.).
action values: list_policies — List all endpoint security policies get_policy — Get policy details (policy_id) create_policy — Create from a template (template_id, body) update_policy — Update an endpoint security policy (policy_id, body) delete_policy — Delete a policy (policy_id, confirm=True) assign_policy — Assign to groups (policy_id, body: {assignments:[...]}) get_policy_status — Device state summary for a policy (policy_id) list_templates — List all security templates
Inputs: action (required), top, body, confirm, +2 more. Returns: object
manage_entra_devicesA
Manage Entra ID device objects (separate from Intune managed devices).
action values: list — List all Entra ID devices get — Get device details (device_id) search — Search by displayName (search_term) enable — Enable a device in Entra ID (device_id) disable — Disable a device in Entra ID (device_id) delete_entra — Delete device from Entra ID (device_id, confirm=True) delete_intune — Delete device from Intune (intune_device_id, confirm=True) delete_both — Delete from both Intune and Entra (device_id + intune_device_id, confirm=True)
Inputs: action (required), top, confirm, device_id, +2 more. Returns: object
manage_entra_groupsA
Manage Entra ID groups — full CRUD plus membership and ownership operations.
action values: list — List all groups get — Get group details (group_id) search — Search groups by displayName (search_term) create_security — Create a security group ONLY after user confirms (body, confirm=True) create_m365 — Create a Microsoft 365 group ONLY after user confirms (body, confirm=True) create_dynamic — Create a dynamic security group ONLY after user confirms (body, confirm=True) update — Update group properties (group_id, body) delete — Delete a group (group_id, confirm=True) get_members — List group members (group_id) add_member — Add a member (group_id, member_id) remove_member — Remove a member (group_id, member_id) get_owners — List group owners (group_id) add_owner — Add an owner (group_id, member_id) bulk_add_members — Add multiple members (group_id, body: {member_ids:[...]})
Inputs: action (required), top, body, confirm, +3 more. Returns: object
manage_entra_usersA
Manage Entra ID users — full lifecycle including licenses, manager, onboarding and offboarding.
action values: list — List all users (top) get — Get user details (user_id or UPN) search — Search users by displayName (search_term) create — Create a new user (body) update — Update user properties (user_id, body) delete — Delete a user (user_id, confirm=True) enable — Enable user account (user_id) disable — Disable/block user sign-in (user_id) reset_password — Reset user password (user_id, body: {newPassword, forceChangeAtNextSignIn}) revoke_sessions — Revoke all user refresh tokens (user_id) get_devices — List managed devices for a user (user_id) get_licenses — Get license assignments (user_id) assign_license — Assign a license (user_id, body: {addLicenses:[{skuId}], removeLicenses:[]}) remove_license — Remove a license (user_id, body: {addLicenses:[], removeLicenses:[skuId]}) list_available_licenses — List available license SKUs in tenant get_deleted_users — List recently deleted users restore_user — Restore a deleted user (user_id) assign_manager — Set user's manager (user_id, body: {"@odata.id": managerUrl}) remove_manager — Remove user's manager (user_id) get_direct_reports — List user's direct reports (user_id) get_member_groups — List groups the user belongs to (user_id) onboard_user — Full onboard: create + manager + license + group membership (body) offboard_user — Full offboard: disable + revoke sessions + remove groups (user_id, confirm=True) bulk_create — Create multiple users from a list (body: {users: [...]}) bulk_assign_license — Assign license to multiple users (body: {user_ids:[...], skuId:...})
Inputs: action (required), top, body, confirm, +2 more. Returns: object
manage_filters_tagsA
Manage Intune assignment filters and scope tags.
action values: list_filters — List all assignment filters get_filter — Get filter details (filter_id) create_filter — Create an assignment filter (body) update_filter — Update a filter (filter_id, body) delete_filter — Delete a filter (filter_id, confirm=True) list_tags — List all scope tags create_tag — Create a scope tag (body) delete_tag — Delete a scope tag (tag_id, confirm=True)
Inputs: action (required), top, body, tag_id, +2 more. Returns: object
manage_identity_protectionA
Manage identity protection, authentication methods, sign-in logs and risky users.
action values: get_auth_methods — List authentication methods for a user (user_id) get_mfa_status — Check MFA registration status for a user (user_id) delete_auth_method — Remove an authentication method (user_id, method_id, confirm=True) get_auth_methods_policy — Get tenant-wide authentication methods policy get_sign_in_logs — Sign-in logs (filter_query for OData filter, top) get_directory_audit_logs — Directory audit logs (filter_query, top) get_risky_users — List risky users get_risk_detections — Get risk detection events dismiss_risky_user — Dismiss risk for a user (body: {userIds: [...]}) confirm_compromised — Confirm users as compromised (body: {userIds: [...]})
Inputs: action (required), top, body, user_id, +2 more. Returns: object
manage_intune_appsA
Manage Intune mobile apps — full CRUD, search, assignments and install status.
action values: list — List all mobile apps (top) get — Get app details + assignments (app_id) search — Search apps by display name (search_term) create — Raw Graph app registration (body); for complete EAM acquisition/ Win32 packaging use plan_lifecycle, not metadata-only creation. update — Update app metadata (app_id, body) delete — Delete an app (app_id, confirm=True) assign — Assign app to groups (app_id, body: {assignments:[...]}) remove_assignment — Remove one assignment (app_id, assignment_id, confirm=True) get_install_status — Get app install summary (app_id) list_discovered — List all apps discovered across managed devices get_mam_registrations — List managed app registrations (MAM enrollment) plan_lifecycle — Stage EAM-first acquisition/Win32 packaging (body). Required: app_name, publisher, version. No groups means CREATE ONLY. Optional: catalog_package_id; source {artifacts:[{filename,url,sha256}], scripts:[{filename,content}],setup_file}; win32 {description, install_command,uninstall_command,detection_path,detection_file, detection_version,architecture,minimum_windows_release,install_context}; evidence_urls. Use group_ids/group_names OR reuse_scope_from_app_id to propose assignments. Research official install instructions first. Never guess switches, versions or hashes. No tenant writes in planning. discover_deployment_scope — Read existing group assignments/filters/settings (app_id). Never invent a target or create groups without user confirmation. get_lifecycle_plan — Review immutable plan (plan_id); operator CLI approves exact digest. queue_lifecycle — Queue operator-approved plan (plan_id, plan_digest, confirm=True). Separate Windows worker performs writes. No inline packaging. get_lifecycle_job — Read durable worker result and partial-resource IDs (job_id).
Inputs: action (required), top, body, app_id, +6 more. Returns: object
manage_intune_devicesA
Manage Intune managed devices. All device lifecycle and action operations.
action values: list — List all managed devices (supports filter_query, top) get — Get full device details (requires device_id) search — Search by deviceName/userPrincipalName/serialNumber (search_term, search_by) get_noncompliant— List non-compliant devices get_stale — Devices inactive for N days (days_inactive) get_hardware — Hardware inventory for a device (device_id) get_network — Network info (MAC, subnet) for a device (device_id) get_installed_apps — Apps detected on a device (device_id) get_compliance_states — Compliance policy states for a device (device_id) get_log_requests — Diagnostic log collection requests for a device (device_id) sync — Trigger sync on a device (device_id) bulk_sync — Sync a list of devices (body: {device_ids: [...]}) restart — Restart a device remotely (device_id) lock — Remote lock a device (device_id) rename — Rename a device (device_id, body: {deviceName: "..."}) locate — Trigger GPS location on a device (device_id) reset_passcode — Reset passcode on iOS/Android (device_id) bypass_activation_lock — Bypass iOS Activation Lock (device_id) enable_lost_mode — Enable iOS Lost Mode (device_id, body: {message,phoneNumber,footer}) disable_lost_mode — Disable iOS Lost Mode (device_id) collect_diagnostics— Collect device diagnostics/logs (device_id) defender_scan — Trigger Windows Defender scan (device_id, body: {quickScan: true/false}) defender_update_signatures — Update Defender signatures (device_id) clean_device — Clean Windows device; body: {keepUserData: bool} (device_id, confirm=True) delete — Delete device from Intune (device_id, confirm=True) wipe — Factory reset / wipe device (device_id, confirm=True) retire — Retire device / remove company data (device_id, confirm=True)
Inputs: action (required), top, body, confirm, +5 more. Returns: object
manage_intune_enrollmentA
Manage Intune enrollment restrictions, Apple VPP/DEP tokens, and Android Enterprise.
action values: list_restrictions — List device enrollment configurations/restrictions create_restriction — Create an enrollment restriction (body) update_restriction — Update an enrollment restriction (config_id, body) delete_restriction — Delete a restriction (config_id, confirm=True) assign_restriction — Assign restriction to groups (config_id, body) list_vpp_tokens — List Apple VPP tokens get_vpp_token — Get a VPP token (token_id) sync_vpp_token — Sync a VPP token (token_id) list_dep_tokens — List Apple DEP/ADE onboarding settings sync_dep_token — Sync a DEP/ADE token (token_id) list_android_enterprise — List Android Enterprise account settings get_failures_report — Export enrollment failures report list_dep_profiles — List enrollment profiles for a DEP token (token_id)
Inputs: action (required), top, body, confirm, +2 more. Returns: object
manage_intune_rbacA
Manage Intune RBAC role definitions and role assignments.
action values: list_roles — List all role definitions (built-in + custom) get_role — Get role definition details (role_id) create_role — Create a custom role (body) update_role — Update a custom role (role_id, body) delete_role — Delete a custom role (role_id, confirm=True) list_assignments — List all role assignments create_assignment — Assign role to user/group with scope (body) delete_assignment — Remove a role assignment (assignment_id, confirm=True) list_resource_operations — List all available RBAC resource actions (permission strings)
Inputs: action (required), top, body, confirm, +2 more. Returns: object
manage_intune_reportsC
Intune reports, endpoint analytics and export jobs.
action values: compliance_report — Device compliance summary config_profile_status — Deployment status for a config profile (policy_id) compliance_policy_status — Deployment status for a compliance policy (policy_id) app_install_status — App install summary (app_id) license_usage — License usage summary hardware_inventory — Hardware inventory export job malware_report — Windows protection / malware state malware_on_device — Detected malware on a device (device_id) device_protection_overview — Device protection status overview endpoint_analytics_score — Endpoint Analytics baseline scores startup_performance — Device startup performance data app_reliability — Application reliability/crash scores work_from_anywhere — Work From Anywhere readiness report app_inventory — App inventory across all devices certificate_report — Device certificate status report co_management_report — Co-management eligibility/status encryption_report — Device encryption status export enrollment_failures — Enrollment failures report
Inputs: action (required), top, body, app_id, +2 more. Returns: object
manage_intune_scriptsA
Manage Intune PowerShell scripts, proactive remediations and macOS shell scripts.
script_type: powershell | remediation | macos
action values: list — List scripts (script_type) get — Get script details (script_id, script_type) create — Upload a new script (body, script_type) update — Update a script (script_id, body, script_type) delete — Delete a script (script_id, script_type, confirm=True) assign — Assign a script to groups (script_id, body, script_type) get_status — Device run states for a script (script_id, script_type)
Inputs: action (required), top, body, confirm, +2 more. Returns: object
manage_security_baselinesA
View Intune security baseline templates and deployed profiles.
action values: list_templates — List all security baseline templates list_profiles — List deployed security baseline profiles get_status — Get device deployment status for a profile (profile_id)
Inputs: action (required), top, profile_id. Returns: object
manage_settings_catalogA
Manage Intune settings catalog configuration policies.
action values: list — List all settings catalog policies get — Get policy details (policy_id) create — Create a settings catalog policy (body) update — Update a settings catalog policy (policy_id, body) delete — Delete a policy (policy_id, confirm=True) assign — Assign policy to groups (policy_id, body: {assignments:[...]})
Inputs: action (required), top, body, confirm, +1 more. Returns: object
manage_tenant_adminC
Tenant administration — org info, service health, directory roles, subscriptions, terms of use.
action values: get_org_info — Get organization/tenant information get_domains — List tenant domains get_service_health — M365 service health status overview get_service_issues — Current/recent service issues get_message_center — Message center posts/advisories get_planned_maintenance — Planned maintenance events list_directory_roles — List active directory roles get_role_members — List members of a directory role (role_id) get_global_admins — List Global Administrator members assign_directory_role — Assign directory role to user/group (role_id, body) remove_directory_role_member — Remove member from role (role_id, member_id, confirm=True) get_subscriptions — List subscribed license SKUs get_security_defaults — Check security defaults status list_terms_of_use — List Terms of Use agreements create_terms_of_use — Create a Terms of Use agreement (body) get_cross_tenant_policy — Get cross-tenant access (B2B) policy
Inputs: action (required), top, body, confirm, +3 more. Returns: object
manage_windows_updateA
Manage Windows Update rings and feature/quality/driver update profiles.
action values: list_update_rings — List all Windows update rings get_update_ring — Get update ring details (policy_id) create_update_ring — Create an update ring (body) update_update_ring — Modify an update ring (policy_id, body) delete_update_ring — Delete an update ring (policy_id, confirm=True) list_feature_updates — List Windows feature update profiles get_feature_update — Get a feature update profile (policy_id) create_feature_update — Create a feature update profile (body) list_quality_updates — List quality/expedite update policies list_driver_updates — List driver update profiles
Inputs: action (required), top, body, confirm, +1 more. Returns: object
start_interactive_sign_inB
Start user sign-in flow (device code) and return sign-in instructions.
Inputs: no named parameters. Returns: object
test_connectionA
Test the connection to Microsoft Graph API and return tenant information.
Inputs: no named parameters. Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 34 tools
Most domain tools (devices, apps, policies, users, groups) are cleanly separated by resource, and action lists disambiguate well. However the auth cluster has genuine overlap: complete_interactive_login is an explicit 'compatibility wrapper' for complete_interactive_sign_in, and authenticate_mcp_session/connect_intune_mcp_server/test_connection blur together. Status/report operations also duplicate each other (e.g. config_profile_status in manage_intune_reports vs get_status in manage_configuration_profiles, and delete_intune spanning both device tools).
All names use consistent snake_case with a predominantly verb_noun pattern (manage_*, get_*, list_*, create_*), and the manage_<domain> convention is applied predictably across the large domain tools. Minor deviations exist (test_connection, discover_graph_operations) but nothing chaotic.
34 tools is heavy by the usual 3-15 guideline, though the domain (full Intune MDM plus Entra ID) is genuinely vast and each manage_* tool consolidates many actions via parameters. The seven-tool authentication cluster in particular feels bloated and could be consolidated, pushing the count above what the task strictly requires.
Coverage is very broad—CRUD, assignment, and status for nearly every Intune and Entra resource, plus lifecycle, reporting, and RBAC surfaces. Some gaps remain: security baselines are read-only (no create/assign), ADMX lacks update, and feature-update/quality/driver update profiles are partially list-only, but agents can work around these.
Related MCP Connectors
Official Microsoft MCP Server to query Microsoft Entra data using natural language
Hosted MCP servers for MSP tools: ConnectWise, NinjaOne, Microsoft 365, SentinelOne, Pax8 and more.
One OAuth connector for your team's remote MCP servers, with Tool Packs, guardrails and logs.
An MCP server that provides an API to LLMs to manage their JumpCloud resources.
Related MCP Servers
- AlicenseAqualityBmaintenance22 consolidated MCP tools for email, calendar, contacts, folders, rules, categories, and settings with safety controls (dry-run preview, rate limiting, recipient allowlists) and MCP annotations on every tool. Works with personal Outlook.com and work/school Microsoft 365 accounts.22869 npm41MIT
- AlicenseCqualityBmaintenanceA FastMCP server for interacting with Microsoft Entra ID via the Microsoft Graph API, enabling management of users, groups, sign-in logs, MFA, applications, devices, conditional access, and more.4825 PyPIMIT
- FlicenseNot gradedqualityDmaintenanceAn MCP server for Microsoft 365 administration using the Microsoft Graph API, enabling user, group, and mailbox management.-
- AlicenseBqualityDmaintenanceMCP server for Microsoft Teams that exposes 73 tools to manage teams, channels, chats, messages, meetings, planner, calendar, apps, tabs, scheduling, search, and authentication via the Graph API.737 npmMIT