@rebind.gg/mcp-server 0.1.0 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +24 -4
- package/package.json +3 -4
- package/src/index.ts +1 -1
package/README.md
CHANGED
|
@@ -3,13 +3,33 @@
|
|
|
3
3
|
Stdio MCP server that exposes Rebind as computer-use tools: `screenshot`,
|
|
4
4
|
`screenshot_window`, `zoom`, `click` (verified), `move_mouse`, `type`, `key`,
|
|
5
5
|
`scroll`, `run_lua`, `wait`, window control, and `calibrate`. Wraps
|
|
6
|
-
`@rebind.gg/client-ts`; requires
|
|
7
|
-
|
|
8
|
-
(protocol >= 1.1.0). The `click` tool clicks via `hid.press`, which is
|
|
6
|
+
`@rebind.gg/client-ts`; requires the **Rebind** app
|
|
7
|
+
(https://rebind.gg/download) running its Remote Access relay — `remote.luau`
|
|
8
|
+
(recommended) or `remote_access.lua` (protocol >= 1.1.0). The `click` tool clicks via `hid.press`, which is
|
|
9
9
|
coroutine-only; use `remote.luau` or a current `remote_access.lua` (older copies
|
|
10
10
|
called it outside a coroutine, so clicks silently failed).
|
|
11
11
|
|
|
12
|
-
##
|
|
12
|
+
## Install
|
|
13
|
+
|
|
14
|
+
One command writes the correct config for whichever clients you name — Claude
|
|
15
|
+
Code, Cursor, Codex, OpenCode, VS Code, Windsurf, Zed, and more — each in its
|
|
16
|
+
native format, via [`add-mcp`](https://github.com/neondatabase/add-mcp):
|
|
17
|
+
|
|
18
|
+
```sh
|
|
19
|
+
npx add-mcp "bunx @rebind.gg/mcp-server" --name rebind \
|
|
20
|
+
--env REBIND_URL=ws://127.0.0.1:19561 \
|
|
21
|
+
-g -a claude-code -a cursor -a codex -a opencode
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
Drop `-a <agent>` for the clients you want, or pass `--all`. `-g` installs
|
|
25
|
+
globally; omit it for project-local config. Restart the client afterward.
|
|
26
|
+
|
|
27
|
+
Requires **Bun** (the server runs via `bunx`) and the **Rebind** app
|
|
28
|
+
(https://rebind.gg/download) running its Remote Access relay.
|
|
29
|
+
|
|
30
|
+
## Configure manually
|
|
31
|
+
|
|
32
|
+
Any MCP client takes the stdio block directly:
|
|
13
33
|
|
|
14
34
|
```json
|
|
15
35
|
{
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rebind.gg/mcp-server",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "MCP server exposing Rebind as computer-use tools: screenshot, verified click, type, key, scroll, and window control over the Remote Access protocol.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
7
|
-
"rebind-mcp-server": "
|
|
7
|
+
"rebind-mcp-server": "src/index.ts"
|
|
8
8
|
},
|
|
9
9
|
"files": [
|
|
10
10
|
"src",
|
|
@@ -20,8 +20,7 @@
|
|
|
20
20
|
"homepage": "https://rebind.gg",
|
|
21
21
|
"repository": {
|
|
22
22
|
"type": "git",
|
|
23
|
-
"url": "https://github.com/usinput/rebind-
|
|
24
|
-
"directory": "packages/mcp-server"
|
|
23
|
+
"url": "git+https://github.com/usinput/rebind-mcp-server.git"
|
|
25
24
|
},
|
|
26
25
|
"bugs": {
|
|
27
26
|
"email": "support@rebind.gg"
|
package/src/index.ts
CHANGED
|
@@ -57,7 +57,7 @@ async function main() {
|
|
|
57
57
|
session.calibration = { calibrated: false, reason: String(e) };
|
|
58
58
|
}
|
|
59
59
|
|
|
60
|
-
const server = new McpServer({ name: "rebind", version: "0.1.
|
|
60
|
+
const server = new McpServer({ name: "rebind", version: "0.1.2" });
|
|
61
61
|
|
|
62
62
|
// REBIND_AGENT_LOG=<path>: opt-in telemetry — one JSONL line per tool call
|
|
63
63
|
// ({ts, tool, ok, latency_ms, note}). No screenshot bytes, no user content.
|