You can connect to port 8181 using a websocket client to remotely send commands to the Mycroft cli. See this thread: