Skip to Content
MCPGavana MCP

Gavana MCP

Gavana speaks the Model Context Protocol, so an MCP-capable client — ChatGPT, Claude, Codex, Cursor, or your own agent — can read your canvases, change them, and, when you ask for it, generate images and video into them.

Two things make this surface different from a generic tool API:

  • Everything an agent touches stays visible. A change lands as a durable node on a real canvas you can open in a browser. There is no hidden side channel.
  • Every write is revision-bound and idempotency-keyed. An agent that guesses gets a 409, not a silent overwrite of your work.

The hosted endpoint

There is one hosted MCP URL:

https://app.gavana.ai/mcp

It uses browser OAuth with PKCE, so you never paste a token into a chat window. A full-access connection is granted eight permissions: canvas:read, canvas:write, asset:read, element:read, element:write, image:generate, video:generate, and job:manage. See Authentication.

Settings → Connect an agent also offers a Read-only access switch for each app. A read-only connection is granted only canvas:read and element:read, and can call only the 14 tools the hosted tools reference marks read-only: it reads canvases and Elements and cannot change, generate, or cancel anything.

Listed versus callable

The hosted server can call 45 tools. A connection that names no profile lists 17 of them when the client asks what tools exist: the generic building blocks that cover almost every request.

JobListed tools
Read the optional guideguide_get
Find and read canvasescanvas_list, canvas_get, get_canvas_image
Start a task canvascanvas_create
Change the graph safelycanvas_validate, canvas_apply_batch
Bring an image or a product page insave_image_to_canvas
Generate and edit imagesmodel_list, generate_image_in_canvas
Follow image runsget_image_run, list_image_runs
Generate videogenerate_video, get_video_job
Reuse visual identityelement_list, element_get, element_create

The other 28 are unlisted but callable by their exact name, so a cached tool list or a handle returned by an earlier call keeps working. Several of them are now requests that a listed tool also accepts:

Older toolListed tool that takes the same request
guide_searchguide_get with query
open_canvascanvas_get or canvas_create, which return url
find_video_modelsmodel_list with a video capability
edit_image_in_canvasgenerate_image_in_canvas with operation: "edit"
import_product_reference_packsave_image_to_canvas with productPageUrl
generate_product_photoshoot_in_canvassave_image_to_canvas with productPageUrl, then generate_image_in_canvas with items

The rest are specialist tools left off the default list on purpose: campaign planning (work_*), reusable workflows and Recipes, side-effect-free status reads (run_snapshot), request revisions (revise_image_request), and Element housekeeping. A merged request is authorized as the tool it replaces, so a connection that withheld find_video_models also refuses model_list with a video capability.

Profiles and narrowing

A connection can change what it lists, and narrow what it can call, with query parameters on the server URL:

ParameterEffect
?profile=creativeLists every tool the creative profile allows: canvas reads and task canvases, image and product-page import, model discovery, image generation and editing, request revisions, Recipe discovery and runs, workflow runs, and run snapshots. It leaves out graph batches, validation, Elements, Work, and video. Workflow runs default to keeping earlier outputs.
?profile=advancedLists all 45 tools, and gives canvas_apply_batch a fully typed operation schema.
?toolsets=canvas,imagesOnly tools in these toolsets can be called.
?excludeTools=generate_videoThese tools cannot be called.

A profile or a filter only narrows: scopes, read-only access, and exclusions still apply, and none of them grants a permission or authorizes spending. An unknown value refuses the connection with invalid_profile, invalid_toolset, or invalid_exclude_tool rather than being ignored. Calling a tool the URL withheld returns toolset_not_enabled.

The server’s own MCP instructions name only the tools the connection lists, so a client is never steered toward something it cannot see.

Hosted or local?

Hosted (/mcp)Local stdio (@gavana.ai/mcp)
TransportStreamable HTTPstdio, on your machine
AuthBrowser OAuth (PKCE)Agent Access token or saved CLI profile
Tools17 listed, 45 callable60, plus 5 deprecated campaign tools when enabled
Node.js requiredNoYes, 20 or newer
Best forChatGPT, Claude, Codex, Cursor, day-to-day workDeveloper automation, node-level graph surgery, Actions, local files

The hosted catalog is goal-focused. generate_image_in_canvas prepares targets, places them, and queues the run in one call, which is the right trade for a conversational client.

Reach for the local server when you need something the hosted server has no equivalent for: individual node_* and connection_* operations, deterministic image action_* tools, image_variations, recipe_fork, asset_list and asset_upload for files on your machine, canvas_render, or provider_list. See the local tools reference and Other clients for running it.

Seven tools can spend money

generate_image_in_canvas, edit_image_in_canvas, generate_product_photoshoot_in_canvas, generate_video, run_canvas_workflow, recipe_run, and work_execute reach your connected provider and can incur cost. Nothing else on the hosted surface starts paid work.

A direct request to make, generate, or edit images authorizes that one job. A repeated request is never new authorization, even right after the agent offered a retry. Spending again — a new idempotency key, or redoing an output that looks wrong — needs an explicit yes to regenerating. Never retry a failed paid call automatically. “Build me a workflow” authorizes create_canvas_workflow; it does not authorize run_canvas_workflow.

One canvas per task

There is no shared fallback canvas. The Agent Canvas is retired, and every tool that saves, imports, or generates needs an explicit canvas handle as its destination or canvasId; "agent-canvas" is refused with a message saying so.

  • Continuing existing work: use the canvas the person points at, or find it with canvas_list.
  • New work: call canvas_create once with a title and a stable idempotencyKey, keep the returned handle, and reuse it for every later read, save, and generation in the task. A repeated create with the same key returns the same canvas.
  • Campaign planning: work_prepare can create the task canvas itself; keep the handle it returns.

Existing Agent Canvas links still open for reading.

Handles, not guesses

Every durable thing Gavana returns has a stable, prefixed handle. Tools accept the handles the service returned; they do not accept identifiers an agent assembled from context.

PrefixExample shapeReturned by
canvas:canvas:<ownerUid>:<canvasId>canvas_list, canvas_create, canvas_get, and every write
node:node:<nodeId>canvas_get, save_image_to_canvas, generation results
asset:asset:<assetId>image results, get_canvas_image, gavana asset upload
run:run:<id>image generation, list_image_runs, workflow runs
job:job:<uuid>generate_video
model:model:<key>model_list
element:element:<id>@v<n>element_list, element_get, element_history
element-collection:element-collection:<id>element_collection_list, element_collection_create
work:work:<id>work_prepare

A plain canvas ID works for a canvas you own, and a plain node ID works too. The image run tools also accept the bare generationRunId an image node carries. Everything else must be the exact handle you were given.

Some handles are shape-checked before the request runs: get_video_job rejects anything that is not job: followed by a UUID, and generate_video rejects a firstFrame that is not a node: handle, an asset: handle, or an HTTPS URL. generate_video accepts any non-empty string as model, so a guessed model name reaches the provider layer instead of failing validation. Call model_list and use what it returns.

The safety contract

These rules are enforced by the server where enforcement is possible, and stated in the server’s own MCP instructions where it is not.

  • Keep the person’s words. Their count, references and roles, composition, aspect ratio, language, and exclusions win over any guide default. If one cannot be met, say so; never substitute.
  • Read before you write. Call canvas_get before changing an existing canvas. For spatial, multi-node, or destructive work, dry-run with canvas_validate first.
  • Preparation is not execution. “Build”, “prepare”, “set up”, and “draft” authorize graph edits only.
  • Generation returns queued progress. Report it, then follow the returned nextAction to check on it. Never start another generation to find out how the first one is doing.
  • Never auto-retry a paid request. One stable idempotency key per intended paid operation. A terminal failure is reported, not retried.
  • Claim done only on evidence. Work is done when canvas_validate reports completionReview.doneClaimAllowed: true and the outputs exist.
  • Smallest possible delta. “Add” never means “reorganise”. Group your own new nodes in one Section of your own.
  • Credentials never appear in chat, URLs, or logs. Webhook signing secrets are deliberately absent from MCP tool arguments.
  • Share only the X-Request-ID value with support. It identifies a failing request without exposing a token or canvas content.

The full contract, including the human-side responsibilities, is on The safety contract.

The Canvas Agent Guide

The application ships an optional, versioned how-to guide — guide version 1.9.0 — that an agent can read at runtime. Sixteen topics cover the basics (work-in-gavana), editing existing canvases, layout and Sections, connections, prompt lists, generated assets, video, product imports, paid-action safety, validation and recovery, creative and campaign work, reusable workflows, untrusted content, and common mistakes.

The guide is help, not a gate: a simple read, save, or single image needs none, and the person’s request always wins over a guide default.

Resource-capable clients see it as MCP resources under gavana://guides/canvas/v1/. Tool-only clients get the same content through guide_get: no arguments for the index, a topic ID for one topic, or query to search. Each connection receives the guide trimmed to the tools it can call. See the hosted tool guide.

Where next

Last updated on