Colab-xterm allows you to open a terminal in a cell.
!pip install colab-xterm
%load_ext colabxterm%xtermTry it out in the demo notebook.
%xterm height=1000 port=10001
| option | description |
|---|---|
| height | The height of the terminal panel |
| port | The server port |

$ claude mcp add colab-xterm \
-- python -m otcore.mcp_server <graph>