As avid mud player in the past, why do I need a client? What's wrong with telnet? Installing client (into venv on top of it) is extremely wasteful for sending text messages to the remote server and getting them back.
Probably the way to do it is as a shim: a separate telnet server that imports the client logic and just serves a terminal with login at the beginning of connection.
https://old.reddit.com/r/LocalLLaMA/comments/1825yqm/looking_for_beta_testers_for_chasm_the_llmdriven/kajdsls/
Shouldn't be impossible, but some thought would be needed about how to do authentication.