Skip to main content

Back to Root README

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.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rubberorca 0.1.4
File Size Uploaded Provenance Actions
rubberorca-0.1.4.tar.gz 13.6 kB With provenance Details for rubberorca-0.1.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for rubberorca 0.1.4
File Interpreter ABI Platform Actions
rubberorca-0.1.4-py3-none-any.whl Python 3 none any Details for rubberorca-0.1.4-py3-none-any.whl

Total release size: 26.5 kB

Release files / rubberorca-0.1.4.tar.gz

Download URL rubberorca-0.1.4.tar.gz
Size 13.6 kB
Tags Source
SHA-256 checksum
How to use checksums
9b3b87a9728eebfdf04163f479ea05b74d19e1c56630374953e2c222c9aefaec
BLAKE2b-256 checksum
How to use checksums
0b60143d15ef8949dcbdae1d8a44d2643284eb6daa0208e2c31d00f8fa14d3be
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 log

Release files / rubberorca-0.1.4-py3-none-any.whl

Download URL rubberorca-0.1.4-py3-none-any.whl
Size 12.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b231238834674bf681f23a1443ede8606402b66b244c2177b44f8a885f032f87
BLAKE2b-256 checksum
How to use checksums
6ddd208ac29dfbcec7ab4b0dee7791b279db559e4455970af24067533d317c9b
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 log

Security for rubberorca 0.1.4

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.

Select from 2 files

Attestation for rubberorca-0.1.4.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 log

A 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.

Release history Release notifications | RSS feed

This release

0.1.4 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page