Imagine With Craft

Come connettere Craft al Antigravity con MCP

Puoi abilitare un server MCP per i tuoi documenti, permettendo a Antigravity di interagire direttamente con i tuoi contenuti. Questa guida ti accompagna nella configurazione della connessione tra Craft e Antigravity tramite MCP.

Craft
Antigravity

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 Antigravity.

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 Antigravity

Create a new connector in Antigravity and use the MCP URL to connect the two services.

Step 1

In Antigravity, apri la tavolozza dei comandi (Cmd/Ctrl+Shift+P), digita "mcp" e seleziona "Antigravity: Gestisci server MCP".

Step 2

Nel gestore del server MCP, fare clic su "Visualizza configurazione non elaborata" per aprire il file di configurazione mcp_config.json.

Step 3

Copia la seguente configurazione MCP e incollala nel file mcp_config.json. Sostituisci <your-mcp-url> con l'URL MCP creato in precedenza.
{ "mcpServers": { "craft": { "serverUrl": "<your-mcp-url>" } } }

Step 4

Salva il file e torna al gestore del server MCP. Il server Craft MCP dovrebbe ora apparire con tutti gli strumenti abilitati.

You can now ask Antigravity 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

Some Ideas to Get You Started

Browse Examples