Rebind MCP

Give your agent real hands.

Add the Rebind MCP server to Claude Code or Codex. It knows the whole Rebind SDK, writes and runs your scripts, and publishes them. You write no code.

Rebind superpowers.

Claude Code or Codex reads every Rebind API, writes the script, runs it, and publishes it to the marketplace, on your own Claude or ChatGPT plan. You never write a line of Luau.

❯ please install the rebind mcp server from rebind.gg
● I'll check rebind.gg for its install instructions first.
● Fetch(https://rebind.gg/agents)
  ⎿  Found the install command for Claude Code
● Bash(npx add-mcp "bunx @rebind.gg/mcp-server" --name rebind -g -a claude-code)
  ⎿  Added rebind to Claude Code
● Bash(bunx @rebind.gg/mcp-server --selftest)
  ⎿  selftest OK: relay ws://127.0.0.1:19561, display 1 2560x1440
● The Rebind MCP server is added. Restart Claude Code to load its tools.
❯ in figma only, make caps lock flip between the hand and move tools. put it on autostart
● I'll find Figma's process, write a script scoped to it, install it, then turn on auto-start in Rebind.
● rebind - list_windows (MCP)(filter: "Figma")
  ⎿  Figma  process Figma  "Design system"  1440x900
● Bash(rebind init figma-tools)
  ⎿  created figma-tools
● Write(figma-tools/main.luau)
     -- rebind: process=Figma
     local hand = false
     rb.bind("CapsLock", rb.async(function()
       hand = not hand
       rb.hid.press(if hand then "H" else "V")
     end))
● Update(figma-tools/rebind.toml)
     [runtime]
     permissions = []
● Bash(rebind check figma-tools)
  ⎿  checking figma-tools v0.1.0
  ⎿  ok  manifest / modeline / require graph (1 module) / compile / permissions
● Bash(rebind pack figma-tools && rebind install figma-tools.rbp --allow)
  ⎿  packaged figma-tools.rbp (3 files, 850 B)
● Bash(rebind script start packages/figma-tools/main.luau)
  ⎿  started figma-tools
● rebind - focus_window (MCP)(title: "Rebind")
● rebind - screenshot_window (MCP)
  ⎿  Scripts > figma-tools > Options, Auto-start off
● rebind - click (MCP)(x: 1184, y: 412)
  ⎿  landed on Auto-start; it now reads on
● Done. Caps Lock flips Hand and Move in Figma only, and figma-tools starts with Rebind.
❯ publish figma-tools to the rebind marketplace
● I'll add the listing details, then submit it for review.
● Update(figma-tools/rebind.toml)
     [marketplace]
     summary = "Caps Lock flips Hand and Move in Figma"
     category = "apps"
● Bash(rebind publish figma-tools)
  ⎿  checking figma-tools v0.1.0
  ⎿  ok  manifest / modeline / require graph (1 module) / compile / permissions
  ⎿  submitted figma-tools v0.1.0 for review
● figma-tools is on its way to the marketplace. You wrote no code.

Observation

Watch, write, run, repeat.

An observation is Rebind's own recording format, a primitive built for agents: your agent reads one to learn how you use your computer, builds that behavior into a reusable script, runs it, and watches again until the script does what you did. It is an agentic development loop.

watch

Every key and frame

Keys with hold times, clicks, the active window, and a screenshot whenever the screen changes.

observe_startobserve_events

write and rerun

A script from what it saw

The agent turns the recording into a Rebind script on a key, runs it, and fixes what differs.

decide

Judgment in the script

Where a script needs judgment, rb.ai.decide asks Jev through Rebind's backend: a text answer in about 140 ms, a full game window in about 230 ms.

rb.ai.decide

try asking

  • Observe me doing {something} for 10 minutes and write a Rebind script to repeat the behavior.
  • Add a screen overlay invisible to stream that shows which OBS scene is active, whether I'm live, and whether my mic is muted.

Tools

What the agent can do.

One server, one tool call at a time, every click checked against the real cursor. The full tool list(opens in a new tab) is in the docs.

See the screen

screenshotscreenshot_windowzoomread_page

Click and scroll

clickclick_elementmove_mousescroll

Type and press keys

typekey

Arrange windows

list_windowsfocus_windowposition_window

Run Luau

run_luarebind_docs

Pace and calibrate

get_cursorwaitcalibrate

Install the MCP server

One command per client.

Pick your agent, run the command, then restart it.

$npx add-mcp "bunx @rebind.gg/mcp-server" --name rebind -g -a claude-code

Needs Bun and the free Remote Control package running in Rebind.

Setup guide(opens in a new tab)GitHub(opens in a new tab)npm package(opens in a new tab)