Working with an AI Assistant

An AI assistant you already use can write, check and run Divooka documents: Claude Code, Claude Desktop, Codex, Cursor, or any other client of the Model Context Protocol (MCP). Divooka Compute ships divooka-mcp, the program that gives the assistant its tools. It runs on your computer and needs no Methodox account. The assistant is your own, on your own plan with its provider, and what it reads of your documents goes to that provider, as anything else you show it does.

Connecting one

Open Appearance and settings (the sliders in the title bar), and under Assistants choose yours beside Connect. What to add appears, with the path of your installation in it, and a button that copies it.

Assistant Where it goes
Claude Code A command to run in a terminal. Divooka is then there in every project of yours.
Claude Desktop In Claude Desktop, Settings, Developer, Edit Config opens claude_desktop_config.json. Add the text, save, then quit Claude Desktop and start it again.
Codex A command to run in a terminal.
Cursor The file .cursor/mcp.json in your home folder.

A configuration file that already lists other servers under mcpServers keeps them: add only the "divooka" entry beside them. Any other client that starts MCP servers itself needs one thing, the path of divooka-mcp in Divooka Compute's folder. In a terminal, divooka-mcp --config claude-code prints the same setup; claude, codex and cursor are the others.

Then ask for something, naming the file: "Make a Divooka document at C:\Work\Totals.dvk that reads sales.csv and prints the total for each month. Run it and check the numbers."

What it can do

Learn Read the guide to writing Divooka with these tools, search the nodes and the installed examples, and read any document as text.
Build Create a document and change it in batches. A batch that cannot be carried out changes nothing, and the assistant is told why.
Check Validate a document without running it, and look at a picture of a graph.
Run Run a document, interpreted or compiled, see what it printed and compare that with what was expected.
Serve Run a document that is a web server, on your computer only, and send it requests.

A run is a real run: the document's nodes read and write files, use the network and start programs as they do when you run it yourself. Your assistant asks before it uses a tool according to its own settings; leave run and serve to ask each time if you want to look first.

Documents you have open

An assistant works on a document open in Divooka Compute in its window, not in its file:

  • Its changes appear on the canvas as it makes them. Each batch is one step, so one Ctrl+Z takes it back, and the status bar reads Edited by an assistant.
  • The document is left unsaved. You save it, or undo and leave the file as it was.
  • It reads, checks and runs what the window holds, your unsaved changes included.
  • Nothing asks you first. With Open documents reachable off, under Assistants in Appearance and settings, an assistant is refused the documents you have open.
  • A file open in two windows is not edited until it is closed in one of them.

A document that is not open is edited in its file, and each batch is saved. If you save the same file in between, the assistant reads it again before it goes on, and does not write over what you saved.

Reading only

To let an assistant explain and review but change nothing and run nothing, start divooka-mcp with --profile readonly. For Claude Code:

claude mcp add --scope user divooka -- "<Divooka Compute's folder>\divooka-mcp.exe" --profile readonly

In a configuration file, add "args": ["--profile", "readonly"] beside "command".

--no-windows keeps an assistant to files, whatever is open. It then does not know what a window holds, so use it only for documents you do not have open.

See also