RubberOrca Python SDK, CLI, and MCP Server
Unified Python package (rubberorca) providing a Python SDK, rubberorca CLI, and rubberorca-mcp stdio MCP server over BLE 5.0 GATT (0xFFE0 / 0xFFE1) and USB CDC Serial.
Installation
pip install rubberorca
# Or editable from source:
pip install -e ./python
Python SDK
from rubberorca import RubberOrca
orca = RubberOrca() # Auto-discovers BLE 0xFFE0 (or pass port="/dev/cu.usbmodem1101")
orca.type("hello from RubberOrca")
orca.key("enter")
orca.set_layout("tr_q")
orca.jiggler("toggle")
Usage
# Discover BLE 0xFFE0 devices and local serial ports
rubberorca scan
# Send commands over BLE (default)
rubberorca type "hello from RubberOrca"
rubberorca key enter
rubberorca media play_pause
rubberorca mouse move 40 -20
rubberorca jiggler toggle
rubberorca macro define m0 'type "git status" && enter'
rubberorca macro run m0
rubberorca ble-name "OrcaMini"
rubberorca raw-byte 0x32
# Send over USB CDC Serial instead of BLE
rubberorca --port /dev/cu.usbmodem1101 send 'type "ok" && enter'
MCP Server
rubberorca-mcp exposes RubberOrca tools over stdio JSON-RPC 2.0 with zero extra dependencies (scan_devices, type_text, press_key, media_control, mouse_action, jiggler, macro_define, macro_run, send_command).
Example MCP client configuration (mcp_config.json):
{
"mcpServers": {
"rubberorca": {
"command": "rubberorca-mcp",
"args": []
}
}
}
Pass --port /dev/cu.usbmodem1101 or --address <BLE_ADDR> in args (or set RUBBERORCA_PORT / RUBBERORCA_ADDRESS) to pin a specific device.
Testing
python3 -m unittest discover -s python/tests -v
Metadata
Release files for rubberorca 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| rubberorca-0.1.3.tar.gz | 13.0 kB | With provenance | Details for rubberorca-0.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| rubberorca-0.1.3-py3-none-any.whl | Python 3 | none | any | Details for rubberorca-0.1.3-py3-none-any.whl |
Total release size: 25.2 kB
Release files / rubberorca-0.1.3.tar.gz
| Download URL | rubberorca-0.1.3.tar.gz |
|---|---|
| Size | 13.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e264dbdb8a9d55cfb4951cca281b3eea9c1e445653b5d5543a276f5919c5b354
|
|
BLAKE2b-256 checksum How to use checksums |
919bca289851823c023ea9295e0f258f96971ea7e2fde32ab5afb0e865b57e8b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 21, 2026.
Transparency logRelease files / rubberorca-0.1.3-py3-none-any.whl
| Download URL | rubberorca-0.1.3-py3-none-any.whl |
|---|---|
| Size | 12.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f5a3f40e00c95b203188095d01eaadc414bf4f2fc22fb49736488536d4ac4d8b
|
|
BLAKE2b-256 checksum How to use checksums |
3d37cc419ab8ae6f3fee608e523f6b5c3a6afa1b1aa6b97f73f9aa5590e38abc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 21, 2026.
Transparency logSecurity for rubberorca 0.1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for rubberorca-0.1.3.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 21, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.