Imagine With Craft

Come connettere Craft al Cursor con MCP
Puoi abilitare un server MCP per i tuoi documenti, permettendo a Cursor di interagire direttamente con i tuoi contenuti. Questa guida ti accompagna nella configurazione della connessione tra Craft e Cursor tramite MCP.
Enabling MCP for Documents
First, you have to enable MCP in order for Craft to setup an MCP server for your documents. Then, you use the MCP URL to connect to the server from Cursor.

Step 1
Open the “Imagine” tab

Step 2
Click “Create Your First MCP Connection”

Step 3
Configure your MCP connection with a name.

Step 4
Click “Add Document” to select which documents this MCP connection has access to.

Step 5
The MCP URL that will be used to interact with your document is now displayed at the top.
Adding an MCP Connector in Cursor
Create a new connector in Cursor and use the MCP URL from Craft to connect the two services.

Step 1
Go to Cursor’s MCP Settings by typing
>mcp in the command palette and selecting “View: Open MCP Settings”
Step 2
Open the MCP configuration file by clicking the “Add Custom MCP” button
Step 3
Copy the following MCP configuration and paste it into the MCP configuration file in Cursor. Replace
craft with a descriptive name for your MCP server. Replace <MCP_URL> with the MCP URL from Craft.
Step 4
Save the MCP configuration file. It should look something like this example.

Step 5
You should now see the MCP server in the list of MCP Servers in Cursor. If you have configured a password, click the “Configure” button and follow the browser steps to log in.
You can now ask Cursor about your documents, and even have them updated. Try something like this to get started:
Click an example to copy the prompt to your clipboard





