Free tools · Automation

Let a coding agent create, run and throw away machines

Expose 1VMTool to a coding agent over MCP so it can create, run and dispose of virtual machines under a token you scope. The endpoint is off until you turn it on, tokens are limited by level and by machine, and every tool call is written to an audit log.

macOS 26 or later · Apple silicon · free on both tiers

Step by step

  1. 1vm mcp enable --port 8777

    Turn the local endpoint on. It is off by default and listens on this Mac only.

  2. 1vm mcp token create claude --level operate --machines agent-owned

    A bearer token, printed once, scoped to a level and to the machines it may touch.

  3. 1vm mcp install-snippet claude-code

    Prints the client configuration to paste. --uninstall prints the removal form.

  4. 1vm mcp audit --limit 50

    Recent tool calls, filterable by tool or by token.

Worth knowing

  • Levels are read, operate, create and destroy. `--machines` narrows a token further to agent-owned machines, all machines, or a named list.
  • `1vm agent gc` deletes stopped machines the agent created, so an experiment does not silently fill the library.
  • `1vm task run -- <cmd>` is the non-MCP version of the same idea: clone a golden, run a command, dispose of the machine.

The long version

This page is the short path. For the whole area in prose — the options, the edge cases and what to do when it does not work — read Automation and MCP.

Related

Frequently asked questions

Is the MCP endpoint exposed to the network?

No. It listens locally and is off until you enable it. `1vm mcp status` reports whether it is listening, on which port, who owns it, which tokens exist and which clients connected recently.

Which AI clients are supported?

`1vm mcp install-snippet` covers Claude Code, Cursor, Claude Desktop, Codex, Gemini, OpenCode, Windsurf, Cline, VS Code, Grok and generic HTTP or stdio clients.

Can an agent delete my real machines?

Only with a token you scoped that way. A token limited to `agent-owned` machines cannot touch anything you created yourself, and `destroy` is a level you have to grant deliberately.