Install JFrog Agent Plugin for Claude Code
Install the JFrog Agent Plugin for Claude Code and connect it to your JFrog Platform.
The JFrog Agent Plugin connects Claude Code to the JFrog Platform for artifact management, security scanning, supply chain workflows, and governed access to MCP servers. You can review the source in the JFrog Claude Code plugin repository.
Prerequisites
- Claude Code CLI 1.0 or later.
- A JFrog Platform you can sign in to.
- Node.js 18 or later with
npxon yourPATH, JFrog CLI 2.100.0 or later,jq, andcurl. The readiness check,/jfrog-init, verifies Node.js and the JFrog CLI and offers to install them if they're missing. JFrog CLI 2.105.0 or later lets Agent Guard resolve credentials automatically. - On Windows, Git Bash for the skill governance hook.
Quick Install
To install the JFrog Agent Plugin for Claude Code:
-
In your terminal, run:
claude plugin install jfrog -
Start Claude Code and run the readiness check:
/jfrog-initThe check verifies Node.js and the JFrog CLI, signs the JFrog CLI in to your JFrog Platform, resolves the MCP server host, and asks you to choose a JFrog Project if one is needed. It fixes what it can after you approve and prints the exact command for anything it can't fix.
-
Restart Claude Code if
/jfrog-initchanges the MCP configuration. -
Start a JFrog task that uses MCP tools and complete the browser OAuth sign-in when prompted.
/jfrog-initdoesn't sign you in to the MCP server.
Verify the Installation
- Run
/plugins, open Installed, and confirm that JFrog is listed. - Run
/jfrog-initand confirm that it finishes without blocking errors. - Run
jf rt pingand confirm that it succeeds against your JFrog Platform.
Alternative Installation Methods
Install from the Official Marketplace by Name
Use the full plugin name if you have more than one marketplace configured. If your Claude Code doesn't list the claude-plugins-official marketplace, add it first:
claude plugin marketplace add anthropics/claude-plugins-official
claude plugin install jfrog@claude-plugins-officialYou can also run the install command inside Claude Code:
/plugin install jfrog@claude-plugins-officialRun a Local Plugin Checkout
Use this method to load a local checkout for one Claude Code session. It doesn't install the plugin persistently.
-
Clone the JFrog Claude Code plugin repository.
-
Start Claude Code with the repository as the plugin directory:
claude --plugin-dir /path/to/claude-plugin
Configure the JFrog CLI Manually
If you prefer to configure the JFrog CLI yourself before running /jfrog-init, run jf login and select [New Server], or run:
jf config add <SERVER_ID> --url=<JFROG_URL> --access-token=<TOKEN>Where:
<SERVER_ID>: A short name for this JFrog CLI server.<JFROG_URL>: Your JFrog Platform URL, includinghttps://. For example,https://mycompany.jfrog.io.<TOKEN>: Your JFrog access token.
If jf config show lists more than one server, run jf config use <SERVER_ID> to make your JFrog Platform the default. Setting JFROG_URL or JFROG_ACCESS_TOKEN alone doesn't configure the JFrog CLI.
Troubleshooting
For installation and configuration issues, see Troubleshoot the JFrog Agent Plugin.
Related Topics
Updated 7 days ago
