CODING AGENTS (MCP)
Sorvel is also an MCP server: Claude Code, Cursor, VS Code and Codex can drive it from their own chat. It runs in two places — inside the desktop app, next to the projects on your own machine, and on sorvel.dev for projects that live there. Either way Settings → MCP shows the address and a ready-made setup for each client (one command for Claude Code, one-click buttons for Cursor and VS Code, a TOML block for Codex). On sorvel.dev you paste nothing: the client opens this site, you approve once — reading, writing and spending credits are three separate permissions — and you withdraw it under “Connected applications”. The desktop app has one machine token instead, and access tokens are still there on sorvel.dev for CI and machines that cannot open a browser.
Seventeen tools, grouped by what they are for. Only sorvel_send_message costs credits; everything else is free:
- Finding your way around — sorvel_whoami (who is signed in, and whether the engine is ready), sorvel_list_projects, sorvel_get_project — the file contract, what is locked, the preview address, the last checkpoint — and sorvel_create_project.
- Reading and writing the code — sorvel_list_files, sorvel_read_file, sorvel_write_files and sorvel_delete_file. In the desktop app the agent can skip these and edit the folder with its own tools; on sorvel.dev they are the only way in, and a write is refused outright if it breaks the contract or carries a secret.
- Checking the work — sorvel_validate runs prettier, eslint, tsc and expo export, republishes the preview and refreshes the phone, and commits a checkpoint when you give it a message. sorvel_device_preview starts, stops or inspects the phone preview and can return the QR image.
- Handing work to Sorvel — sorvel_send_message is the chat turn itself, the one tool that spends credits (dry_run prices it first); sorvel_get_job follows it, sorvel_cancel_job is the Stop button, and sorvel_get_messages reads what Sorvel said or asked.
- Going back — sorvel_list_checkpoints and sorvel_restore_checkpoint, which restores as a forward commit, so the history it came from is still there.
Settings → MCP carries the exact setup for your client, and the same list with one line per tool.