Skip to content

Releases

v0.1.0 - Initial Release

Choose a tag to compare

@Jafekin Jafekin released this 05 Dec 19:15

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/ssh WebSocket: 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 accurate exit_code and cwd.
  • Non-blocking Long Commands & Interactive Control: commands exceeding timeout stay alive (status=running) and support incremental colab_terminal_read, stdin & ctrl-c via colab_terminal_write, and concurrent background terminals.
  • Smart Output Cleaning: strips ANSI sequences, collapses tqdm/pip/wget \r progress 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/ssh returns 404/429.
  • SFTP File Transfer & Persistent IPython Kernel: colab_upload, colab_download, and colab_python.

Quick Start

uvx --python 3.12 --from git+https://github.com/Jafekin/colab-mcp colab-mcp --print-config

Or 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