Cursor
Cursor connects to the hosted Gavana server over streamable HTTP with browser OAuth. Gavana shows these steps, with the button, under Settings → Connect an agent → Cursor (open them ).
The config Gavana generates
Both the install link and gavana mcp config cursor produce exactly this connection, under the server name gavana:
{
"mcpServers": {
"gavana": {
"url": "https://app.gavana.ai/mcp"
}
}
}That is the whole config. There is no token field, no headers block, no transport key — Cursor infers streamable HTTP from the URL, and authentication happens in the browser.
Install in one click
Open in Cursor
With Cursor installed, open Add Gavana to Cursor and confirm the install in Cursor. Cursor shows you the configuration — {"url":"https://app.gavana.ai/mcp"} — before anything is saved.
Click Authenticate next to gavana
Open Customize → MCPs. The server is listed under Needs Attention. Click Authenticate; your browser opens for sign-in.
Review the scopes and approve
The consent screen asks for eight permissions. Check that Connecting as shows the right account, then click Connect.
Install by editing JSON
Open ~/.cursor/mcp.json and paste the config
No file yet? Create it with exactly the content above. Already have other servers in it? Copy only the "gavana" block into "mcpServers", and put a comma after the server before it.
Restart Cursor
Save your configuration first.
Authenticate and approve
Click Authenticate next to gavana under Customize → MCPs, then click Connect on the Gavana page.
If you have the Gavana CLI, gavana mcp config cursor prints the block so you can copy it rather than retyping. gavana mcp install does not support Cursor — install only runs codex and claude. For Cursor the CLI prints config; you paste it.
Resulting permission surface
Cursor lists 17 core hosted tools and can call every other hosted tool by exact name. generate_image_in_canvas and generate_video can charge among the listed tools; edit_image_in_canvas, generate_product_photoshoot_in_canvas, run_canvas_workflow, recipe_run, and work_execute can charge when called by name.
An editor-embedded agent can create canvas nodes and start paid generations. Start with Inspect before you write, and require explicit current-turn approval before any paid call.
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. It installs a separate server named gavana-readonly.
Local stdio instead
Cursor can also run the local server, which exposes the full local catalog. Replace the url entry with a command entry. With your Gavana CLI login on the same machine you can leave out env; otherwise supply an Agent Access token:
{
"mcpServers": {
"gavana": {
"command": "npx",
"args": ["-y", "@gavana.ai/mcp@0.5.1"],
"env": {
"GAVANA_BASE_URL": "https://app.gavana.ai",
"GAVANA_AGENT_TOKEN": "cba_<token-id>.<secret>"
}
}
}
}Requires Node.js 20 or newer.
A token puts a live credential in a config file. Keep mcp.json out of version control — a project-level MCP config is exactly the kind of file that gets committed by accident. Prefer the hosted server in a shared repository.
Verify
Open Cursor’s MCP settings and confirm gavana is connected — 17 tools on the hosted server by default, or the local catalog. Then ask it to list your canvases.