miradore-mcp
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., "@miradore-mcp Which devices haven't checked in this week?"
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.
miradore-mcp
An MCP server that connects Claude (or any MCP client) to Miradore Online mobile device management.
Ask things like:
"Which devices haven't checked in this week?"
"Give me a health summary of the fleet."
"What apps and profiles are on Jim's iPad?"
"I just added serial C02XXXXXXXX to Apple Business Manager for jim@example.com. Sync it, pre-assign it to Jim, and tell me when it enrolls and whether it got its apps."
It uses both of Miradore's APIs: API v1 for rich device inventory and queries, and API v2 for actions like syncing from Apple, deploying apps and remote commands.
Not affiliated with or endorsed by Miradore Ltd.
Requirements
Node.js 20 or newer
A Miradore Online plan that includes API access (the Free plan does not)
A Miradore API key: in the Miradore console go to System > Infrastructure diagram, hover the API icon and choose Create key. Create a dedicated key for this server so you can revoke it independently.
Related MCP server: fortigate-mcp
Setup
You need two values:
Variable | What it is |
| Your site name: the |
| The API key you created |
Claude Code
claude mcp add miradore \
-e MIRADORE_SITE=your-site \
-e MIRADORE_API_KEY=your-key \
-- npx -y github:ajthom90/miradore-mcpClaude Desktop
Add this to claude_desktop_config.json (Settings > Developer > Edit Config):
{
"mcpServers": {
"miradore": {
"command": "npx",
"args": ["-y", "github:ajthom90/miradore-mcp"],
"env": {
"MIRADORE_SITE": "your-site",
"MIRADORE_API_KEY": "your-key"
}
}
}
}From a local clone
git clone https://github.com/ajthom90/miradore-mcp.git
cd miradore-mcp
npm install # also builds dist/Then point your client at node /path/to/miradore-mcp/dist/index.js with the same environment variables.
Safety modes
Variable | Default | Effect |
|
|
|
|
|
|
Every tool carries MCP annotations (readOnlyHint / destructiveHint), so clients like Claude Code can ask before running anything that changes Miradore.
Tools
Monitoring (read-only)
Tool | Purpose |
| Filter devices by platform, status, tag, user, name, model, serial, or days since last check-in |
| Full details for one device, plus optional apps, installed profiles, deployed config profiles, security, storage, pending OS updates, hardware, management, and custom attributes |
| Fleet overview: counts, OS versions, and devices that are stale, unassigned, without a passcode, or unencrypted |
| Recent enrollments, including Apple Automated Device Enrollment ( |
| Users, and serials pre-assigned to them |
| Lookups for IDs used by the setup tools |
| An app and its deployment methods |
| Location history and suspended devices |
| Advanced: any API v1 read with your own |
Setup and changes (hidden when MIRADORE_READ_ONLY=true)
sync_apple_dep_devices, assign_device_identifiers_to_user, remove_device_identifier_from_user, add_device_tag, remove_device_tag, deploy_config_profile, remove_config_profile, deploy_application, update_device, set_device_custom_attribute, create_user, update_user, add_user_tags, remove_user_tag, activate_device
Destructive (only when MIRADORE_ALLOW_DESTRUCTIVE=true)
lock_device, reboot_device, enable_lost_mode, disable_lost_mode, wipe_device, retire_device, delete_user
What the Miradore API can't do
The API cannot list Apple Business Manager devices that haven't enrolled yet, assign an Automated Device Enrollment profile, or manage business policies. Do those in the Miradore console. A typical new-Apple-device flow:
Add the device to Apple Business Manager (e.g. with Apple Configurator) and assign the enrollment profile in Miradore.
Ask Claude to
sync_apple_dep_devicesandassign_device_identifiers_to_userwith the serial.Power the device on. Claude can watch
list_enrollments/list_devicesand then check its apps and profiles withget_device.
Privacy and security
The API key is read from environment variables only. It is never logged, and is scrubbed from every error message. API v1 sends the key in the URL query string, so URLs echoed by network errors are redacted too.
Only
https://base URLs are accepted.Device and user data returned by the tools goes to the AI model you're using, the same as anything else you show it. Use
MIRADORE_READ_ONLYand a dedicated, revocable key if that's a concern.Your MCP client stores the environment variables in its config file (e.g.
~/.claude.jsonorclaude_desktop_config.json). Keep that file private.
Checking it against your account
To confirm every read tool works with your Miradore site:
cp .env.example .env # fill in your values; .env is git-ignored
npm run live-checkThe script runs only read-only tools. It prints pass/fail, counts and field names, never values, so the output is safe to share in a bug report.
Development
npm install
npm test # unit tests with mocked Miradore responses
npm run typecheck
npm run buildTest fixtures use only invented data. Please never commit real site names, keys, serial numbers or user details.
API references: API v1 specification and the API v2 Swagger.
License
Available Tools
28 toolsactivate_deviceReactivate retired deviceBIdempotent
Reactivate a device that was previously retired in Miradore.
Inputs: device_id (required).
add_device_tagAdd tag to deviceAIdempotent
Add a tag to a device. Tags group devices and can trigger business policies that install apps and profiles.
Inputs: tag (required), device_id (required).
add_user_tagsAdd tags to userCIdempotent
Assign one or more tags to a user.
Inputs: tags (required), email (required).
assign_device_identifiers_to_userPre-assign devices to a userAIdempotent
Pre-assign one or more device identifiers (serial numbers, IMEIs, etc.) to a user, so when those devices enroll they are linked to the user automatically. Use this before powering on a new device.
Inputs: email (required), identifiers (required).
create_userCreate userC
Create a Miradore user that devices can be assigned to.
Inputs: email (required), last_name (required), first_name (required), middle_name, +1 more.
deploy_applicationDeploy applicationA
Deploy an application to a device using one of the app's deployment methods. Look the app up with get_application to find its deployment method ID.
Inputs: device_id (required), deployment_method_id (required), managed_configuration_id.
deploy_config_profileDeploy configuration profileB
Deploy a configuration profile (from list_config_profiles) to a device.
Inputs: device_id (required), profile_id (required).
device_health_summaryDevice fleet health summaryARead-only
Summarise the whole fleet in one call: device counts by platform, online status and lifecycle status; OS versions in use; and lists of devices needing attention (not checked in for stale_days or more, no assigned user, passcode not set, encryption not enabled). Good for a daily check-in or 'is anything wrong?'.
Inputs: max_listed, stale_days.
get_applicationGet applicationARead-only
Get an application from the Miradore application catalog by its ID, including its deployment methods (needed for deploy_application). App IDs are visible in the Miradore console URL on the application's page.
Inputs: id (required).
get_deviceGet device detailsARead-only
Get one device by its Miradore device ID, with optional detail sections: apps (installed apps), installed_profiles (profiles on an Apple device), deployed_config_profiles (profiles Miradore deployed and their status), security, storage, os_updates (pending Apple updates), hardware, management (client/enrollment info), custom_attributes.
Inputs: id (required), include.
get_device_locationsGet device location historyBRead-only
Get reported locations for a device (only if location tracking is enabled for it). Dates are optional.
Inputs: id (required), end_date, time_zone, start_date.
get_user_device_identifiersGet a user's pre-assigned device identifiersARead-only
List device identifiers (serial numbers, IMEIs, etc.) pre-assigned to a user, so devices are linked to them automatically when they enroll.
Inputs: email (required).
list_config_profilesList configuration profilesARead-only
List configuration profiles defined in Miradore (Wi-Fi, restrictions, email, etc.) with their IDs, for use with deploy_config_profile.
Inputs: os, include_deleted.
list_custom_attributesList custom attribute definitionsARead-only
List custom attributes configured in Miradore (IDs and names), for use with set_device_custom_attribute.
Inputs: no named parameters.
list_devicesList devicesARead-only
List managed devices in Miradore with optional filters. Returns a compact summary per device (id, name, model, serial, platform, OS version, online status, last check-in, user, tags, enrollment type). Retired devices are excluded unless include_retired or status is given. Use get_device for full details on one device.
Inputs: tag, page, rows, filter, +9 more.
list_enrollmentsList enrollmentsBRead-only
List recent device enrollments, newest first. Use type 'DEP' for Apple Automated Device Enrollment. Helpful for confirming that a newly set-up device enrolled.
Inputs: page, rows, type, user_email.
list_suspended_devicesList suspended devicesBRead-only
List devices that are suspended in Miradore.
Inputs: no named parameters.
list_tagsList tagsARead-only
List all tags defined in Miradore. Tags group devices and can drive business policies.
Inputs: no named parameters.
list_usersList usersARead-only
List Miradore users (people devices can be assigned to), optionally filtered by email or name.
Inputs: page, rows, email, name_contains.
query_miradoreAdvanced Miradore queryARead-only
Advanced read-only query against Miradore API v1 for anything the other tools don't cover (e.g. Category, Organization, Location, InvCertificate, ConfigProfileDeployment). 'select' lists attributes using dotted paths (e.g. 'InvDevice.Model', 'User.Email'); 'filters' uses operators eq, ne, gt, ge, lt, le, contains, notcontains, startswith, endswith, isempty, notisempty joined with and/or, quoting values with spaces. 'orderby' fields must also be selected. See the Miradore API v1 specification for attribute names.
Inputs: item (required), id, page, rows, +3 more.
remove_config_profileRemove configuration profileAIdempotent
Remove a configuration profile that Miradore deployed from a device.
Inputs: device_id (required), profile_id (required).
remove_device_identifier_from_userRemove a pre-assigned device from a userBIdempotent
Remove a pre-assigned device identifier (e.g. serial number) from a user.
Inputs: email (required), identifier (required).
remove_device_tagRemove tag from deviceCIdempotent
Remove a tag from a device.
Inputs: tag (required), device_id (required).
remove_user_tagRemove tag from userCIdempotent
Remove a tag from a user.
Inputs: tag (required), email (required).
set_device_custom_attributeSet device custom attributeAIdempotent
Set a custom attribute value on a device. Find attribute IDs with list_custom_attributes.
Inputs: value (required), device_id (required), attribute_id (required).
sync_apple_dep_devicesSync devices from Apple Business ManagerAIdempotent
Ask Miradore to pull the latest device list from Apple Business/School Manager (Automated Device Enrollment / DEP) now instead of waiting for the scheduled sync. Rate limited by Miradore to once per minute. Note: assigning an enrollment profile to the synced devices must still be done in the Miradore console.
Inputs: update_all.
update_deviceUpdate device detailsAIdempotent
Update a device's assigned user, friendly name, ownership or category. Only the fields you give are changed. Use add_device_tag / remove_device_tag for tags.
Inputs: device_id (required), category, ownership, user_email, +3 more.
update_userUpdate userAIdempotent
Update an existing Miradore user's name or phone number (looked up by email; email itself can't be changed).
Inputs: email (required), last_name, first_name, middle_name, +1 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 28 tools
Most tools target a distinct resource+action (devices, users, tags, config profiles, apps, enrollments, DEP), and descriptions explicitly cross-reference each other (e.g. list_custom_attributes -> set_device_custom_attribute). A few boundaries blur: list_suspended_devices is largely a filtered list_devices, device_health_summary overlaps with list_devices filters, get_device_locations duplicates a get_device detail area, and query_miradore is a catch-all that could tempt an agent away from the specific read tools. These are minor and the descriptions steer correctly.
The dominant pattern is consistent snake_case verb_noun (list_devices, get_device, add_device_tag, deploy_application, update_user), which is easy to predict. Deviations are minor but present: device_health_summary is noun-first with no verb, query_miradore uses a domain suffix rather than a resource noun, and tag verbs are inconsistently pluralized (add_user_tags vs remove_user_tag).
At 28 tools the surface sits above the comfortable band, though the domain is genuinely broad (devices, users, tags, config profiles, applications, enrollments, DEP sync) and no two tools are redundant. The count is defensible but heavy: several list_* reads could be consolidated as filters on a single listing tool.
Core MDM workflows are covered, but the lifecycle is asymmetric: activate_device exists to un-retire devices while no retire_device is offered, deploy_application and deploy_config_profile have removal counterparts only for profiles (no app removal), tags can be listed and attached but never created or deleted, and there is no list_applications (get_application requires an ID from the console URL). Users can be created and updated but not deleted or deleted-from-device.
Maintenance
Related MCP Connectors
Read devices, users and policies; scan, lock, restart devices and install apps in Hexnode.
- DNS-DATA RemoteDeprecatedcom.dns-data
Connect AI assistants to authorized Windows and macOS devices for files, commands, and management.
Connect a user's Google Calendar, Gmail, Drive, Notion or Slack so your agent reads their data.
Read-only access to your own bank, card and brokerage accounts for Claude, ChatGPT and other AI agents: balances, transactions, spending, subscriptions, cashflow and investment holdings. It can never move money.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceConnects Claude to Zoho CRM with read-only access, enabling natural language queries to search records, list modules, retrieve field information, and count records using OAuth authentication.ISC
- FlicenseAqualityDmaintenanceConnects Claude Desktop to FortiGate firewalls via REST API for read-only config inspection and safe write operations with dry-run confirmation.18-
- AlicenseNot gradedqualityCmaintenanceConnects Claude to Meta Ads, enabling full management of ad accounts including campaigns, creatives, budgets, and reporting. Handles authentication, token minting, and MCP server registration automatically.MIT
- FlicenseAqualityDmaintenanceConnects Claude Desktop to a Qlik Cloud tenant for admin operations, allowing users to manage resources like spaces, apps, and automations via natural language.6-