Configure Cursor
Follow these steps to automatically configure your Cursor IDE with policy-enforced MCP servers via the JFrog MCP Gateway.
- 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 Install MCP
-
Generate a token, choose Cursor and copy the installation command to your terminal
-
This command installs or updates the JFrog CLI and the
mcp-gatewayplugin, authenticates your machine, sets the active project context, and configures Cursor to use the JFrog Gateway. -
For full parameter details, see Install the MCP Gateway .
-
- Configure IDE with Magic Link:
- The installation script prints a Magic Link at the end; click the Magic Link (in your Cursor terminal).
-
- Click Install when prompted to complete MCP server setup.
- Configure Cursor IDE Manually:
If auto-configuration did not run, add the MCP Gateway to Cursor's MCP config file. In Cursor, the file is typically ~/.cursor/mcp.json (or your workspace MCP settings).
Add the following:
{
"mcpServers": {
"JFrogMCPGateway": {
"args": [
"mcp-gateway",
"run"
],
"command": "jf",
"type": "stdio",
"env": {}
}
}
}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
