Docs / AI agents
Set up MCP
Give your AI agent the same controls you have, with one line.
The command that drives Devicewing ships inside the app. Run as devicewing mcp, it is an MCP server with one tool per command. Add it to your agent as an MCP server:
/Applications/Devicewing.app/Contents/SharedSupport/devicewing mcp
Most agents take a command like that in their MCP settings or with an “add MCP server” command. The server opens Devicewing if it is not running.
What the agent can do
Everything in Agent tools: fold and turn devices, read and touch the screen, install and launch your build, change simulator settings, and take screenshots and recordings. screenshot and capture_screen return the image as well as its path, so the agent can look at its own work.
How it connects
The app and the command talk through a socket file at ~/Library/Application Support/Devicewing/control.sock, one JSON object per line. Nothing leaves your Mac.
A first test
Ask your agent to fold the iPhone Duo to the tent pose and take a screenshot. It should call set_pose with tent, then screenshot, and show you the picture.
Something wrong on this page? Email [email protected].