Install JFrog Agent Plugin for VS Code
Install the JFrog Agent Plugin for VS Code and connect it to your JFrog Platform.
The JFrog Agent Plugin connects VS Code Copilot 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 VS Code plugin repository.
Prerequisites
- VS Code with the GitHub Copilot Chat extension installed and signed in.
- If a GitHub organization manages your Copilot access, an administrator must set Settings > Copilot > Policies > Editor preview features to Enabled.
- Agent plugins and hooks enabled in VS Code settings. Set both
"chat.plugins.enabled": trueand"chat.useHooks": true. Enabling hooks alone leaves the plugin unloaded. - A JFrog Platform you can sign in to.
- Node.js 20 or later available as
nodeon yourPATH, JFrog CLI 2.100.0 or later,jq, andcurl. The readiness check,/jfrog-init, verifies the JFrog CLI and offers to install it if it's missing.
Quick Install
To install the JFrog Agent Plugin for VS Code:
-
Open the following link in your browser, then allow it to open VS Code:
vscode://chat-plugin/install?source=jfrog/vscode-plugin -
When VS Code prompts you, click Install, then click Trust.
-
In Copilot Chat, 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.
-
Reload the VS Code window, open a new Copilot chat, and enable the JFrog MCP tools in the tool picker. A new chat alone doesn't pick up MCP changes.
-
Start a JFrog task that uses MCP tools and complete the browser OAuth sign-in when prompted.
Verify the Installation
- Confirm that the plugin appears in the Copilot installed plugins list.
- 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 JFrog Platform
- In the JFrog Platform, go to AI/ML > Registry, select your project, and open MCP Servers.
- Select an MCP server and click Install MCP.
- Select VS Code as your IDE and click Install via magic link.
Install from the Command Palette
-
Press Cmd+Shift+P on macOS or Ctrl+Shift+P on Windows and Linux to open the Command Palette.
-
Run Chat: Install Plugin from Source.
-
Enter the plugin source:
https://github.com/jfrog/vscode-plugin/ -
Click Trust.

Install from a Marketplace Entry in settings.json
-
Open the Command Palette and run Preferences: Open User Settings (JSON).
-
Add the marketplace source:
{ "chat.plugins.marketplaces": ["https://github.com/jfrog/vscode-plugin/"] } -
Press Cmd+Shift+X to open the Extensions view, then search for
@agentPlugins jfrog/vscode-plugin. -
Select the plugin, click Install, and click Trust if prompted.

Configure the JFrog CLI Manually
If you prefer to configure the JFrog CLI yourself before running /jfrog-init, run jf login, or run jf config add and enter your JFrog Platform URL and access token when prompted.
Troubleshooting
For installation and configuration issues, see Troubleshoot the JFrog Agent Plugin.
Related Topics
Updated 7 days ago
