MCP
This guide is also in the app, under Help › Guide. The dotted names are buttons, panels and options there: in the app, clicking one lights up its place in the window. That only works in the app.
Code Canvas has an MCP server. Coding agents that support MCP, such as Claude Code and Codex, can connect to it and use Code Canvas alongside you.
The panel has a prompt to copy to your agent, which sets it up. Agents connect to the Code Canvas you used most recently.
What an agent can do
- Read this guide, to answer your questions about Code Canvas.
- Run any command from the command palette. For example, it can open a folder as code, fly to a file or a line, switch edge kinds on or off, close folders, search, or open a panel. It never changes your files through Code Canvas.
- Read the graph you see: the dependencies between files, and which edges run backwards. So it understands the layout the way you see it.
- Follow code through language servers, as you do when you click a symbol. It can ask about a function, keep only the callers and calls that matter, and ask about those in turn. Then it can fold the canvas down to the lines they light up. So when you ask it to show you the code for a feature, the canvas ends up showing only those functions and how they connect.
Notes on the canvas
An agent can explain your code in a note on the canvas, instead of in chat. Every file, folder, function or block of code the note mentions is a link. On the canvas, the places they name are lit in the same colour as the link. Zoomed out, they turn into bright marks, so you can find them from far away. When you hover a link, a dotted line connects it to its place on the canvas. Click the link to go there: a function or a block of lines comes to the middle of the canvas. Double-click a link to zoom in on its place. For a function or a block of lines, the whole of it comes into view.
Rest the pointer on a lit place to see the part of the note about it, next to it. A folder or a file shows its note when most of it and its name are on screen. Click Open in Notes there to read the whole note in the panel. In the panel's settings, Show notes chooses On hover or As comments. As comments, the place under the pointer gets a comment dot at its corner: click it to open the note there.
So you read the explanation next to the code it describes. At each step, you can click the symbols in the code to follow their edges.
The panel lists every note, newest first.
Moves every agent note to the Trash, after asking.
In the app:
Lights every note's places on the canvas, or takes them all off.
In the app:
Shows every note's text in the Notes panel, or folds every note to its title.
In the app:
On: a comment dot on a lit place under the pointer, whose click shows the part of the note about it, beside it, until closed. Off: resting on the place shows it.
In the app:
A markdown note in the Notes panel; its links light what they name on the canvas. Returns its id, its number of links and missingPaths.
Replaces a note's text, by its id or the most recent with matchTitle, rather than pushing a near copy.
Every note, newest first: id, title, agent, time.
Moves every note to the Trash. The user clears notes when done with them: only when asked.