MCP server enabling real USB HID keyboard and mouse control via Raspberry Pi Pico 2 hardware.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent ā or use 1-click editor setup below.
The install command below didn't complete successfully in our automated test.
uvx clawtouch-mcp/bin/bash: line 1: uvx: command not found
This is an experimental automated check and can have false negatives ā missing environment variables, a slow cold install, etc. It doesnāt necessarily mean somethingās wrong. Last checked 1mo ago.
š” Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by Clawtouch MCP.
hid.clickClick at (x, y)
hid.moveMove the mouse to (x, y)
hid.hoverMove to (x, y), then idle
hid.typeType a UTF-8 string
hid.scrollWheel scroll up / down
hid.keyPress a named key or shortcut (`enter`, `ctrl+c`, ā¦)
English | ē®ä½äøę
Give your AI agent real hands. An MCP server that turns any MCP-compatible client ā Claude Desktop, Cline, Continue, Cursor, OpenClaw, Hermes Agent and any other ā into something that can move a real mouse and press real keys through a USB HID device.
A standalone Python process that speaks Model Context Protocol (MCP) over
stdio and exposes mouse / keyboard primitives ā hid.click, hid.type,
hid.scroll, key combos, hid.screenshot ā to whatever AI agent you already
use. Under the hood it talks over USB serial to a ClawTouch HID device (a
Raspberry Pi Pico 2 running the open ClawTouch HID firmware, or any
turnkey ClawTouch box) and translates each tool call into a real USB HID report.
The target OS sees a genuine physical keyboard and mouse ā input arrives on
the same driver path as any plugged-in peripheral, not as a software-injected
synthetic event.
š¦ MIT-licensed. No ClawTouch backend, no LLM, no agent loop on top ā just the raw HID plumbing so other agent stacks can talk to real hardware.
ā ļø This gives an agent real keyboard / mouse reach over a machine ā the same reach as a person at the keyboard. Read Safety first.
Software automation (PyAutoGUI, OS-level input APIs, multimodal click-the-screen models) injects synthetic input events into a session ā which requires an agent process running on the target machine, in that user session, with focus. A USB HID peripheral works the other way around: it emits real HID reports that travel the standard OS HID driver stack, exactly like a plugged-in keyboard or mouse. The OS recognizes the Pico natively as a standard USB HID class device and needs no mouse / keyboard driver and no HID agent process on the input side of the target. That difference is the whole point of this project ā every other section below just builds on it.
Local mode is the common case (agent + clawtouch-mcp + Pico + the screen
all on one PC; the clawtouch-mcp process lives there because it's the agent's
host, but the input side needs no driver). Cross-host control ā agent on one
machine driving a target on another over USB HID ā is an additional capability
the same hardware unlocks; see Deployment modes.
Good for:
Not for:
For standard desktop apps (browser, IDE, office suites) the software-only path is already enough ā the hardware is just an extra option there, not a requirement. Its irreplaceable value is the cases above, where the target can't host an agent, must show the OS a genuine physical HID device, or has to be driven across machines. For the compliance boundary on the "not for" cases, see Acceptable use.
ā ļø Before you start: read Safety ā a connected agent can operate this machine like a person at the keyboard.
Platform-specific setup guides (recommended on first install):
docs/windows-setup.md: dual
COM port enumeration, VS Code Claude extension .mcp.json config,
full window restart required, display-scaling notes.docs/macos-setup.md: Keyboard
Setup Assistant dialog on first plug-in, dual USB-CDC ports, Screen
Recording permission, Pinyin IME punctuation gotchas.v0.2.3+ auto-detects the primary monitor's physical pixel size on startup so coordinates clamp to the actual screen rather than a hard-coded
1920x1080. Usedevice.infofrom your MCP client to see what was detected (screen.sourceis"detected"/"explicit"/"unset").
Add to ~/Library/Application Support/Claude/claude_desktop_config.json
(macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
Restart Claude Desktop. You should see clawtouch show up in the MCP server
list with 16 tools available (14 HID + 2 device; +2 if you pass
--allow-screenshot, which enables hid.screenshot and screen.windows). Try:
Take a screenshot of my screen, find the search box, click it, and type "hello world".
(Requires --allow-screenshot to enable the hid.screenshot tool ā off by
default for privacy.)
Copy-pasteable config for 7 verified clients (Claude Desktop / Code,
Cursor, OpenClaw, Hermes Agent, ChatGPT Desktop / Codex CLI,
Cherry Studio, Trae IDE) ā see
examples/integrations/INTEGRATIONS.md.
PRs adding new clients welcome.
Is the agent on the same machine as the screen? clawtouch-mcp covers the input side only (agent tool call ā HID report ā real input). The visual side (agent reads the screen to decide what to do next) is not in this repo ā how you wire the two sides together depends on where the agent runs.
Local mode ā the common case. agent + clawtouch-mcp + Pico + the controlled screen all on one PC. hid.screenshot captures that same screen, so the visual feedback loop closes naturally; the Pico is a standard USB HID device needing no driver. Good for accessibility, single-machine RPA, compatibility testing, in-machine kiosk self-service.
Cross-host mode ā input supported, visual is your problem. agent + clawtouch-mcp on machine A; the Pico and the controlled screen on machine B. This repo fully covers the input side (A ā B over USB HID), but hid.screenshot still captures A's screen, not B's ā HID carries input one-way only; reverse screen capture isn't in the spec. Pick a visual path: HDMI capture card (B stays truly software-free, needs capture hardware) Ā· VNC / RDP (open, no vendor lock-in, but B is no longer software-free) Ā· API / log verification (check progress at checkpoints, not real-time; fixed-flow RPA only) Ā· blind operation (pre-baked command sequence, no feedback; fully deterministic macros only). Good for industrial PCs that can't run a modern OS, strictly isolated embedded test targets, QA-lab phone farms.
Read this before connecting an autonomous agent. The runtime limits above are flood / typo guards, not a security boundary against a misbehaving agent.
Factual signals from GitHub, npm, and our automated checks ā not a rating.
No reviews yet ā be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/tinqiao-oss-clawtouch-mcp)<a href="https://allmcps.com/mcp/tinqiao-oss-clawtouch-mcp"><img src="https://allmcps.com/api/badge/tinqiao-oss-clawtouch-mcp?style=directory" alt="Clawtouch MCP on AllMCPs" /></a>