Installation
This guide gets the PhysiClaw server running and connected to your agent. You’ll need the hardware assembled, a phone in the cradle, and Python 3.11+.
Install the server
Section titled “Install the server”-
Install the Python dependencies.
bash pip install pyserial opencv-python mcp -
Clone the repository.
bash git clone https://github.com/physiclaw/PhysiClaw.gitcd PhysiClaw -
Confirm the layout.
Directoryphysiclaw/
- physiclaw_server.py MCP server entry point
- hand.py serial G-code control
- eyes.py USB camera capture
- config.py configuration constants
Connect the hardware
Section titled “Connect the hardware”-
Plug the GRBL board, top camera, and side camera into the USB hub, and the hub into your computer.
-
Find the serial port and camera indices, then set them in
config.py:bash ls /dev/tty.usb* # e.g. /dev/tty.usbserial-1420bash ls /dev/ttyUSB* /dev/ttyACM* -
Start the server to verify it reaches the board and both cameras:
bash python -m physiclaw.physiclaw_server --check
Register with your agent
Section titled “Register with your agent”Add PhysiClaw to your MCP client. For Claude Desktop, edit claude_desktop_config.json:
{ "mcpServers": { "physiclaw": { "command": "python", "args": ["-m", "physiclaw.physiclaw_server"] } }}Restart the client. The PhysiClaw tools — screenshot_top, move, tap, swipe, park —
should now be available. Continue to the Quickstart.