jamf
Model Context Protocol server enabling AI assistants (Claude, ChatGPT) to manage Jamf Pro through natural language. Search devices, deploy policies, execute scripts, manage profiles, and generate compliance reports using conversational queries.
claude mcp add --transport stdio dbankscard-jamf-mcp-server node /absolute/path/to/jamf-mcp-server/dist/index-code.js \ --env JAMF_URL="https://your-jamf-instance.jamfcloud.com" \ --env JAMF_CLIENT_ID="your-api-client-id" \ --env JAMF_CLIENT_SECRET="your-api-client-secret" \ --env JAMF_MAX_CONCURRENCY="5"
How to use
This Jamf Pro MCP Server provides a Code Mode workflow for interacting with Jamf Pro APIs. In Code Mode, you configure two MCP tools: jamf_search to discover API methods and jamf_execute to run JavaScript in a sandboxed VM that uses a typed Jamf API client. Use jamf_search to locate available endpoints and see method signatures, then craft code in jamf_execute to perform multi-step workflows across the Jamf Pro API. The sandboxed execution context enforces safety features such as plan/apply capability checks, concurrency throttling, and an explicit approval gate for high-impact actions. The result is a compact, token-efficient tool surface that can orchestrate complex tasks without exposing every API endpoint as a separate tool.
How to install
Prerequisites:
- Node.js v18 or later installed on the host
- npm or pnpm for package installation
Step-by-step:
-
Clone the repository: git clone https://github.com/dbankscard/jamf-mcp-server.git cd jamf-mcp-server
-
Install dependencies: npm install
-
Build the project (Code Mode is used by default in the Code Mode entry): npm run build
-
Start the server (as Code Mode in MCP config):
- Ensure JAMF_URL, JAMF_CLIENT_ID, and JAMF_CLIENT_SECRET are configured in your environment or via your deployment system
- Use the provided mcp_config snippet to register jamf-code with your MCP runtime
- Run the MCP runtime to connect to the jamf-code server
-
Validate installation by invoking jamf_search and jamf_execute through your MCP client and confirming responses from Jamf Pro
Prerequisites summary:
- Node.js >= 18
- Access to a Jamf Pro instance with API credentials
- A hostable MCP runtime to load the jamf-code server definition
Additional notes
Tips and caveats:
- Use Code Mode to minimize the number of tool definitions; jamf_search and jamf_execute are used to discover and execute against the Jamf API.
- Configure JAMF_MAX_CONCURRENCY (default 5) to throttle API calls and reduce 429 errors.
- Use the plan/apply workflow for high-impact operations to preview changes before execution.
- Keep API credentials secure; rotate client secrets regularly and restrict permissions to only what is required.
- If you upgrade Jamf Pro API versions, revalidate the typings used by the Jamf SDK and update any breaking changes in jamf_execute code templates.
Related MCP Servers
iterm
A Model Context Protocol server that executes commands in the current iTerm session - useful for REPL and CLI assistance
mcp
Octopus Deploy Official MCP Server
furi
CLI & API for MCP management
editor
MCP Server for Phaser Editor
DoorDash
MCP server from JordanDalton/DoorDash-MCP-Server
mcp
MCP сервер для автоматического создания и развертывания приложений в Timeweb Cloud