CLI
Run the conciv commands the agent drives your app with, from your own terminal.
The conciv CLI sets a project up and drives your running dev server. The agent uses the same commands. Run one from your project folder:
npx @conciv/cli tools page snapshotEvery command accepts --help for its flags, for example npx @conciv/cli auth link --help. The full list of
commands and flags is at the end of the page.
Bare conciv is for the agent
The agents conciv starts have conciv on their PATH, from .conciv/bin. Your own shell does not, so you type npx @conciv/cli instead.
These commands print one JSON document, {"ok":true,"data":...} or {"ok":false,"error":...}:
toolspluginauthmcp connect,mcp disconnectandmcp list
Pipe it to jq in a script.
init
Sets a project up: installs @conciv/it, wires your bundler config, and connects your agents.
npx @conciv/cli@latest init--yesaccepts every detected default, with no prompts.--dry-runprints the plan and touches nothing.--forceruns even with uncommitted git changes.--jsonprints one JSON result and never prompts. Pair it with--yes:
npx @conciv/cli@latest init --yes --jsonLearn more in Getting started.
tools
Reads and drives the live page through your running dev server. The commands under tools come from the engine's own
tool list. A plugin's tools show up as soon as the engine loads it.
npx @conciv/cli tools page click --name SubmitButtonpage is the tool group. click is the tool. A tool that targets an element takes one of:
--selector: a CSS selector--ref: a ref from the last snapshot--name: a React component name
--tab with a session id acts on that one tab, on whichever dev server holds it.
tools --help lists every tool the running engine serves.
tools tabs lists the open conciv tabs of every running dev server on this machine:
npx @conciv/cli tools tabsLearn more in Page control.
plugin call
Calls a method a plugin registered on the running engine, and prints its output.
npx @conciv/cli plugin call server open --data '{"file":"src/routes/index.tsx","line":12}'server is the plugin's RPC id. open is the method. --data, or -d, sends the method's input as JSON. Learn
more in the Dev server documentation.
auth link
Prints a one-time login link for a page served by the conciv dev server.
npx @conciv/cli auth link http://localhost:5173/Open the link in the browser you want to log in. Learn more in Logging in.
auth revoke
With no id, lists the browsers that logged in to this project's engine. It logs nobody out:
npx @conciv/cli auth revokeWith an id from that list, logs that one browser out. --all logs every browser out:
npx @conciv/cli auth revoke 3f2a9c1dmcp connect
Adds conciv to an agent CLI, so that agent can find and drive your open conciv tabs.
npx @conciv/cli mcp connect claudeThe agent is one of claude, codex, gemini-cli or opencode. Learn more in Agents.
mcp disconnect
Removes conciv from an agent CLI.
npx @conciv/cli mcp disconnect codexmcp list
Lists the agents connected to conciv.
npx @conciv/cli mcp listmcp serve
Serves conciv to an outside agent over MCP on stdio, not JSON. mcp connect writes this command into the agent's config.
You rarely run it yourself.
npx @conciv/cli mcp serve --agent claude--version
--version, or -v, prints the CLI's version as plain text.
npx @conciv/cli --versionAll commands
conciv generates this list from the CLI's own command tree. A flag listed under a command applies to the commands below it too.
conciv
The conciv dev-agent CLI.
Prop
Type
conciv tools tabs
list the open conciv tabs of every running conciv dev server on this machine
conciv init
Set this project up for conciv: install, wire the bundler, connect your agents.
Prop
Type
conciv auth revoke
Stop trusting a browser that logged in to the conciv engine.
Prop
Type
conciv auth link
Print a one-time login link for a page served with the conciv dev server.
Prop
Type
conciv mcp serve
Serve conciv to an outside agent over MCP stdio, through the running conciv dev server.
Prop
Type
conciv mcp connect
Add conciv to an agent CLI, so that agent can find and drive your open conciv tabs.
Prop
Type
conciv mcp disconnect
Stop conciv answering an agent and remove conciv from that agent CLI.
Prop
Type
conciv mcp list
The agents connected to conciv.
conciv logs
Read the logs the conciv engine stored, newest first; switch or clean them with the subcommands.
Prop
Type
conciv logs level
Print the engine and widget log levels, or set them.
Prop
Type
conciv logs cleanup
Delete the stored logs older than the retention (logRetention, 7d by default) now.
conciv plugin call
Call a plugin's RPC method on the running conciv engine and print its output.
Prop
Type
Next steps
- Page control: what the agent does with
tools page. - Agents: connect Claude Code, Codex and the rest.
- Troubleshooting: every message the CLI prints, with its fix.