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
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.
Quick Install
To install the JFrog Agent Plugin for Cursor:
-
Open the JFrog plugin page in the Cursor Marketplace and click Add to Cursor.
-
In Cursor, click Add Plugin.
-
Open a new Agent chat 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 Cursor 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
- Open Cursor Settings > Plugins and confirm that JFrog is installed.
- 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 Cursor Settings
- Open Cursor Settings and select Plugins.
- Search for
JFrogand open the JFrog plugin. - Click Add to Cursor, then click Add Plugin.
Install with the Command Menu
- Open a new Agent chat.
- Type
/, select add-plugin from the command menu, and select JFrog. - Click Add 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.
Troubleshooting
For installation and configuration issues, see Troubleshoot the JFrog Agent Plugin.
Related Topics
Updated 7 days ago
