Quick proof-of-concept of running a single-threaded WebSocket server (based on SimpleWebSocketServer) inside a Ableton Live MIDI script.
The WebSocket interface accepts two types of messages: one for listing cue points and one for starting playback from a cue point. There's a crude HTML client in the client subdirectory
Works with Live 9.5.1 beta 2, which includes Python 2.7 support
This project has no affiliation with Ableton.