CLI Setup GuideΒΆ

The JamfMCP CLI tool automates the entire setup process for connecting JamfMCP to your AI assistant. This guide covers all CLI features and options.

Tip

The CLI is the recommended method for setting up JamfMCP. It handles all the complex configuration automatically and validates your setup before applying changes.

Quick Setup with CLIΒΆ

After installation, use the JamfMCP CLI tool to automatically configure your MCP client:

jamfmcp-cli -p claude-desktop
jamfmcp-cli -p cursor
jamfmcp-cli -p gemini-cli
jamfmcp-cli -p <platform>

The CLI will:

  1. Verify prerequisites

  2. Prompt for your Jamf Pro credentials if not provided

  3. Test the connection to your Jamf Pro server

  4. Generate the appropriate configuration

  5. Set up your MCP client automatically

Example Session
$ jamfmcp-cli -p claude-desktop

πŸš€ Setting up JamfMCP for claude-desktop

Jamf Pro server URL: https://mycompany.jamfcloud.com
Client ID: api-user
Client Secret: ****

Validating Jamf Pro connection...
βœ“ Successfully connected to Jamf Pro

βœ“ Successfully configured claude-desktop

πŸ“ Next steps:
1. Restart Claude Desktop completely
2. Look for the hammer icon (πŸ”¨) in the input box
3. Your JamfMCP tools are now available!

CLI Options ReferenceΒΆ

Option

Short

Description

Example

--platform

-p

Target platform (required)

claude-desktop, cursor, claude-code

--url

-u

Jamf Pro server URL

https://company.jamfcloud.com

--client-id

OAuth client ID

abc123

--client-secret

OAuth client secret

Will prompt if not provided

--workspace

-w

Cursor workspace directory

/path/to/project

--skip-validation

Skip connection test

Not recommended

--verbose

-v

Show detailed output

Helpful for debugging

--dry-run

Preview without changes

See what would be configured

--dev

-l

Use local installation

For development from source

--write

Write configuration file to disk

For setup

Usage ExamplesΒΆ

Dry Run ModeΒΆ

Preview what will be configured without making changes:

jamfmcp-cli -p claude-desktop --dry-run

Non-Interactive SetupΒΆ

Provide all options via command line (useful for automation):

jamfmcp-cli -p claude-desktop \
  --url https://company.jamfcloud.com \
  --client-id "$CLIENT_ID" \
  --client-secret "$CLIENT_SECRET" \
  --skip-validation