Skip to content

devlanes is in beta and not ready for production use.Report an issue

MCP tools

devlanes mcp serves devlanes to a coding agent over MCP. Set up a coding agent registers it with your agent.

OptionEffect
--read-onlyOffer only the tools that change nothing.
--path DIRRun calls that name no cwd in this worktree.
--lane LANEUse this lane for calls that name no cwd or lane.

Each tool runs the devlanes command of the same name and takes that command’s options as arguments, with _ in place of -. Every tool also takes cwd, the worktree to run in.

ToolDoesMain arguments
statusShow lanes and units with their state and URLslane, mine
startStart the lane and wait until it is readyunits, profile, timeout
execRun a dev server, watcher or other long-running command as a unit of the lanename, command
logsRead the logs of unitsunits, tail, grep, since
stopStop units, or the whole laneunits, mine
restartRestart units, or the whole laneunits
reloadApply changes to the project file or .envunits
waitWait until a unit or lane is ready or failedtarget, timeout
withStart the lane, run a command such as the tests, then stop what was startedcommand, keep
runRun a task from the project filetask
debug_whyExplain why a unit is not running or not readyunit
debug_errorsList failed units and recent errorssince
debug_topShow CPU and memory of the running units
url_printPrint a service’s URLunit
url_lsList the routed hostnames
env_showPrint the environment of the lane or a unitunit, explain
lane_lsList the lanes
lane_cleanClean a lane and delete its datalane, dry_run
daemon_pairPrint a pairing code for another machine
doctorCheck the daemon, Docker, proxy, CA and hostnames
devlanesRun any other devlanes commandargs

lane_clean, daemon_pair and other commands that delete data or reach other machines ask you before they run. Commands that need a terminal, such as ui and setup, are refused.

Calls that wait, such as start and wait, stop a little before the agent’s own time limit and return what is ready so far; another wait call continues.