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 npx on your PATH, JFrog CLI 2.100.0 or later, jq, and curl. 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:

  1. In your terminal, run:

    claude plugin install jfrog
  2. Start Claude Code and run the readiness check:

    /jfrog-init

    The 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.

  3. Restart Claude Code if /jfrog-init changes the MCP configuration.

  4. Start a JFrog task that uses MCP tools and complete the browser OAuth sign-in when prompted. /jfrog-init doesn't sign you in to the MCP server.

Verify the Installation

  1. Run /plugins, open Installed, and confirm that JFrog is listed.
  2. Run /jfrog-init and confirm that it finishes without blocking errors.
  3. Run jf rt ping and confirm that it succeeds against your JFrog Platform.

Alternative Installation Methods

plusInstall 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-official

You can also run the install command inside Claude Code:

/plugin install jfrog@claude-plugins-official
plusRun a Local Plugin Checkout

Use this method to load a local checkout for one Claude Code session. It doesn't install the plugin persistently.

  1. Clone the JFrog Claude Code plugin repository.

  2. Start Claude Code with the repository as the plugin directory:

    claude --plugin-dir /path/to/claude-plugin
plusConfigure 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, including https://. 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


Did this page help you?