intune-mcp
intune-mcp
MCP-Server, der schreibgeschützten Zugriff auf Microsoft Intune über die Microsoft Graph API bereit. Ermöglicht Claude (oder Jedem beliebigen MCP-Client), verwaltete Geräte, Apps, Compliance-Richtlien und Konfigurationsprofile abzufragen.
Voraussetzungen
Node.js >= 18
Eine Azure App (Entra ID) App-Registrierung mit delegierten Berechtigungen
Azure CLI (
az) für die automatisierte App-Registrierung (optional)
Related MCP server: azure-query-mcp
Schnellstart
1. Die Azure AD-App registrieren
# Automated (requires Azure CLI + admin consent permissions)
.\scripts\register-app.ps1 -WriteEnv
# Or manually: create a public client app in Entra ID with these delegated permissions:
# - DeviceManagementManagedDevices.Read.All
# - DeviceManagementApps.Read.All
# - DeviceManagementConfiguration.Read.All
# Then create .env:
# AZURE_CLIENT_ID=<your-app-client-id>
# AZURE_TENANT_ID=<your-tenant-id>2. Installieren und Erstellen
npm install
npm run build3. Authentifizieren
npm run authFolgen Sie der Gerätecode-Eingabeaufforderung, um sich mit Ihrem Microsoft-Konto anzumelden.
4. Ausführen
# Stdio mode (for local MCP clients like Claude Code)
npm start
# HTTP mode (for shared/remote deployment)
npm run start:httpTransportmodi
Modus | Flag | Verwendungszweck |
Stdio | – | Lokal, Einzelbenutzer, bereits authentifiziert |
HtJTP |
| Gemeinsame Beereitstellung, mehrere Sitzungen, Authentifizierung pro Sitzung |
Der HTTP-Modus startet einen Express-Server auf Port 3000 (konfigurierbar über --port oder die PORT-Umgebungsvariable) mit den folgenden Endpunkten:
Pfad | Methode | Zweck |
| GET | MCP JSON-RPC (StreamableHTTP) |
| GET | SSE-Stream für Server-Benachrichtigungen |
| DELETE | Sitzungsbeendigung |
| POST | HealtCheck (Status, Version, Sitzungen Anzahl) |
Verfügbare Tools
Kategorie | Tool | Beschreibung |
Autentifizierung |
| Gerätecode-Anmeldung (nur HTTP-Modus) |
Geräte |
| Verwaltete Geräted with Daten via OData -Filter auflisten |
Geräte |
| Gerätedetails nach abrufen |
Geräte |
| Suchen Sie nach Name, UPN, Seriennummer |
Apps |
| Erkannte Apps auf einem Gerät (BETA-API) |
Apps |
| LOB/Store/Web-Apps in InIn |
Compliance |
| Alle Compliance-Richtlinen |
Compliance |
| Geräte-CompMpliance-Status |
Compliance |
| Gerät mit Nicht-Compliance-Status |
Compliance |
| Status pro Gerät für die Richtlinie |
Komfigurationsprofile |
| Geräteonfigurationsprofile |
Komfigurationsprofile | get_profe_device_statuses | Status pro Gerät für ein Profil |
Komfigurationsprofile |
| Profilzuständ auf einem Gerät |
Erfordandertliche Berchtigend (Delet)
DeviceManagementManagedDevices.ReadAll
DeviceManagementApps.ReadAll
DeviceManagementConfiguration.ReadAll
Entwickler
npm run dev # TypeScript watch mode
npm test # Run unit tests
npm run build # Compile to dist/Live-Validierung 12
Testen Sie die Ende aller 12 Endpunkte gegen einen echten Intune-Mandanten (erfordert eine vorherige Authentifizierung):
node scripts/validate-tools.mjsArchitektur
MCP Client -> Transport (stdio | HTTP) -> McpServer -> Tool Handlers -> GraphClient -> Microsoft Graph APIAuthentifizierung: MSAL-Gerätecode-Flow, dateibasierter Token-Cache unter
~/.intune-mcp/token-cache.jsonLogging: Strukturierte JSON-Zeilen unter
~/.intune-mcp/logs/intune-mcp.log(Rotation bei 10 MB, 5 Dateien)Graph-Client: Automatische Wiederholung mit exponentiellem Backoff (429, 401, 5xx),
Retry-After-Unterstützung, 30-Sekunden-Anfrage-Timeout, automatische Paginierung bis zu 10 SeitenHTTP-Modus: Authentifizierung pro Sitzung, 30-Minuten-Sitzungs-TTL, maximal 100 Sitzungen
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceProvides read-only access to Microsoft 365 services including SharePoint, OneDrive, Outlook, Teams, and Calendar through the Microsoft Graph API, enabling users to search, browse, and retrieve content across their M365 suite.1MIT
- AlicenseAqualityCmaintenanceEnables read-only querying of Azure Log Analytics and Azure Resource Graph through MCP, supporting KQL queries, workspace discovery, and resource inventory exploration with Azure RBAC authentication.52MIT
- AlicenseBqualityBmaintenanceA read-only MCP server for Microsoft Intune and Entra ID that enables list, get, search, and reporting operations for tenant visibility, audits, troubleshooting, and health reporting without write actions. It includes authentication helpers, report exports, and metadata discovery tools.36MIT
- FlicenseNot gradedqualityCmaintenanceRead-only MCP server for Microsoft Entra ID (Azure AD) that enables querying user sign-in logs, group memberships, and assigned Microsoft 365 licenses via Microsoft Graph API. Provides security and audit visibility without any write operations.
Related MCP Connectors
XFA's remote MCP server — query device posture, compliance, policies & CVEs. Read-only.
Read-only MCP server for ClassQuill, a tutoring-business-management platform.
Official Microsoft MCP Server to query Microsoft Entra data using natural language
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/wborcherdt26/Intune-MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server