Skip to content

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

Set up a coding agent

Set this up when a coding agent works in a repository that runs on devlanes. Your agent can do it for you:

Install the devlanes skill:
npx skills add devlanes-run/devlanes --skill devlanes
Then check that your shell can run devlanes in this repository.
If it cannot, register the devlanes MCP server with this agent.
Tell me which steps I have to do myself, such as restarting you.

The skill teaches the agent to run dev servers and watchers through the daemon, so they outlive its shell commands, and to test and stop what it started.

Terminal window
$ npx skills add devlanes-run/devlanes --skill devlanes

The MCP server offers devlanes commands to the agent as tools. Register it when the agent host has no shell, or when its sandbox keeps the shell away from the daemon.

Claude Code

Terminal window
$ claude mcp add --scope user devlanes -- devlanes mcp

Codex

Terminal window
$ codex mcp add devlanes -- devlanes mcp

OpenCode

Terminal window
$ opencode mcp add devlanes --global -- devlanes mcp

Cursor

~/.cursor/mcp.json
{
"mcpServers": {
"devlanes": { "type": "stdio", "command": "devlanes", "args": ["mcp"] }
}
}

Each registers the server for every project. devlanes mcp --help prints the lines for other hosts.

Add --read-only after mcp, and the agent gets the tools for status, logs and errors only:

Terminal window
$ claude mcp add --scope user devlanes -- devlanes mcp --read-only

Use devlanes from an agent sandbox says which way in works.