Install JFrog Agent Plugin for Cursor

Install the JFrog Agent Plugin for Cursor and connect it to your JFrog Platform.

The JFrog Agent Plugin connects Cursor 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 Cursor plugin repository.

Prerequisites

  • Cursor with AI features enabled.
  • 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.

Quick Install

To install the JFrog Agent Plugin for Cursor:

  1. Open the JFrog plugin page in the Cursor Marketplace and click Add to Cursor.

  2. In Cursor, click Add Plugin.

  3. Open a new Agent chat 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.

  4. Restart Cursor if /jfrog-init changes the MCP configuration.

  5. 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. Open Cursor Settings > Plugins and confirm that JFrog is installed.
  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 Cursor Settings
  1. Open Cursor Settings and select Plugins.
  2. Search for JFrog and open the JFrog plugin.
  3. Click Add to Cursor, then click Add Plugin.
plusInstall with the Command Menu
  1. Open a new Agent chat.
  2. Type /, select add-plugin from the command menu, and select JFrog.
  3. Click Add 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.

Troubleshooting

For installation and configuration issues, see Troubleshoot the JFrog Agent Plugin.

Related Topics


Did this page help you?