Cursor Support

Starting with Gooddata for VS Code v0.14.0 we added support for Cursor AI-assisted code editor.

Cursor editor is based on VS Code, you can follow the installation instructions from the getting started guide. This guide will focus on the Cursor-specific steps and features.

Initializing a new project

When creating a new project for Cursor, you can use the --cursor flag to automatically generate Gooddata Cursor rules and mcp.json configuration files.

gd init --cursor

The command will create a number of files under .cursor/rules/gooddata/ folder, and a .cursor/mcp.json file that looks something like this.

{
    "mcpServers": {
        "gooddata": {
            "url": "http://127.0.0.1:55321/mcp"
        }
    }
}

Enabling MCP server

To keep our plugin backward compatible we keep the MCP server disabled by default. You can enable it and configure the port from the extension settings.

// TODO image

The default port is set to 55321, but you can change it if busy on your machine. Make sure to also adjust the port in .cursor/mcp.json file accordingly.

Verifying the setup

Once everything is set up, you can verify that Cursor is able to connect to the MCP server by opening Cursor settings - Integrations section. You should see a list of tools available for your workspace.

// TODO image