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:
Verify prerequisites
Prompt for your Jamf Pro credentials if not provided
Test the connection to your Jamf Pro server
Generate the appropriate configuration
Set up your MCP client automatically
CLI Options ReferenceΒΆ
Option |
Short |
Description |
Example |
|---|---|---|---|
|
|
Target platform (required) |
|
|
|
Jamf Pro server URL |
|
|
OAuth client ID |
|
|
|
OAuth client secret |
Will prompt if not provided |
|
|
|
Cursor workspace directory |
|
|
Skip connection test |
Not recommended |
|
|
|
Show detailed output |
Helpful for debugging |
|
Preview without changes |
See what would be configured |
|
|
|
Use local installation |
For development from source |
|
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