colab-monitor
Provides real-time telemetry and management for Google Colab runtimes: monitors RAM, GPU VRAM, GPU utilization, disk, and Compute Units; enforces idle/budget guardrails; browses, uploads, downloads, tails, and deletes VM files; lists and terminates GPU/Linux processes; and can start or stop Colab sessions.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Google Colab Resource Monitor
Real-time telemetry dashboard, resource guardrail watchdog, remote VM file/process manager, and Antigravity MCP App plugin for Google Colab runtimes (works with both browser-opened notebooks and colab new CLI sessions).
Screenshots
Dark Mode (2×2 Live Telemetry & Guardrails) | Light Mode (EN / VN & Theme Switcher) |
|
|
Running VM Processes (SSH & Ephemeral Kernel) | Remote VM File Explorer (Upload, Tail & Download) |
|
|
Related MCP server: Google Colab MCP Server
Features
Live 2×2 Resource Charts: System RAM, GPU VRAM, GPU Compute Util % (with runtime proxy ping latency in ms), and Disk — rendered with Monotone Cubic Spline, configurable zero-phase EMA smoothing, Y-axis auto-zoom,
2 min → 1 hr / Alltime windows, and synchronized hover crosshair tooltips.Light / Dark Theme & Bilingual UI (
EN/VN): Instant theme switching (Dark/Lightor IDE host theme sync in Antigravity) and fullEN/VNlocalization across headers, charts, modals, and persisted Event Log entries.Compute Units Guardrails:
CU Burn & Runway: Tracks remaining Compute Units, hourly burn rate, session CU spend, estimated runtime remaining, and daily CU history (
data/usage_history.json).Auto-Stop on Idle: Automatically unassigns runtimes if all Jupyter kernels stay
idleandGPU Compute Util < 5%for 15 / 30 / 60 minutes.Budget Cap & Browser Alerts: Configurable per-session CU cap (with optional auto-stop) plus sound/notification alerts on notebook completion (
busy → idle), RAM >= 90%, and VRAM >= 95%.
Pinned Live Tail Log: Pin any
.log,.txt,.py, or script file from/contentdirectly under its session card to stream tail updates every 3 seconds (50/120/250lines, pause/resume).VM Process Monitor (
⚙️ Processes): Lists top GPU (nvidia-smi) and Linux (ps) processes over SSH WebSocket (/colab/ssh) with automatic Ephemeral Kernel fallback (ColabRuntime), protected core-process guards, andSIGTERM/SIGKILL (-9)termination.Remote File Explorer (
📁 Files): Browse/contentand mounted Drive folders, preview text/log files, download files, drag-and-drop upload (up to 50 MB), create folders, and delete non-protected paths.Three Ways to Run:
Standalone Web Dashboard (
http://127.0.0.1:8765)Windows System Tray App (
start-tray.bat) with color-coded status indicator, CU/VRAM hover tooltip, and Balloon alertsAntigravity IDE Plugin (
colab-monitor) exposing interactive MCP App side-pane / sidebar views alongside 8 agent-callable MCP tools
Prerequisites
Authenticated google-colab-cli (
uv tool install google-colab-cliand logged in viacolab)Python 3.11+ (ships inside
uvtool environment on Windows by default)Optional (for building the Antigravity MCP App plugin bundle):
Quick Start (Windows)
1. Standalone Web Dashboard
Launch with console & auto-open browser: Double-click
start-monitor.bator run:.\start-monitor.ps1 -Port 8765 -Interval 3.0Run server directly:
python server.py --host 127.0.0.1 --port 8765 --interval 3.0
Then open http://127.0.0.1:8765.
2. Windows System Tray App
Double-click start-tray.bat to start both the background telemetry server and a native Windows Forms NotifyIcon tray icon with status colors, live CU/VRAM tooltip, right-click menu, and Windows Balloon notifications.
3. Antigravity IDE Plugin (colab-monitor)
Build and install the self-contained MCP App plugin into %USERPROFILE%\.gemini\config\plugins\colab-monitor:
.\build-plugin.ps1This creates an isolated .venv inside the plugin directory, compiles plugin-src/mcp-bridge.js + static/index.html into a single CSP-clean HTML bundle (ui/app.html), and registers:
UI Entrypoints (
ui://colab-monitor/app.html): Open Colab Monitor from the+menu in the Antigravity side pane or Plugins in the left sidebar.MCP Tools (
colab-monitor_monitor):open_monitor— Open/refresh the interactive MCP App panelget_colab_status— Query CU balance, burn rate, active sessions, RAM/VRAM/GPU Util/Disklist_vm_files/tail_vm_log— Browse VM directories or tail log filesscan_vm_processes— Inspect GPU and Linux processes on an active runtimemanage_guardrails— View/update Auto-Stop Idle, Budget Cap, interval, or CU baselinestart_colab_session/stop_colab_session— Provision or terminate Colab runtimes
Project Structure
colab-monitor/
├── collector.py # Shared Colab telemetry poller, watchdog & VM controller
├── server.py # Standalone local HTTP dashboard server
├── mcp_server.py # Antigravity MCP server & MCP App UI backend
├── static/
│ └── index.html # Self-contained dashboard UI (Light/Dark, EN/VN, Web & MCP adapter)
├── docs/
│ └── images/ # Showcase screenshots
├── plugin-src/ # Antigravity plugin manifest, MCP config, skill, logo & bridge source
│ ├── mcp-bridge.js
│ ├── plugin.json
│ ├── mcp_config.json
│ ├── assets/logo.svg
│ └── skills/colab-monitor/SKILL.md
├── build-plugin.ps1 # Builds ui/app.html & installs plugin to ~/.gemini/config/plugins/colab-monitor
├── tray-monitor.ps1 # Windows Forms system tray monitor
├── start-tray.bat # Hidden launcher for tray-monitor.ps1
├── start-monitor.ps1 # Web server launcher script
├── start-monitor.bat # Batch entrypoint for start-monitor.ps1
├── requirements.txt
├── .gitignore
├── LICENSE
└── README.mdPrivacy & Repository Hygiene
Runtime logs and local settings stored under data/ (config.json, usage_history.json, metrics_history.json, events_history.json, ui_prefs.json), .venv/, __pycache__/, and build artifacts are excluded via .gitignore so personal session IDs and CU history are not committed.
License & Copyright
Copyright (c) 2026 khai.le (khailhust).
Released under the MIT License.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Rent cloud GPUs from AI agents: live prices, VRAM estimates, launch, logs and stop.
On-demand GPU nodes for agents: create nodes, run commands, and submit jobs, billed by the minute.
GPU compute for agents: run commands on an L4/A100/H100, watch logs, billed per second.
Persistent cloud workspaces for AI agents: run commands, edit files, use git and a browser.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to autonomously manage Google Colab GPU sessions, submit and monitor training jobs, and debug/fix issues via an encrypted tunnel without requiring a browser tab.MIT
- AlicenseBqualityCmaintenanceLets any MCP-compatible agent use Google Colab or Jupyter runtimes as an execution backend, enabling code execution, notebook management, package installation, hardware introspection, training jobs, and file handling.401MIT
- AlicenseBqualityBmaintenanceEnables AI agents to drive Google Colab end to end through Google's official Colab CLI: creating and stopping GPU/TPU runtimes, executing code, editing local notebooks cell by cell, launching long background jobs, and uploading or downloading files and folders. Optionally adds opt-in Google Drive tools for signing in, managing project folders, and creating, editing or trashing notebooks, plus mounting Drive on the VM for large datasets.42125 PyPI4Apache 2.0
- AlicenseBqualityBmaintenanceEnables AI assistants to run and manage machine-learning training on Kaggle, Google Colab, and Hugging Face GPUs. Supports background runs, status and metrics, plots, checkpoints, Kaggle submissions, and Hugging Face Hub operations.58MIT



