eatingDream ColabDeck

Colab GPU & Cost-Guard CockpitColab GPU 调度与成本护卫座舱 · macOS · Linux · Colab CLImacOS · Linux · Colab CLI

ColabDeck

eatingDream-antigravity-plugins/colab-mcp

Operate Google Colab GPUs from Antigravity with live billing honesty, dual-layer cost guards, and sub-millisecond panel updates.在 Antigravity 中掌控 Google Colab GPU:真实计费透明化、双层止损看门狗与亚毫秒级面板响应。

A native Rust MCP server and SEP-1865 interactive cockpit built on the official Google Colab CLI, adding sub-millisecond cached reads, dual-layer stop guarantees, exclusive SSH tunnels, and declarative VM deploys.基于官方 Google Colab CLI 构建的原生 Rust MCP 服务与 SEP-1865 交互式座舱,提供亚毫秒缓存读取、双层停机止损保障、独占 SSH 隧道与声明式云端部署。 Not a browser scraper, credential harvester, or quota bypass—it delegates auth strictly to your local colab CLI and never hides active VM billing.不是浏览器爬虫、凭证抓取器或配额绕过工具——认证全权交由本地官方 colab CLI 处理,并始终如实披露计费状态。

< 1 ms< 1 ms
Warm Read热缓存读取
VM + Host双层护卫
Cost Guard止损看门狗
--mock--mock
Dry-Run Mode零计费演练
Untouched零侵入
Local SSH Config本地 SSH 配置
COLABDECK · COST-GUARD COCKPITCOLABDECK · 成本护卫座舱 SWR 0.4 ms
G4 · 24 GB active runtime活跃算力 1.92 CU/hr
First-Seen首次观测
42m · 1.34 CU
Watchdog双层看门狗
VM + HostVM + 宿主机
Orphans [?]孤儿实例
0 active0 个
SSH TunnelSSH 隧道127.0.0.1:8081 → :8000
watchdog.pydetached · 180m cap远端独立 · 180m 封顶
llama-cpp GGUFVRAM fit ready显存量化就绪

01 · QUICK START01 · 快速启用

Install in one line, or hand to your agent.一行命令安装,或直接交由 Agent 接管

Copy the verified installer or attach the portable skill to Antigravity, Claude Code, Codex, or Cursor.一键复制经校验的安装脚本,或为 Antigravity、Claude Code、Codex、Cursor 挂载可移植技能。

Install Plugin & Native Binary安装插件与原生二进制 colab-mcp
$git clone https://github.com/eatingDream-antigravity-plugins/colab-mcp.git && cd colab-mcp && ./scripts/install.sh

Reload Antigravity after installing to open the side panel, or inspect verified releases on GitHub.安装完成后重载 Antigravity 即可在侧边栏启用,也可在 GitHub Releases 手动校验包体。

Add Portable Agent Skill加载便携 Agent Skill agentskills.io
$npx skills add eatingDream-antigravity-plugins/colab-mcp

Full MCP tool schemas, flags, and operational rules live in docs/ai-guide.md and llms.txt.完整 MCP 工具定义、配置项与操作规程均收录于 docs/ai-guide.md 与 llms.txt。

02 · CAPABILITIES02 · 核心能力

Precision controls without hidden side effects.精准可控,零隐蔽副作用

Non-Blocking <1 ms SWR Backend非阻塞 <1 ms SWR 后端

Serves cached snapshots immediately over MCP stdio while refreshing Colab usage and active sessions single-flight in the background—keeping the panel instant.通过单飞后台刷新与 SWR 缓存,MCP stdio 热读取耗时稳定低于 1 ms,彻底告别 Colab CLI 阻塞导致的面板卡顿。

Live [?] CLI-History & First-Seen Spend Tracking实时 [?] 历史与首次发现花费追踪

Correlates CLI history and first-seen timestamps to expose browser-started [?] orphan runtimes with live uptime, Compute Unit burn estimates, and one-click reap.结合 CLI 历史与首次观测时间戳,主动揪出浏览器遗留的 [?] 孤儿运行时,展示实时运行时间与 CU 消耗并支持一键清理。

VM + Host Dual-Layer Cost WatchdogVM 与宿主机双层成本看门狗

Pairs a detached VM-side watchdog.py (absolute deadline + idle timeout, survives panel close) with cross-account host caps, balance floors, and PendingStop retries.云端独立 watchdog.py(绝对截止时间+空闲超时,关面板仍生效)配合宿主机跨账号时长/消费上限与余额底线,失败停机自动挂起 PendingStop 重试。

Exclusive 127.0.0.1 SSH Tunnels零侵入独占 127.0.0.1 SSH 隧道

Forwards local loopback ports via colab ssh --proxy-mode without touching ~/.ssh/config, blocking VM port 8080, escaping % tokens, and refusing blind auto-reconnects.通过 colab ssh --proxy-mode 建立本机回环转发,绝不改写 ~/.ssh/config,屏蔽 8080 保留端口、转义 % 符号并禁止盲目重连拉起新机器。

Hardware Targeting & One-Click GGUF Deploy硬件定向申请与一键 GGUF 部署

Provisions T4, L4, G4, A100, H100, or TPU (v5e1/v6e1) with min_vram_mib retries, plus bundled llama-cpp GGUF search, VRAM quantization fit, and live log streaming.支持 T4/L4/G4/A100/H100 与 TPU 定向申请及显存下限重试,内置 llama-cpp 插件实现 Hugging Face GGUF 检索、量化显存匹配与实时日志流。

ADC & Multi-Account Pinning + Zero-Billing MockADC 多账号隔离与零计费 Mock 模式

Supports Application Default Credentials (ADC) and per-account OAuth isolation with endpoint pinning, plus colab-mcp serve --mock to exercise every flow at $0.完整支持 ADC 与多账号 OAuth 隔离并锁定运行时所属账号端点,内置 --mock 演示模式可零成本验证全部工作流。

03 · OPERATIONAL MATRIX03 · 运行机制对照

Dual-Layer Cost Guard & Billing Honesty Boundaries双层止损看门狗与计费透明边界

Guard Layer护卫层级 Enforcement Mechanism执行机制 Failure / Edge Behavior异常与边界行为
VM WatchdogVM 端看门狗 Detached watchdog.py enforcing absolute deadline + idle timeout云端独立 watchdog.py 强制绝对时限与空闲超时 Survives laptop sleep, SSH drop, or Antigravity exit笔记本合盖、断网或退出面板后仍独立倒计时停机
Host Policy Guard宿主机策略护卫 Cross-account runtime ceiling, spend cap & CU balance floor跨账号运行时长上限、CU 消费封顶与余额底线 Failed stops stay tracked as PendingStop with retries停机请求失败记为 PendingStop 并持续告警重试
[?] Orphan Tracker[?] 孤儿实例追踪 CLI-history + first-seen clock for unmanaged runtimes基于 CLI 历史与首次观测时间标记未托管实例 Surfaces hidden browser billing with one-click reap显式暴露浏览器遗留计费并提供一键终止入口
SSH Tunnel SafetySSH 隧道安全 127.0.0.1-only forwarding; ~/.ssh/config untouched仅绑定 127.0.0.1,绝不修改 ~/.ssh/config Rejects VM port 8080 and refuses silent auto-recreate拒绝转发 8080 端口,绝不静默重连触发新计费

04 · SAFETY & PRIVACY04 · 安全与隐私边界

Hard boundaries enforced in code.由代码硬性守护的信任边界

01

Billing honesty: closing a panel or SSH tunnel never stops VM billing—only confirmed stop or reap_orphan ends CU consumption.计费绝对诚实:关闭面板或隧道不会停止云端计费,仅当 stop 或 reap_orphan 确认成功才结束扣费。

02

Least-privilege boundaries: MCP calls cannot mutate the colab binary path, plugin scripts run only on the remote VM, and secrets never pass via argv.最小权限边界:MCP 调用无法篡改 colab 可执行路径,部署脚本仅在远端 VM 运行,密钥绝不经由命令行参数传递。

03

Zero-billing test suite: compile-time and runtime guards block real colab subprocess execution during cargo test.零计费测试护栏:编译期与运行期双保险拦截测试阶段拉起真实 colab 子进程,杜绝误扣 Compute Units。

04

Independent OSS project: not affiliated with Google; delegates auth to the official local Colab CLI under your own account ToS.独立开源项目:与 Google 无隶属关系,所有鉴权严格委托本地官方 Colab CLI,遵循用户自身账号服务条款。