EndpointRead-MCP

EndpointRead-MCP

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

Category
Visit Server

README

EndpointRead-MCP

Read-only Model Context Protocol (MCP) server for Microsoft Intune and Entra ID.

EndpointRead-MCP is a safe, non-destructive Graph MCP surface that supports list/get/search/reporting operations only. It is designed for tenant visibility, audits, troubleshooting, and health reporting without write actions.

Key Features

  • Read-only Intune and Entra operations.
  • Write actions are blocked by allowlist guards.
  • Built-in report export support for Intune reports.
  • Authentication helper tools for app/delegated/hybrid flows.
  • Metadata discovery tools for available operations.

Security Model

EndpointRead-MCP enforces read-only behavior in tool action dispatch. Destructive operations such as create/update/delete/assign/restart/wipe are not available. If a blocked action is requested, the tool returns an error with allowed actions.

Tool Catalog

Connection and Auth

  • authenticate_mcp_session
  • test_connection
  • get_auth_status
  • start_interactive_sign_in
  • complete_interactive_sign_in
  • complete_interactive_login
  • connect_intune_mcp_server
  • get_intune_overview

Intune and Entra Read Tools

  • manage_intune_devices
  • manage_device_encryption
  • manage_intune_apps
  • manage_app_config_mam
  • manage_compliance_policies
  • manage_configuration_profiles
  • manage_settings_catalog
  • manage_admx_policies
  • manage_endpoint_security
  • manage_security_baselines
  • manage_windows_update
  • manage_intune_scripts
  • manage_intune_enrollment
  • manage_autopilot
  • manage_filters_tags
  • manage_intune_rbac
  • manage_cloud_pc
  • manage_entra_users
  • manage_entra_groups
  • manage_entra_devices
  • manage_conditional_access
  • manage_identity_protection
  • manage_app_registrations
  • manage_tenant_admin

Reporting Tool

  • manage_intune_reports
    • list_available_reports
    • export_report (generic reportName support)
    • Summary and scoped report actions (compliance, app install, analytics, encryption, enrollment failures, and related export jobs)

Catalog and Discovery

  • list_graph_catalog_operations
  • describe_graph_catalog_operation
  • discover_graph_operations

Permissions

Use least privilege and only grant the scopes your scenario needs. Typical read permissions used by this server include:

  • Organization.Read.All
  • User.Read.All
  • Group.Read.All
  • AuditLog.Read.All
  • Device.Read.All
  • DeviceManagementManagedDevices.Read.All
  • DeviceManagementConfiguration.Read.All
  • DeviceManagementApps.Read.All
  • DeviceManagementServiceConfig.Read.All
  • DeviceManagementRBAC.Read.All

For report exports and advanced analytics, additional Intune read scopes may be required depending on endpoint/report type.

Configuration

Create .env in repo root (never commit it):

TENANT_ID=<your-tenant-id>
CLIENT_ID=<your-app-id>
CLIENT_SECRET=<your-client-secret>

AUTH_MODE=app
REQUIRE_USER_LOGIN=false
USER_AUTH_SCOPES=User.Read,DeviceManagementManagedDevices.Read.All
INTERACTIVE_LOGIN_MODE=browser
TOKEN_CACHE_PATH=.msal_token_cache.bin

Installation

cd E:\MCP\EndpointRead-MCP
py -3.13 -m venv .venv
.venv\Scripts\Activate.ps1
pip install -r requirements.txt
pip install -e .

Run

cd E:\MCP\EndpointRead-MCP
.venv\Scripts\python.exe -m intune_mcp_server.server

VS Code MCP Config Example

{
	"servers": {
		"EndpointRead-MCP": {
			"type": "stdio",
			"command": "E:\\MCP\\EndpointRead-MCP\\.venv\\Scripts\\python.exe",
			"args": ["-m", "intune_mcp_server.server"],
			"envFile": "E:\\MCP\\EndpointRead-MCP\\.env"
		}
	}
}

Secret Hygiene

  • .env is ignored by .gitignore.
  • Do not commit tenant secrets, access tokens, or cache files.
  • Rotate credentials if secrets are ever exposed.

Project Base

  • Derived from: IntuneRW-Core
  • Adapted to enforce read-only action allowlists
  • Includes one consolidated read reporting tool for Intune exports

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured
E2B

E2B

Using MCP to run code via e2b.

Official
Featured