Skip to main content
Glama
rebot-mcp

rebot-mcp

Official

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
--armdNorebot-armd base URL (arm and detection API).http://192.168.42.1:8765
--decoderNoSnapshot decoder: pyav, ffmpeg, or auto (PyAV if installed).auto
--camera-wsNoCamera H.264 stream for snapshots.ws://192.168.42.1:8001/
--client-idNoLease label shown to other clients.rebot-mcp
--log-levelNoLog level. Logs go to stderr; stdout is the MCP channel.INFO
--allow-preemptNoAdds force to take_control so control can be taken from the web cockpit. Default is off.false
--no-auto-leaseNoWhen set, do not acquire the lease until take_control. Default is off.false
--allow-clear-faultNoAdds the clear_fault tool. Off by default.false

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

Controls a reBot B601-DM arm through rebot-armd, plus the wrist/scene camera. Coordinates: metres in the arm base frame (x forward, y left, z up); poses are of end_link. Use snapshot / snapshot_annotated / detect to look before moving. stop and e_stop always work. Named poses (list_poses, save_pose, move_to_pose) and place need a recent armd; save_pose and set_keepout change the device's saved configuration, so use them only when the user asks. recover clears only faults armd marks recoverable; a COLLISION fault is never cleared by recover. The collision guard (collision_guard_status, set_collision_guard) is off by default and its thresholds are uncalibrated placeholders. set_collision_guard changes the device's saved configuration, so use it only when the user asks. Control lease: the web cockpit and this server share one control lease. If a tool returns LEASE_BUSY, ask the user to release control in the cockpit, then call take_control. This server cannot take control from the cockpit. After an E-stop or fault, stop and ask the user to check the arm and clear the fault in the web cockpit; this server cannot clear faults. Then call enable.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_stateB

Arm state: safety_state, fault, torque, lease, joints, end_link pose (host FK), gripper, latest action. No lease needed.

snapshotC

JPEG snapshot from the camera stream, plus JSON {width, height, device_ts_ms, age_ms}.

snapshot_annotatedA

JPEG snapshot with the detector's latest boxes drawn, plus JSON {detections, det_frame_id, det_age_vs_frame_ms, note?}. Boxes come from the latest result and may lag the frame.

detectB

Run one detector inference on a fresh frame. Boxes are normalised [x0, y0, x1, y1] in the image (0..1). pipelines: yolo (objects), aruco (markers) or both (default); honoured by rebot-vision >= 1.3, older detectors run their current mode. The result's pipelines lists what ran (null when the detector does not report it).

move_toA

Straight-line move of end_link to (x, y, z) m in the base frame. Orientation: roll/pitch/yaw in degrees (URDF fixed-axis; missing angles keep the current value) or quat [w, x, y, z]; omit both to keep the current orientation. Blocks until done.

move_relativeA

Relative move of end_link. frame: base (base axes), tool (end_link axes) or camera (x right, y down, z forward along the view; dpitch > 0 looks down, dyaw > 0 looks right; level keeps the image level, default true). Translations in m (each <= 0.30), rotations in degrees (each <= 90), centred on end_link. Blocks until done.

gripperA

Gripper: open, close (grasp=true by default: stops on contact and reports holding) or move to fraction (0 closed .. 1 open). Returns {holding, gap_rad, torque_nm, fraction, state}.

homeB

Move to the home pose. Blocks until done.

parkA

Park at the resting pose and turn torque off (ends Idle). Blocks until done.

stopA

Stop the current motion and hold position (torque stays on). Works while another tool runs.

e_stopA

Emergency stop. Needs no lease; latches EStop until a person clears it in the web cockpit.

enableA

Turn torque on (arm holds its pose). Rejected while E-stopped or faulted.

take_controlA

Acquire the control lease when no other client holds it. Cannot take control from the web cockpit.

list_posesA

Saved poses: {count, poses[{name, positions, tcp}]}. No lease needed. Needs armd capability 'poses'.

save_poseA

CONFIGURATION CHANGE: save the arm's current joint positions under a name (letters, digits, _ and -, max 64), replacing a pose with that name. Move the arm there first (the user can hand-guide it or use the cockpit). Persisted on the device. Needs capability 'poses'.

move_to_poseA

Joint-space move to a saved pose; speed_scale 0.1..1.0 of the planned speed. Blocks until done.

placeA

Put the held object down: lift, move above the target, descend, open the gripper, retreat. Target: a saved pose name (its gripper position is the place point) or x, y, z in m (base frame). rpy_deg optionally sets the orientation [roll, pitch, yaw]. release=false keeps the object, retreat=false stays at the target. Fails with IK_UNREACHABLE / WORKSPACE_VIOLATION (also for keep-out boxes) / TRACKING_STALL / PLACE_TIMEOUT. Needs capability 'place'. Blocks until done.

get_keepoutA

Keep-out boxes the arm must not enter: {boxes[{name, min_m, max_m}], source}. No lease needed. Needs capability 'keepout'.

set_keepoutA

CONFIGURATION CHANGE: replace the runtime keep-out boxes (max 16; min_m < max_m per axis, metres, base frame). Motions into a box fail with WORKSPACE_VIOLATION. Pass [] to remove all. Persisted on the device. Show the user the boxes before setting them. Needs capability 'keepout'.

recoverA

Clear a fault that armd marks recoverable (WATCHDOG_TIMEOUT, CONTROL_DEADLINE, HANDOVER_UNSETTLED) and turn torque on again. Any other fault or an E-stop returns NOT_RECOVERABLE and stays latched for a person to clear in the web cockpit. Needs capability 'fault_codes'.

describe_safetyA

What the arm's safety system does and does not do: stops, faults (with recoverable flags), speed and joint limits, timing, and hardware facts such as whether a physical e-stop exists. Plus a one-line 'summary'. Read it before planning motions. No lease needed. Needs capability 'safety_describe'.

collision_guard_statusA

Collision guard configuration: {enabled, sensitivity, thresholds_nm}. get_state.collision shows a trip in progress (active, joint, residual_nm, resume_in_s). The guard is off by default and its thresholds are uncalibrated placeholders. No lease needed. Needs capability 'collision_guard'.

set_collision_guardA

CONFIGURATION CHANGE: switch the collision guard on or off and/or set its sensitivity (low, medium, high). Persisted on the device. With the guard on, contact stops the arm; it resumes by itself when the contact is gone and latches a COLLISION fault after repeated trips. Thresholds are uncalibrated placeholders. Use only when the user asks. Needs capability 'collision_guard'.

release_controlA

Release the control lease (the web cockpit will acquire it automatically).

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.7/5.0

Scored across 24 tools

Disambiguation5/5

Each tool has a distinct, clearly bounded purpose: motion (move_to, move_relative, move_to_pose, home, park), vision (detect, snapshot, snapshot_annotated), configuration (set_keepout, set_collision_guard, save_pose), and safety/lease management are cleanly separated. The closest pairings (snapshot vs snapshot_annotated, collision_guard_status vs get_state) are distinguished explicitly in the descriptions.

Naming Consistency4/5

The set is dominated by a consistent snake_case verb_noun pattern (set_keepout, save_pose, take_control, get_state). A handful of bare verbs (detect, grip per, stop, enable, recover, home, park, release_control) deviate, but they are conventional and readable rather than chaotic.

Tool Count4/5

24 tools is slightly heavy but each one maps to a real capability of a robot-arm control server (motion, vision, safety, lease, configuration), so nothing feels redundant. It sits just above the comfortable 3-15 band but is justified by the domain's breadth.

Completeness5/5

The lifecycle is thoroughly covered: motion primitives, joint-space and saved-pose moves, home/park, gripper control, detection and snapshots, lease management, fault recovery, keep-out and collision-guard configuration, and safety introspection. Read-only observers (get_state, list_poses, describe_safety) plus a clear per-tool capability requirement leave no obvious dead ends.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues