sphero-rvr-mcp
v0.2.5MCP server for controlling Sphero RVR with Claude AI - featuring direct serial protocol for low-latency control
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
test_immediate_return Test Immediate Return
Test tool that returns immediately.
test_slow_return Test Slow Return
Test tool that takes 3 seconds.
connect_simple Connect Simple
Simple connect test without parameters.
connect Connect
Connect to the Sphero RVR robot and wake it up.
| Parameter | Type | Description |
|---|---|---|
baud | integer | |
port | string |
disconnect Disconnect
Disconnect from RVR.
get_connection_status Get Connection Status
Get connection status.
drive_with_heading Drive With Heading
Drive at speed toward heading.
| Parameter | Type | Description |
|---|---|---|
heading * | integer | |
speed * | integer | |
reverse | boolean |
drive_tank Drive Tank
Drive with tank controls.
| Parameter | Type | Description |
|---|---|---|
left_velocity * | number | |
right_velocity * | number |
drive_rc Drive Rc
Drive with RC controls.
| Parameter | Type | Description |
|---|---|---|
linear_velocity * | number | |
yaw_velocity * | number |
stop Stop
Stop RVR.
emergency_stop Emergency Stop
Emergency stop.
clear_emergency_stop Clear Emergency Stop
Clear emergency stop.
reset_yaw Reset Yaw
Reset yaw.
reset_locator Reset Locator
Reset locator.
pivot Pivot
Pivot (turn in place) by a specified number of degrees. Rotates the RVR without forward motion. Uses internal heading control for accurate turning.
| Parameter | Type | Description |
|---|---|---|
degrees * | number | Degrees to turn. Positive = turn right (clockwise), negative = turn left (counter-clockwise). |
speed | integer | Rotation speed 0-255 (0 = let RVR control rotation speed). |
drive_forward Drive Forward
Drive forward a specified distance in meters. Uses RVR's internal position controller for accurate movement.
| Parameter | Type | Description |
|---|---|---|
distance * | number | Distance to travel in meters. |
speed | number | Speed in m/s (default: 0.5, max: ~1.5). |
drive_backward Drive Backward
Drive backward a specified distance in meters. Uses RVR's internal position controller for accurate movement.
| Parameter | Type | Description |
|---|---|---|
distance * | number | Distance to travel in meters. |
speed | number | Speed in m/s (default: 0.5, max: ~1.5). |
set_all_leds Set All Leds
Set all LEDs.
| Parameter | Type | Description |
|---|---|---|
blue * | integer | |
green * | integer | |
red * | integer |
set_led Set Led
Set specific LED group.
| Parameter | Type | Description |
|---|---|---|
blue * | integer | |
green * | integer | |
led_group * | string | |
red * | integer |
turn_leds_off Turn Leds Off
Turn off all LEDs.
start_sensor_streaming Start Sensor Streaming
Start sensor streaming.
| Parameter | Type | Description |
|---|---|---|
sensors * | array | |
interval_ms | integer |
stop_sensor_streaming Stop Sensor Streaming
Stop sensor streaming.
get_sensor_data Get Sensor Data
Get sensor data.
| Parameter | Type | Description |
|---|---|---|
sensors | array |
get_ambient_light Get Ambient Light
Get ambient light.
enable_color_detection Enable Color Detection
Enable color detection.
| Parameter | Type | Description |
|---|---|---|
enabled | boolean |
get_color_detection Get Color Detection
Get color detection.
| Parameter | Type | Description |
|---|---|---|
stabilization_ms | integer |
get_battery_status Get Battery Status
Get battery status.
get_safety_status Get Safety Status
Get safety status.
set_speed_limit Set Speed Limit
Set speed limit.
| Parameter | Type | Description |
|---|---|---|
max_speed_percent * | number |
set_command_timeout Set Command Timeout
Set command timeout.
| Parameter | Type | Description |
|---|---|---|
timeout_seconds * | number |
send_ir_message Send Ir Message
Send IR message.
| Parameter | Type | Description |
|---|---|---|
code * | integer | |
strength | integer |
start_ir_broadcasting Start Ir Broadcasting
Start IR broadcasting.
| Parameter | Type | Description |
|---|---|---|
far_code * | integer | |
near_code * | integer |
stop_ir_broadcasting Stop Ir Broadcasting
Stop IR broadcasting.
get_temperature Get Temperature
Get temperature sensor readings (motor and Nordic die temps). Returns temperatures in Celsius for left_motor, right_motor, and nordic_die.
get_motor_thermal_protection_status Get Motor Thermal Protection Status
Get motor thermal protection status. Returns temperature and status for each motor. Status: 0=ok, 1=warning, 2=critical
get_firmware_version Get Firmware Version
Get firmware version (major.minor.revision) for both processors.
get_mac_address Get Mac Address
Get Bluetooth MAC address.
get_board_revision Get Board Revision
Get PCB board revision for both processors.
get_processor_name Get Processor Name
Get processor identifier strings for both processors.
get_sku Get Sku
Get product SKU string.
get_core_uptime Get Core Uptime
Get core uptime in milliseconds since power-on for both processors.
get_battery_voltage Get Battery Voltage
Get battery voltage in volts (calibrated).
get_battery_voltage_state Get Battery Voltage State
Get battery voltage state (ok/low/critical).
get_battery_thresholds Get Battery Thresholds
Get battery voltage thresholds (critical, low, hysteresis).
get_encoder_counts Get Encoder Counts
Get wheel encoder tick counts (left and right).
get_magnetometer Get Magnetometer
Get magnetometer X, Y, Z readings with heading and cardinal direction.
calibrate_magnetometer Calibrate Magnetometer
Start magnetometer calibration (calibrate to north). This is an async operation - the RVR will notify when complete. Rotate the RVR 360 degrees during calibration.
get_motor_fault_state Get Motor Fault State
Check if motor fault is currently active.
enable_motor_stall_notify Enable Motor Stall Notify
Enable or disable motor stall detection notifications.
| Parameter | Type | Description |
|---|---|---|
enabled | boolean |
enable_motor_fault_notify Enable Motor Fault Notify
Enable or disable motor fault detection notifications.
| Parameter | Type | Description |
|---|---|---|
enabled | boolean |
start_ir_following Start Ir Following
Start following an IR-broadcasting robot.
| Parameter | Type | Description |
|---|---|---|
far_code * | integer | IR code to follow when far (0-7) |
near_code * | integer | IR code to follow when near (0-7) |
stop_ir_following Stop Ir Following
Stop IR following behavior.
start_ir_evading Start Ir Evading
Start evading an IR-broadcasting robot.
| Parameter | Type | Description |
|---|---|---|
far_code * | integer | IR code to evade when far (0-7) |
near_code * | integer | IR code to evade when near (0-7) |
stop_ir_evading Stop Ir Evading
Stop IR evading behavior.
get_ir_readings Get Ir Readings
Get all 4 IR sensor readings (front_left, front_right, back_right, back_left).