Repository navigation
Releases
Releases · Jafekin/colab-mcp
v0.1.0 - Initial Release
colab-mcp v0.1.0
An MCP server giving AI agents a native local-terminal-like shell experience on Google Colab runtimes.
Highlights
- Multiplexed AsyncSSH over Colab
/colab/sshWebSocket: single persistent SSH connection per runtime (~0.25s command latency, zero HTTP 429 session exhaustion, HTTP/HTTPS/SOCKS5 proxy support, ephemeral in-memory Ed25519 key). - Persistent Interactive PTY Bash:
cd, exported env vars, virtualenvs/conda, and shell functions persist across calls with accurateexit_codeandcwd. - Non-blocking Long Commands & Interactive Control: commands exceeding
timeoutstay alive (status=running) and support incrementalcolab_terminal_read, stdin &ctrl-cviacolab_terminal_write, and concurrent background terminals. - Smart Output Cleaning: strips ANSI sequences, collapses
tqdm/pip/wget\rprogress bars, and truncates huge output cleanly (head + tail). - Automatic Jupyter PTY Fallback: seamlessly falls back to an in-VM Linux PTY via Jupyter kernel if
/colab/sshreturns 404/429. - SFTP File Transfer & Persistent IPython Kernel:
colab_upload,colab_download, andcolab_python.
Quick Start
uvx --python 3.12 --from git+https://github.com/Jafekin/colab-mcp colab-mcp --print-configOr install the wheel directly from this release:
uv tool install --python 3.12 https://github.com/Jafekin/colab-mcp/releases/download/v0.1.0/colab_mcp-0.1.0-py3-none-any.whl