Visual Studio Code
Before You Begin
-
Install the latest JFrog CLI
-
Configure your Artifactory instance with JAS entitlements enabled using:
jf c add
Installation
-
Open the project you want to use MCP with.
-
Go to
View → Command Palette, and select MCP: Add Server. -
Choose
Command (stdio). -
For Command to run, enter:
jf source-mcp ${workspaceFolder} -
Set the Server ID (e.g.,
JFrog Source MCP). -
Choose Workspace Settings.
-
Open the Copilot Chat tab, and enable Agent Mode.
-
Click Select Tools and confirm that JFrog tools appear (initial indexing may take time in large projects).
-
(Optional) Once MCP is set up, try prompting Copilot with:
- “Do I have SAST vulnerabilities in my code?”
- “Can you help me fix them?”
Troubleshooting
- If something isn’t working as expected:
- Open the Command Palette > Show Output Channels.
- Select the relevant MCP output MCP: {server name}.
- In Copilot Chat, unfold the MCP tool call to view:
- Tool input
- Tool output
Updated 2 months ago
