Configure Claude Code
This script automates the setup of the local environment and ensures that your Claude Code IDE is instantly governed by organizational policies.
-
Run the Setup Script:
-
In the Platform, navigate to AI/ML > Registry > [Your Project] > MCP Servers.
-
Select a specific MCP server from the available servers in your project.
-
Click Configure MCP (or Install MCP) and run the generated command in your terminal:
export HOST_DOMAIN=<yourhost.jfrog.io> AUTH=user:token PROJECT_KEY=<project> CLIENT_ID=claude; bash <(curl -fL https://releases.jfrog.io/artifactory/jfrog-cli-plugins/mcp-gateway/latest/scripts/mcp-gateway.sh)For parameter details, see Install the MCP Gateway.
This command installs or updates the JFrog CLI, the
mcp-gatewayplugin, authenticates your machine, sets the active project context, and configures Claude Code to use the Gateway.
-
-
Configure IDE with Magic Link:
- The installation script prints a Magic Link at the end; click the Magic Link (in your terminal).
- Click Install when prompted to complete MCP server setup.
-
Configure Claude Code Manually:**
If auto-configuration did not run, add the MCP Gateway to Claude Code's MCP configuration.
Claude Code uses
.mcp.jsonat your project root (project scope, for the team) or~/.claude.json(user scope, for you only).The format uses
mcpServerswithcommand,args, andenv(notypefield).Add the following to your .json file:
{ "mcpServers": { "JFrogMCPGateway": { "command": "jf", "args": ["mcp-gateway", "run"], } } }
Manage MCP Servers via Agents
The JFrog MCP Gateway various capabilities through MCP tools to your coding agent. You can interact with the JFrog MCP Registry directly through your Agent's chat interface.
For details, see Configure MCPs via Agents.

Updated 3 days ago
