Skip to Content
MCPInstallVS Code

VS Code

VS Code connects to the hosted Gavana server over streamable HTTP with browser OAuth. Gavana shows these steps, with the button, under Settings → Connect an agent → VS Code (open them ).

The Gavana side

These are the facts that matter, and they are identical for every client:

Hosted MCP
URLhttps://app.gavana.ai/mcp
Server namegavana
TransportStreamable HTTP
AuthBrowser OAuth, PKCE, no token to paste
Tools listed17 core tools; every other hosted tool stays callable by name

VS Code discovers everything else — authorization endpoint, token endpoint, PKCE requirement, scopes — from Gavana’s published OAuth metadata. There is nothing to configure beyond the URL.

Install in one click

Open in VS Code

With VS Code installed, open Add Gavana to VS Code and click Install in VS Code. The link carries only this configuration:

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

Click Allow

When VS Code says the server wants to authenticate, click Allow. Your browser opens for sign-in.

Click Connect on the Gavana page

Check that Connecting as shows the right account, review the eight permissions, and click Connect.

Install by editing JSON

Open .vscode/mcp.json and paste this

{ "servers": { "gavana": { "type": "http", "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 "servers", and put a comma after the server before it.

Save the configuration

This file is in your project. To use Gavana in every project, put the same entry in the file that MCP: Open User Configuration opens.

Click Allow, then Connect

Allow the authentication request in VS Code, then click Connect on the Gavana page.

If you have the Gavana CLI, gavana mcp config vscode prints the same servers block. gavana mcp install does not support VS Code — install only runs codex and claude.

Resulting permission surface

The consent screen asks for eight permissions: canvas:read, canvas:write, asset:read, element:read, element:write, image:generate, video:generate, and job:manage. 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 agent inside your editor 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 VS Code steps before you click the button or copy the JSON. It installs a separate server named gavana-readonly.

Local stdio instead

If you need the full local catalog, VS Code can run it as a stdio server. You need Node.js 20 or newer, and either your Gavana CLI login on the same machine or an Agent Access token. The command and environment Gavana expects are:

command: npx args: -y @gavana.ai/mcp@0.5.1 env: GAVANA_BASE_URL=https://app.gavana.ai GAVANA_AGENT_TOKEN=<your Agent Access token>

Leave out env when the CLI login is available. Express the entry in the shape your VS Code version’s mcp.json uses for stdio servers. VS Code supports input prompts for secrets — use one for the token rather than writing it into a workspace file that could be committed.

Optional narrowing, without changing the credential:

GAVANA_MCP_READ_ONLY=true GAVANA_MCP_TOOLSETS=canvas,assets GAVANA_MCP_EXCLUDE_TOOLS=node_delete,job_cancel

Verify

Open VS Code’s MCP server view and confirm gavana is running — 17 tools on the hosted server by default, or the local catalog. Ask the agent to call guide_get — it requires no scope at all, so success confirms the transport independently of your permission choices.

Last updated on