Skip to Content
AgentsConnect Cursor

Connect Gavana to Cursor

Cursor can install Gavana’s hosted MCP server from a link, or you can add it to mcp.json yourself. Either way, Cursor signs in through your browser. The same steps, with the button, are in Gavana under Settings → Connect an agent → Cursor (open them ).

Option A — Hosted MCP over OAuth

One click

Open in Cursor

With Cursor installed, open this link and confirm the install in Cursor:

Add Gavana to Cursor

The link asks Cursor to add a server called gavana with this configuration, and Cursor shows it to you before anything is saved:

{"url":"https://app.gavana.ai/mcp"}

Click Authenticate next to gavana

Open Customize → MCPs. The server is listed under Needs Attention as needing authentication. Click Authenticate; your browser opens for sign-in.

Click Connect on the Gavana page

Gavana’s approval page names the app asking for access and shows Connecting as with your email. If that is the right account, review the permissions and click Connect.

Edit JSON instead

Open ~/.cursor/mcp.json and paste this

{ "mcpServers": { "gavana": { "url": "https://app.gavana.ai/mcp" } } }

No file yet? Create it with exactly this content. Already have other servers in it? Copy only the "gavana" block into "mcpServers", and put a comma after the server before it.

gavana mcp config cursor prints the same block if you have the Gavana CLI.

Restart Cursor

Save the file first.

Authenticate and approve

Click Authenticate next to gavana under Customize → MCPs, then click Connect on the Gavana page.

Verify

Using Gavana, list my canvases and read the most recently updated one. Report its handle, revision, node count, and connection count. Do not change anything.

Resulting permission surface. Cursor lists 17 core hosted tools and can call every other hosted tool by exact name. The consent screen asks for eight permissions — canvas:read, canvas:write, asset:read, element:read, element:write, image:generate, video:generate, and job:manage — so generate_image_in_canvas and generate_video (and, by name, edit_image_in_canvas, generate_product_photoshoot_in_canvas, run_canvas_workflow, recipe_run, and work_execute) can be billed to your Gavana account.

No token is stored on disk on this path; the credential is an OAuth token held by Cursor.

For a connection that can only read canvases and Elements, turn on Read-only access in Gavana’s Cursor steps before you click the button or copy the JSON. You get a separate server named gavana-readonly whose consent asks only for canvas:read and element:read.

Option B — Local MCP

Use this when you want per-scope control, or the full local surface including Image Actions, Recipe forking, node-level operations, uploads from local files, and Run control.

Choose how the server signs in

If you have run gavana auth login on this machine, the local server reads that login and you can leave out the env block below. Otherwise follow Create an Agent Access Token and name it Cursor · <your machine>. New tokens default to eight of the nine permissions and Never expiry; narrow them or choose a custom 1–90 day expiry only when appropriate.

Get the configuration block

gavana mcp config local

Add it to ~/.cursor/mcp.json

{ "mcpServers": { "gavana": { "command": "npx", "args": ["-y", "@gavana.ai/mcp@0.5.1"], "env": { "GAVANA_BASE_URL": "https://app.gavana.ai", "GAVANA_AGENT_TOKEN": "PASTE_YOUR_TOKEN_HERE" } } } }

For a hard read-only local server, add "GAVANA_MCP_READ_ONLY": "true" to env.

Restart Cursor and verify

A file with a token in it contains a live credential. Keep it out of your repository, out of screenshots, and out of support tickets. If Cursor’s MCP configuration lives inside a project directory, add it to .gitignore before you paste the token — not after.

Resulting permission surface. Exactly the credential’s scopes. A tool called outside them fails with a permission error. If the token has neither image:generate nor video:generate, nothing Cursor does can spend a credit.

Which option

You wantUse
Fastest setup, no secret on diskOption A
A strictly read-only agentEither — Option A with Read-only access, or Option B with a read-only token
Image Actions, Recipe forking, node-level controlOption B
Precise scope control per clientOption B

Disconnect

Remove the gavana entry from Cursor’s MCP configuration and restart. Then revoke the connection or token in Gavana under Settings → Connect an agent → Connected.

Troubleshooting

SymptomCauseFix
Cursor does not list the serverConfiguration was not reloaded, or the JSON is malformedRestart Cursor; validate the JSON
Server sits under Needs AttentionIt is installed but not signed inClick Authenticate next to gavana
“Already have a server called gavana”An older entry uses the same nameRemove it first, then connect again
Every call is unauthorized (Option B)Token expired, revoked, or mistypedCreate a new token and update the file
Generation refused (Option B)Token lacks the generation scopeCreate a new token with image:generate or video:generate
Waits fail immediatelyToken lacks job:manageAdd it
The server starts but no tools appear (Option B)Node.js older than 20Install Node.js 20 or newer

More: MCP troubleshooting.

Last updated on