Connect Jamf to Claude: the MCP setup, and managing Claude with Jamf
"Connecting Jamf to Claude" means one of two things. To let Claude query or act on Jamf Pro, you run an MCP server that holds a Jamf Pro API client: create a narrow API role and client in Settings > System > API roles and clients, add the server to Claude Desktop or Claude Code, and start read-only. To manage Claude on your Macs, you deploy it with a Jamf policy, configure it with a profile, and inventory where Claude Code really runs. This page covers both.
Connect Claude to Jamf Pro with an MCP server
Claude talks to other systems through MCP (Model Context Protocol) servers. A Jamf MCP server is a small program that holds Jamf Pro API credentials and exposes actions such as "search computers" or "run policy" to Claude. Claude itself never logs in to Jamf; the server does, with whatever rights its API client has. So the setup is mostly a Jamf permissions job.
Prerequisites
- A Jamf Pro account allowed to create API roles and clients.
- Claude Desktop or Claude Code on the admin's Mac, plus the runtime the server needs (Node.js or Python, depending on the project).
- A decision on scope: read-only reporting, or changes too. Start read-only.
Step 1: create an API role and client in Jamf Pro
- In Jamf Pro, go to Settings > System > API roles and clients.
- On the API Roles tab, create a role with only the privileges you need. For reporting, that is read privileges such as Read Computers, Read Computer Inventory Collection, Read Smart Computer Groups and Read Policies. Leave out create, update, delete, send-command and LAPS privileges until you have a reason.
- On the API Clients tab, create a client, assign the role, set a short access token lifetime, enable it, and generate the client secret. Jamf shows the secret once.
Step 2: add the server to Claude
Install the server following its README, then register it with Claude. The variable names below are an example (they match the community jamf-mcp-server); other servers use their own names, so copy them from the project you picked.
Claude Desktop: ~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"jamf-pro": {
"command": "node",
"args": ["/path/to/jamf-mcp-server/dist/index-main.js"],
"env": {
"JAMF_URL": "https://yourcompany.jamfcloud.com",
"JAMF_CLIENT_ID": "your-api-client-id",
"JAMF_CLIENT_SECRET": "your-api-client-secret",
"JAMF_READ_ONLY": "true"
}
}
}
}
Claude Code (Terminal)
claude mcp add jamf-pro \
--env JAMF_URL=https://yourcompany.jamfcloud.com \
--env JAMF_CLIENT_ID=your-api-client-id \
--env JAMF_CLIENT_SECRET=your-api-client-secret \
--env JAMF_READ_ONLY=true \
-- node /path/to/jamf-mcp-server/dist/index-main.js
Restart Claude Desktop (or run claude mcp list in Claude Code) and ask something harmless, such as "how many computers have not checked in for 30 days". If it fails, the usual causes are a wrong Jamf URL, a disabled API client, or a role missing a read privilege.
Step 3: limit the blast radius
- The secret sits in plain text. Both configs above store the client secret in a file in the admin's home folder. Anyone or anything that can read that file can call your Jamf API. Rotate the secret on a schedule and prefer servers that read it from the macOS keychain or an environment the admin controls.
- Write rights turn a laptop into a console. Some servers can run policies, deploy profiles and send MDM commands such as lock or wipe. Even with a confirmation step, those calls run with the API client's rights. Give write privileges to a separate client, used by fewer people.
- Keep a list. Write down which admins run a Jamf MCP server and with which API client, so you can disable one client without breaking the rest.
Which Jamf MCP server: the options
| Option | Published by | What it does | Runs where |
|---|---|---|---|
| Jamf developer docs MCP | Jamf | Searches Jamf's developer documentation and helps write API code. It does not connect to your Jamf Pro. | Hosted by Jamf at https://developer.jamf.com/mcp |
| Jamf MCP Hub | Jamf, under Jamf Concepts (marked Beta) | Open source MCP server for Jamf Pro, Jamf Protect and Jamf Security Cloud. | You install it (Python 3.10+) |
Community servers, e.g. jamf-mcp-server | Individual developers | Read tools (computers, groups, history) and write tools (run policy, deploy scripts and profiles, MDM commands, LAPS). The one above has a read-only switch and asks for confirmation on destructive calls. | Local process on the admin's Mac |
If you only want Claude to answer "how do I do X in the Jamf API", the docs server is enough and needs no credentials. For anything that touches your instance, read the project's README and code before giving it an API client: it will act with that client's rights.
Find who has connected Jamf to Claude
The other side of the question: admins may already have done this on their own. MCP servers are configured in per-user JSON files, so Jamf inventory does not see them. On one Mac you can check by hand:
macOS (Terminal), read-only
# Read-only. Lists MCP servers configured for Claude Desktop and Claude Code,
# and flags any that mention Jamf.
grep -i -A3 '"mcpServers"' ~/Library/Application\ Support/Claude/claude_desktop_config.json 2>/dev/null
grep -i -o '"[a-z0-9_-]*jamf[a-z0-9_-]*"' ~/.claude.json 2>/dev/null | sort -u
grep -il 'JAMF_CLIENT_SECRET\|jamfcloud.com' ~/Library/Application\ Support/Claude/claude_desktop_config.json ~/.claude.json 2>/dev/null
Across a fleet, the MCP server inventory guide has a root script that collects every MCP config per user, and Find AI API keys on endpoints covers secrets left in plain text.
Deploy Claude Desktop with Jamf Pro
Claude Desktop installs like any other Mac app, so the usual Jamf flow works: upload the installer package to Jamf Pro, add it to a policy, scope the policy to the computers or smart group that should get Claude, and pick the trigger (check-in or Self Service). Test on a pilot Mac first.
If Jamf will manage the version (patch policies or a pinned package), plan to turn off the app's own updater in the profile below, so the two do not fight.
Configure it with a configuration profile
Claude Desktop reads managed settings from the preference domain com.anthropic.claudefordesktop. In Jamf Pro that is a configuration profile with an Application & Custom Settings payload for that domain. Anthropic documents the available keys in its enterprise configuration article; one common example is disableAutoUpdates when Jamf owns the version.
A profile delivered by MDM lands in the managed preferences folder, and that is the quickest way to check it arrived:
macOS (Terminal), read-only
# Read-only. Shows what the profile delivered to this Mac.
defaults read "/Library/Managed Preferences/com.anthropic.claudefordesktop" 2>/dev/null \
|| echo "no machine-level profile for Claude Desktop"
ls "/Library/Managed Preferences/" | grep -i anthropic
Test the profile on a pilot Mac before scoping it widely. Users have reported that setting even one managed key can make some settings panes show as "managed" and read-only, so check what your users will see.
Claude Code: managed settings
Claude Code (the command-line tool) is configured separately from the desktop app. Administrators control it with files that users cannot override, in a system folder on macOS: /Library/Application Support/ClaudeCode/.
managed-settings.json: policy, for example turning off bypass-permissions mode withpermissions.disableBypassPermissionsMode, or limiting which MCP servers can be used withallowedMcpServers/deniedMcpServers.managed-mcp.json: a fixed list of MCP servers the company provides.
With Jamf, push these with a policy that runs a short script (or a package) writing the files as root. Because Claude Code is installed per user and outside /Applications, a package alone will not tell you who has it; that is the next section. For blocking it outright, see Restrict Claude Code with Jamf Pro.
Inventory: which Macs have Claude
Jamf's inventory sees /Applications/Claude.app, but not Claude Code installed in a user's home folder, through npm, or inside a VS Code extension. An extension attribute closes most of that gap. This one is read-only and reports both:
Jamf Pro extension attribute (bash), read-only
#!/bin/bash
# Read-only. Reports Claude Desktop version and which users have Claude Code.
out=""
app="/Applications/Claude.app/Contents/Info.plist"
[ -f "$app" ] && out="Desktop $(defaults read "${app%.plist}" CFBundleShortVersionString 2>/dev/null)"
for home in /Users/*; do
u=$(basename "$home"); [ "$u" = "Shared" ] && continue
for p in "$home/.local/bin/claude" "$home/.npm-global/bin/claude" "$home/.claude/local/claude"; do
[ -e "$p" ] && { out="$out; Code:$u"; break; }
done
done
for p in /usr/local/bin/claude /opt/homebrew/bin/claude; do [ -e "$p" ] && { out="$out; Code:system"; break; }; done
echo "<result>${out:-none}</result>"
Add it in Settings > Computer management > Extension attributes with input type Script, then build a smart group on the result. The broader Jamf extension attribute for AI tools covers Cursor, ChatGPT, Ollama and others too.
Where Kuntur fits
Kuntur's read-only agent lists Claude Desktop, Claude Code (including npm and WSL installs), IDE extensions and every configured MCP server, Jamf ones included, per computer and per user, flags AI API keys stored in plain text, and lets you mark each one approved or unauthorized with an audit trail. Jamf deploys and configures; Kuntur tells you what is actually there, including what Jamf did not install. It does not block, change or uninstall anything.

Free for up to 5 endpoints; Pro is US$3 per endpoint per month.
FAQ
- Can I deploy Claude Desktop with Jamf Pro?
- Yes. Distribute the installer with a Jamf policy and configure it with a configuration profile for the com.anthropic.claudefordesktop preference domain.
- Does Jamf inventory show Claude Code?
- Not by default. Claude Code usually lives in each user's home folder or comes through npm, outside /Applications. Use an extension attribute like the one on this page, or an endpoint inventory tool.
- How do I connect Jamf to Claude?
- Run a Jamf MCP server on the admin's Mac. Create an API role and client in Jamf Pro under Settings > System > API roles and clients, put the Jamf URL, client ID and secret in the server's config, and register the server in Claude Desktop's claude_desktop_config.json or with claude mcp add in Claude Code. Start with read-only privileges.
- Is there an official Jamf MCP server?
- Jamf hosts an MCP server for its developer documentation, which does not touch your Jamf Pro. Jamf also publishes the Jamf MCP Hub under Jamf Concepts, marked Beta. Other Jamf Pro MCP servers are community projects.
- What Jamf API privileges does an MCP server need?
- Only what you want Claude to do. For questions about the fleet, read privileges on computers, inventory, groups and policies are enough. Running policies, deploying profiles, MDM commands and LAPS need extra privileges; give those to a separate API client.
- Is it safe to connect Jamf to Claude through an MCP server?
- It can be, with a narrowly scoped Jamf API client and a short list of people allowed to run it. Treat the laptop running it as an admin workstation, and keep track of where the server is configured.
Sources
- Jamf Developer Portal: MCP server
- Jamf Concepts: Jamf MCP Hub
- GitHub: jamf-mcp-server (community)
- Claude Code docs: connect to MCP servers
- Claude Help Center: Enterprise configuration for Claude Desktop
- Claude docs: Deploy Claude Desktop with MDM
- Claude Code docs: settings and managed settings
More guides and tools: