openrois-mcp

v0.1.0
openrois-mcp Checked 3 days ago Published 25 days ago

OpenRoIS MCP server: physical robots, virtual avatars and AI services as tools for an AI agent

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

list_components

List the components behind the gateway with their type, status and offers. component_status is what this session sees: BUSY means another session holds the component, null that the component declares no status. held_by_this_session tells whether this session has bound it.

ParameterTypeDescription
patternstringCQL2 LIKE pattern on the ref, such as reachy_%. Empty: all

describe_component

Show the commands, queries, events and parameters of one component, with types. A parameter's initial_value is its value before anyone set it. Parameters stay on the component between sessions, and value shows the current one while this session holds the component.

ParameterTypeDescription
ref *stringFully qualified component ref, such as mock/navigation

query

Run a query on one component, such as component_status, and return its results.

ParameterTypeDescription
query_type *stringA query from describe_component
ref *stringFully qualified component ref, such as mock/navigation

get_parameters

Read the current parameters of a component. An actuation component must be bound by this session first. Another component is bound for the read and released after, which a read-only server, or one whose --allow patterns exclude the component, does not do.

ParameterTypeDescription
ref *stringFully qualified component ref, such as mock/navigation

subscribe

Subscribe to an event of one component. Read occurrences with get_events. Some components send events only between their start and stop commands: the reply then has a hint. The next wait_for_event without since starts at the cursor this returns.

ParameterTypeDescription
event_type *stringAn event from describe_component
ref *stringFully qualified component ref, such as mock/navigation

unsubscribe

Cancel a subscription.

ParameterTypeDescription
subscribe_id *string

get_events

Return the notifications after a cursor, and the cursor for the next call. Kinds: event, completed (a command ended), error, profile_changed (components joined or left), lost (binds and subscriptions the engine dropped), connection_closed, idle_release.

ParameterTypeDescription
limitinteger
sinceintegerCursor from the last call. 0: oldest kept

wait_for_event

Wait until a matching event arrives, an error or a loss arrives, or the timeout passes. So that an event a component sends during a command is not missed, the first wait after subscribe, run_commands or set_parameters starts at the cursor that call returned. Any other wait without since waits for a fresh entry, not an old one.

ParameterTypeDescription
event_typestringOnly this event type. Empty: any
refstringOnly from this component. Empty: any
sinceMatch entries after this cursor, such as the cursor of the last wait to read each entry in turn. Empty: right after subscribe, run_commands or set_parameters, after the cursor that call returned; othe…
timeoutnumberSeconds to wait

get_error_detail

Read the details of an error entry from get_events.

ParameterTypeDescription
error_id *string

command_status

Return the status of commands this session ran, with results once they ended.

ParameterTypeDescription
command_ids *array