Skip to Content
AgentsOther clients

Other Clients

Settings → Connect an agent has numbered steps for Claude, ChatGPT, Hermes, Claude Code, Codex, Cursor, and VS Code, and an Other option for everything else. Any other MCP client connects with the same two transports — you just supply the configuration in whatever format that client expects.

The quickest start is Other (open it ): it gives you the address to paste, the same entry as JSON, and a final Click Connect on the Gavana page step. If your app is an agent that can change its own MCP settings, Copy message under Let your agent set it up works too.

Path 1 — Hosted MCP over OAuth

For any client that supports remote MCP over streamable HTTP with OAuth.

Transport: streamable-http Endpoint: https://app.gavana.ai/mcp

The client registers itself dynamically at /oauth/register, sends the user to /oauth/authorize, and exchanges the code at /oauth/token. The flow uses PKCE with S256 and binds to the exact redirect URI the client registered. Gavana’s own CLI uses precisely this flow when you run gavana auth login.

A configuration-file client takes the same entry as JSON. Use the server name gavana:

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

Save the server, choose OAuth, and start browser sign-in. If no browser sign-in opens, your client cannot do remote OAuth — use Path 2 with a token instead.

Requested scopes:

ConnectionScopes requested at consent
https://app.gavana.ai/mcpcanvas:read, canvas:write, asset:read, element:read, element:write, image:generate, video:generate, job:manage
Read-only access turned on under Othercanvas:read, element:read

The authorization server also advertises reference:extract. A client that asks for every advertised scope is narrowed to what the MCP server can grant, rather than refused.

Resulting permission surface. A normal connection lists 17 core 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. See hosted MCP tools.

The connection stays active until you revoke it. A hosted connection can narrow itself further with ?profile=, ?toolsets=, and ?excludeTools= on the address — see hosted MCP tools.

Path 2 — Local stdio MCP

For any client that launches a local process. This is the widest tool surface — see the local tools reference.

Command: npx Args: -y @gavana.ai/mcp@0.5.1 Env: GAVANA_BASE_URL=https://app.gavana.ai GAVANA_AGENT_TOKEN=<your Personal Access Token>

Get the canonical definition, including the credential-source note, straight from the CLI:

gavana mcp config local

It resolves credentials from the active Gavana CLI profile, or from inherited GAVANA_BASE_URL and GAVANA_AGENT_TOKEN environment variables — so if the client inherits your shell environment and you have already run gavana auth login, you may not need to set anything explicitly.

On macOS the CLI usually stores its login in Keychain; if the server reports that the Keychain credential is inaccessible to this process, pass the token through the environment instead.

Resulting permission surface. Exactly the scopes on the token or login. Tools outside those scopes fail with a permission error rather than succeeding.

Requires Node.js 20 or newer.

Path 3 — The CLI as a shell tool

Any agent that can run shell commands can use the Gavana CLI directly. This is often the better fit for scripted and CI work: one JSON object on stdout, errors and progress on stderr, meaningful exit codes, a built-in --jq selector, and — unlike MCP — webhook support.

gavana canvas list --limit 25 --jq '.canvases[].handle' -r gavana canvas get canvas:OWNER_UID:CANVAS_ID --output markdown

Shell completion is available for zsh, Bash, and fish:

gavana completion zsh

Path 4 — The Canvas API directly

For your own service, skip MCP entirely and call the Canvas API. It is a documented OpenAPI 3.1 contract with revision-safe writes, idempotency, pagination, and signed webhooks.

Base URL: https://app.gavana.ai/api/canvas-agent/v1 Authorization: Bearer <Personal Access Token>

A dependency-free JavaScript client ships with the CLI package:

import { createCanvasAgentClient } from "@gavana.ai/cli"; const client = createCanvasAgentClient({ baseUrl: process.env.GAVANA_BASE_URL, token: process.env.GAVANA_AGENT_TOKEN, surface: "api" }); const result = await client.listCanvases();

If you want to explore endpoints without writing a client, the CLI has a raw passthrough restricted to paths under /api/canvas-agent/v1:

gavana api GET /canvases --field limit=10 gavana api POST /canvases --json '{"title":"Concepts"}'

Which path

Your clientPath
Remote MCP with OAuth support1
Local MCP that launches processes2
Shell-capable agent, or CI3
Your own backend service4
Needs webhooks3 or 4 — MCP omits webhook secrets by design

Requirements for any path

  • HTTPS for remote origins. Plain HTTP is accepted only for localhost, 127.0.0.1, and ::1.
  • Node.js 20 or newer for the CLI and the local MCP server.
  • A scoped credential. Either browser OAuth, or a Personal Access Token. New Personal Access Tokens default to eight of the nine scopes — everything except reference:extract — and Never expiry; narrow them or choose a custom expiry when appropriate.

Compatibility

CRAFTBOARD_BASE_URL, CRAFTBOARD_AGENT_TOKEN, CRAFTBOARD_PROFILE, and CRAFTBOARD_AGENT_CONFIG_FILE remain supported as aliases of their GAVANA_* counterparts. The craftboard and craftboard-canvas commands remain available. Existing configuration at ~/.config/craftboard/agent.json is still read when no Gavana configuration is present.

Give your agent the contract

Whatever the transport, point the agent at the safety contract. If it speaks MCP, it can also fetch Gavana’s own guidance at runtime — guide_get (pass query to search) on the hosted server, guide_search and guide_get on the local one — or read the resources under gavana://guides/canvas/v1/.

Last updated on