Fleet MCP server
io.github.SimplyMinimal/fleet-mcp·v1.1.3·5 starsAn MCP server that provides tools for managing and monitoring your Fleet Device Management instance.
5 stars183 downloads/wk
Reviews
Write oneNobody has reviewed Fleet yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Fleet tools (100, 38 write)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
fleet_add_labels_to_hostAdd labels to a host.
fleet_cancel_batch_scriptwrite actionCancel a batch script execution.
fleet_cancel_host_activitywrite actionCancel an upcoming activity for a specific host.
fleet_cancel_querywrite actionCancel a running asynchronous query.
fleet_create_custom_variablewrite actionCreate a custom variable for use in scripts and configuration profiles.
fleet_create_invitewrite actionCreate a new user invite in Fleet.
fleet_create_labelwrite actionCreate a new label in Fleet.
fleet_create_packwrite actionCreate a new query pack in Fleet.
fleet_create_policywrite actionCreate a new compliance policy in Fleet.
fleet_create_querywrite actionCreate a new saved query in Fleet.
fleet_create_scriptwrite actionCreate and upload a new script.
fleet_create_setup_assistantwrite actionCreate or update an MDM Apple Setup Assistant.
fleet_delete_bootstrap_packagewrite actionDelete a bootstrap package for a team.
fleet_delete_custom_variablewrite actionDelete a custom variable from Fleet.
fleet_delete_hostwrite actionDelete a host from Fleet.
fleet_delete_invitewrite actionDelete a pending invite from Fleet.
fleet_delete_labelwrite actionDelete a label from Fleet by name.
fleet_delete_mdm_profilewrite actionDelete an MDM configuration profile.
fleet_delete_packwrite actionDelete a pack from Fleet by name.
fleet_delete_policywrite actionDelete a policy from Fleet.
fleet_delete_querywrite actionDelete a saved query from Fleet.
fleet_delete_setup_assistantwrite actionDelete the MDM Apple Setup Assistant.
fleet_get_batch_scriptGet details of a batch script execution.
fleet_get_bootstrap_metadataGet metadata about a bootstrap package for a team.
fleet_get_bootstrap_summaryGet aggregated summary about bootstrap package deployment.
fleet_get_carveGet detailed information about a specific carve session.
fleet_get_carve_blockGet a specific block of data from a carve session.
fleet_get_certificateGet the Fleet server certificate chain.
fleet_get_configGet the current Fleet application configuration.
fleet_get_device_infoGet device information using a device token.
fleet_get_enroll_secretsGet the enrollment secrets configuration.
fleet_get_filevault_summaryGet FileVault encryption summary.
fleet_get_hostGet detailed information about a specific host.
fleet_get_host_by_identifierGet host by hostname, UUID, or hardware serial number.
fleet_get_host_device_mappingGet device mapping information for a specific host.
fleet_get_host_encryption_keyGet disk encryption recovery key for a specific host.
fleet_get_host_macadminsGet macadmins data (Munki, MDM profiles) for a specific host.
fleet_get_host_mdmGet MDM information for a specific host.
fleet_get_host_mdm_profilesGet MDM profiles installed on a specific host.
fleet_get_labelGet detailed information about a specific label.
fleet_get_mdm_command_resultsGet results of MDM commands.
fleet_get_mdm_profiles_summaryGet summary of MDM profile deployment status.
fleet_get_packGet detailed information about a specific pack.
fleet_get_policy_resultsGet compliance results for a specific policy.
fleet_get_queryGet details of a specific saved query.
fleet_get_query_reportGet the latest stored results from a SCHEDULED query.
fleet_get_query_resultsRetrieve results from a previously started asynchronous query.
fleet_get_scriptGet details of a specific script including its contents.
fleet_get_script_resultGet the result of a script execution.
fleet_get_setup_assistantGet the MDM Apple Setup Assistant configuration.
fleet_get_versionGet the Fleet server version information.
fleet_health_checkCheck Fleet server connectivity and authentication.
fleet_list_activitiesList activities in Fleet.
fleet_list_async_queriesList all asynchronous query jobs.
fleet_list_batch_script_hostsList hosts targeted in a batch script execution.
fleet_list_batch_scriptsList batch script executions.
fleet_list_carvesList file carving sessions in Fleet.
fleet_list_custom_variablesList all custom variables that can be used in scripts and profiles.
fleet_list_host_certificatesList certificates for a specific host with pagination.
fleet_list_host_past_activitiesList past activities for a specific host.
fleet_list_host_scriptsList scripts available for a specific host.
fleet_list_host_upcoming_activitiesList upcoming activities for a specific host.
fleet_list_hostsList hosts in Fleet with optional filtering and pagination.
fleet_list_invitesList all pending user invites in Fleet.
fleet_list_labelsfleet_list_mdm_apple_installersList all Apple MDM installers.
fleet_list_mdm_commandsList MDM commands that have been executed.
fleet_list_mdm_devicesList all MDM-enrolled Apple devices.
fleet_list_mdm_profilesList MDM configuration profiles.
fleet_list_packsList all query packs in Fleet with optional filtering and pagination.
fleet_list_policiesList policies with optional filtering by team and name.
fleet_list_queriesList all saved queries in Fleet.
fleet_list_scheduled_queriesList scheduled queries in a specific pack.
fleet_list_scriptsList all scripts available in Fleet.
fleet_lock_deviceLock an MDM-enrolled device remotely.
fleet_lock_hostLock a host device remotely.
fleet_modify_scriptModify an existing script.
fleet_query_hostwrite actionRun an ad-hoc live query against a specific host and get results.
fleet_query_host_by_identifierwrite actionRun an ad-hoc live query against a host identified by UUID/hostname/serial.
fleet_refetch_hostForce a host to refetch and update its data immediately.
fleet_remove_labels_from_hostwrite actionRemove labels from a host.
fleet_run_batch_scriptwrite actionRun a script on multiple hosts in a batch.
fleet_run_live_query_with_resultswrite actionfleet_run_saved_querywrite actionRun a saved query against specified hosts.
fleet_run_scriptwrite actionRun a script on a specific host.
fleet_search_hostsSearch for hosts by hostname, UUID, hardware serial, or IP address.
fleet_transfer_hostswrite actionTransfer hosts to a different team.
fleet_unenroll_host_mdmUnenroll a host from MDM.
fleet_unlock_hostUnlock a host device remotely.
fleet_update_configwrite actionUpdate the Fleet application configuration.
fleet_update_enroll_secretswrite actionUpdate the enrollment secrets configuration.
fleet_update_invitewrite actionUpdate an existing invite in Fleet.
fleet_update_labelwrite actionUpdate an existing label in Fleet.
fleet_update_packwrite actionUpdate an existing pack in Fleet.
fleet_update_policywrite actionUpdate an existing policy in Fleet.
fleet_upload_bootstrap_packagewrite actionUpload a bootstrap package for MDM enrollment.
fleet_upload_mdm_apple_installerwrite actionUpload a new Apple MDM installer package.
fleet_upload_mdm_profilewrite actionUpload a new MDM configuration profile.
fleet_verify_inviteVerify an invite token and get invite details.
fleet_wipe_device
Public scan report
scanner v0.1.10 · 2026-09-28 · same rubric, same numbers if you re-run it
- Code scan35 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitystatic API keys via environment variables6/15
- Maintenancelast push 209 days ago4/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
How Fleet compares
Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 66/100
- higher than 23% of 48,255 servers
- Tools
- 100
- the typical server has 7
- Tools that change things
- 38%
- typical: 0%. Fewer write tools means less an agent can break
- GitHub stars
- 5
- more than 83% of 28,688 servers
- Downloads a week
- 183
- more than 74% of 12,191 servers with a package
What its tools let an agent do: 62 read · 38 change
Install Fleet in Claude Code, Cursor or VS Code
claude mcp add fleet-mcp -- uvx fleet-mcp
What the publisher says
From the Fleet repository's README, as published. We do not edit it. Read it on GitHub
<!-- mcp-name: io.github.SimplyMinimal/fleet-mcp -->
Fleet MCP
A Model Context Protocol (MCP) server that enables AI assistants to interact with Fleet Device Management for device management, security monitoring, and compliance enforcement.
Demo
📸 Show/Hide Demo Screenshots
<!-- Querying host information and running live queries -->
<!-- Managing policies and compliance -->
<!-- Software inventory and vulnerability tracking -->
<!-- Advanced fleet management operations -->
Features
- Host Management: List, search, query, and manage hosts across your fleet
- Live Query Execution: Run osquery queries in real-time against hosts
- Policy Management: Create, update, and monitor compliance policies
- Software Inventory: Track software installations and vulnerabilities across devices
- Team & User Management: Organize hosts and users into teams
- Osquery Table Discovery: Dynamic discovery and documentation of osquery tables
- Read-Only Mode: Safe exploration with optional SELECT-only query execution
- Activity Monitoring: Track Fleet activities and audit logs
Quick Start
Just want to dive right in? This will set up fleet-mcp with read-only access and SELECT query execution enabled. Just replace the FLEETSERVERURL and FLEETAPITOKEN with your own.
{
"mcpServers": {
"fleet": {
"command": "uvx",
"args": ["fleet-mcp", "run"],
"env": {
"FLEET_SERVER_URL": "https://your-fleet-instance.com",
"FLEET_API_TOKEN": "your-api-token",
"FLEET_READONLY": "true",
"FLEET_ALLOW_SELECT_QUERIES": "true"
}
}
}
}See the Available Tools section below for a complete list of tools.
<!-- Local Installation
From PyPI
pip install fleet-mcpFrom Source
git clone https://github.com/SimplyMinimal/fleet-mcp.git
cd fleet-mcp
pip install -e .Using uv (recommended for development)
git clone https://github.com/SimplyMinimal/fleet-mcp.git
cd fleet-mcp
uv sync --dev-->
<!-- ### 1. Initialize Configuration
fleet-mcp init-configThis creates a fleet-mcp.toml configuration file. Edit it with your Fleet server details:
[fleet]
server_url = "https://your-fleet-instance.com"
api_token = "your-api-token"
readonly = true # Safe default - enables read-only mode
allow_select_queries = false # Set to true to allow SELECT queries2. Test Connection
fleet-mcp test3. Run the MCP Server
fleet-mcp runMCP Client Configuration
Fleet MCP can be integrated with various MCP-compatible clients. Below are configuration examples for popular clients.
Prerequisites
Before configuring any MCP client, ensure you have:
- Install uv (recommended) or pip:
# Install uv (recommended)
curl -LsSf https://astral.sh/uv/install.sh | sh
# Or use pip
pip install fleet-mcpOption 1)
- Fleet API Token: Generate an API token from your Fleet instance:
- Log into Fleet UI
- Navigate to: My account → Get API token
- Copy the token for use in configuration
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Fleet: common questions
- Is Fleet MCP server safe?
- With care: it is graded C, so read the findings first (66/100). Read the Fleet safety report
- How do I install Fleet?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Fleet need an API key?
- Yes. The registry entry asks for
FLEET_API_TOKEN. - Is Fleet maintained?
- The last commit was 246 days ago (2026-03-03). The latest release is v1.1.3.
- How does Fleet compare with other MCP servers?
- safety score 66/100 (higher than 23% of 48,255 servers); tools 100 (the typical server has 7); tools that change things 38% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.