Crabrix for Rust 🦀
Typed Rust SDK and MCP launcher for temporary encrypted Crabrix Playgrounds.
Node.js 22+ is required. The crate embeds the same tested JavaScript protocol
core as npm crabrix; it does not install npm packages or reimplement encryption.
The Rust library owns a bounded stdio client; the binary runs that MCP core.
No phone application is required: a browser or another agent can join the room.
Install from crates.io
# Add the library to a Rust project
# Or install the optional MCP executable
Install Node.js 22+ first. The executable and library run the embedded bridge locally; no global npm installation, Crabrix account or phone app is needed.
Use the Rust library
use ;
Connect an MCP client
Or configure a desktop MCP client with "command": "crabrix" and "args": [].
Use one of the npm, Rust or Go launchers; they expose the same fourteen tools.
Another agent can join the full link using Client::connect; snapshot, read,
apply, select and share expose typed source and handoff operations. Use the
revision returned by the latest read for conditional edits. The link contains
a decryption capability: never print it into public logs or commit it to Git.
Open the web Playground · Setup, security boundaries and agent guide · Detailed Crabrix user guide
Local execution and temporary rooms
Run/Debug require explicit permission on one connected browser or app. The relay never executes source. The shared runtime is std/local modules, not arbitrary Cargo projects or a host shell. Rooms expire in one hour by default, 24 hours maximum; 16 text files/128 KiB, four participants. This is not Git hosting.
See it on your phone or tablet
These are actual Crabrix application/browser captures. The SDK also works with other agents and the web editor when nobody has installed the phone app.
SDK code: MIT. Brand/screenshot terms are in ASSETS-LICENSE.md. Full documentation.