Configure Cursor
Configure Cursor to use the JFrog MCP Gateway for organizational policy governance and MCP server access.
The MCP Gateway setup script configures your local environment so that Cursor connects to the JFrog Model Context Protocol (MCP) Gateway. After you run the script, your Cursor agent is governed by your organization's policies and can access MCP servers registered in the JFrog Platform.
Prerequisites
- Access to the JFrog Platform with the AI Catalog enabled.
- A project with at least one allowed MCP server.
- Your JFrog host domain and authentication token.
To configure Cursor:
-
Run the Setup Script:
-
In the JFrog 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.
-
Select Cursor.
-
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 MCP Gateway.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 MCP Gateway. For more information, see Install the MCP Gateway.
-
-
Configure IDE with Magic Link:
-
The installation script prints a Magic Link at the end. The Magic Link is a URL that automatically configures Cursor. Click the Magic Link in your Cursor terminal.
-
-
Click Install when prompted to complete MCP server setup. Cursor is now connected to the MCP Gateway.
Configure Cursor IDE Manually
If the automatic configuration did not run, add the MCP Gateway to Cursor's MCP configuration file manually. Cursor uses ~/.cursor/mcp.json (or your workspace MCP settings).
To add the MCP Gateway manually:
Add the following to your configuration file:
{
"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 Manage MCPs via Agents.

Updated 7 days ago
