JustAMCPMultiuserTools๏ƒ

Inherits: RefCounted < Object

MCP tool bindings for controlling Multiuser Editor collaboration sessions.

Description๏ƒ

JustAMCPMultiuserTools exposes MCP-callable helpers that bridge JustAMCP to the native Multiuser Editor module. These tools let an MCP client inspect collaboration status, send chat messages to the current session, request peer removal, and trigger autowork across connected peers.

This class is only available when the multiuser_editor module is built together with justamcp. Each method returns a Dictionary containing at least an ok field, and may include an error, message, or session-specific fields depending on the operation.

Methods๏ƒ

Dictionary

multiuser_get_status(args: Dictionary)

Dictionary

multiuser_kick_peer(args: Dictionary)

Dictionary

multiuser_send_chat(args: Dictionary)

Dictionary

multiuser_trigger_autowork(args: Dictionary)


Method Descriptions๏ƒ

Dictionary multiuser_get_status(args: Dictionary) ๐Ÿ”—

Returns the current Multiuser Editor session status. The returned dictionary includes ok, is_connected, and local_peer_id when the Multiuser Editor plugin is available. args is reserved for future filters and may be empty.


Dictionary multiuser_kick_peer(args: Dictionary) ๐Ÿ”—

Requests removal of the peer identified by peer_id in args. The request is ignored by the Multiuser Editor plugin when the local editor is not hosting or the peer cannot be found.


Dictionary multiuser_send_chat(args: Dictionary) ๐Ÿ”—

Sends the message string from args to the active Multiuser Editor session. Returns an error dictionary when the editor is not connected to a session.


Dictionary multiuser_trigger_autowork(args: Dictionary) ๐Ÿ”—

Triggers autowork execution through the Multiuser Editor plugin for connected peers. args is currently unused and may be empty.