XichuColab
Allows viewing Google Colab compute (CU), requesting CPU/GPU/TPU runtimes, executing code and notebooks, uploading/downloading files, and stopping/releasing instances on the user's behalf.
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.
XichuColab · 西楚极客 Colab 算力管家
在 Windows 上,从 Antigravity 的对话或侧边栏查看 Google Colab 算力(CU)、按任务申请 CPU/GPU/TPU、取回结果并释放实例。插件免费。可用机型、账号权限、算力消耗和最终账单由 Google 决定。
安装与首次登录
准备 Windows、支持 MCP Apps 的 Antigravity、可访问 Google 和 PyPI 的网络,以及 Python 3.12+。安装器会检查 Python 3.10 门槛,3.10/3.11 仍须升级,因为本版依赖的官方
google-colab-cli 0.8.0要求 3.12+。频道在 Windows 上调用该包的 Python 接口,上游 CLI 列出的支持平台为 Linux/macOS。下载 v1.0.0 Release 中的安装包和 SHA256SUMS.txt。用
Get-FileHash .\XichuColab_v1.0.0.zip -Algorithm SHA256比对摘要。把 ZIP 完整解压到长期保留的目录,也可克隆仓库。在包含 install.ps1 的目录打开 PowerShell。执行下面的命令。首次安装需要联网,面板已经预构建。看到「安装完成」后保留解压目录,插件启动时会从中读取服务和面板。
.\install.ps1在 Antigravity 重新加载插件或新开对话,输入「打开 Colab 算力管家」。在面板选择「授权登录 Google」,在官方页面选择账号并同意授权,把返回的授权码粘贴到同一面板完成绑定。刷新后检查账号与余额。仅查看面板无需分配实例。
默认安装到当前用户的 .gemini\config\plugins\xichu-colab,虚拟环境位于目标目录下的 .venv。自选目标可用 .\install.ps1 -PluginDst .\test-plugins\xichu-colab。要复用已有依赖的解释器,可用 .\install.ps1 -SkipVenvCreate -PythonExe .\my-venv\Scripts\python.exe。更换源码目录后请在新位置重跑安装。
Related MCP server: colab-cli-mcp
跑任务与停机核账
先查余额,再选机器。 面板显示机型费率、显存、实例及闲置时间。过期批次由余额、发放日和月额度推算,预计时长依赖当前费率,均应与 Google 账户记录核对。
一次性计算可说「用 CPU 运行一次 print(6 * 7),开启 auto_stop,回报输出、停机结果和当前余额」。
colab_exec默认保留实例,须显式设置auto_stop=True。运行本地 Notebook 默认启用自动停机。执行进入清理阶段后插件会尝试释放该实例,异常、断网或进程退出后应复查。需要下载的任务可说「上传我指定的文件,处理后先下载成品并验证本地大小,再停止本次实例,列出剩余实例」。中断任务、重启内核、关闭面板均可能留下计费中的实例。
验收看
stopped=true,再刷新实例列表确认目标消失。停止失败时按名称重试或在官方 Colab 管理会话。余额差值代表账户在该时段的变化,多实例、结算延迟或余额暂不可用时需随后复核。闲置提示由面板刷新触发。
MCP 工具
场景 | 工具 |
侧边栏 |
|
登录与退出 |
|
实例与硬件 |
|
执行与内核 |
|
文件 |
|
面板内部 |
|
隐私与常见排错
Google OAuth 凭据交给官方 CLI 使用的系统 keyring,Windows 上使用凭据管理器。授权码仅粘贴至本机面板。执行的代码、部分输出、设置和核账记录会写入插件数据目录。上游会话文件可能含短期运行时访问凭据。保管好这些文件,向他人提供诊断时先脱敏。所选任务文件会上传至你的 Colab 实例。
现象 | 处理 |
PowerShell 阻止执行 | 核验 ZIP 摘要后,在当前窗口运行 |
找不到 Python 或依赖安装失败 | 运行 |
授权回调失败、授权码过期 | 从面板重新发起授权,在同一轮完成,核对浏览器账号和网络。 |
重开后又要求登录 | 检查当前 Windows 用户、凭据管理器服务与 keyring 后端。用面板授权状态复查,退出登录会清除此 CLI 共用凭据。 |
面板空白或工具未出现 | 核对解压完整性和 dashboard.html,重新运行安装并重新加载插件。 |
任务结束后仍有实例或未显示费用 | 对目标实例执行停止,刷新列表并核对余额。多个任务并行时请按实例名操作。 |
开发与许可
src/xichu_colab 为 MCP 服务及 Colab 适配层,plugin 包含安装模板、工具规则和 Skill。修改界面时进入 ui,运行 npm ci 和 npm run build,提交重建的 ui/dist/dashboard.html。普通安装直接使用随包面板。
插件逻辑、仪表盘设计、安装器与规则由西楚极客原创,按 MIT 开源。面板内嵌 SDK 等上游代码,署名与许可见 第三方声明。Python 依赖通过 pip 单独获取。Google Colab CLI · MCP Python SDK · MCP Apps
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
MCP commerce surface for compute credits, API keys, GPU instances, and cloud storage.
Massed Compute MCP — GPU inventory, VM lifecycle, billing, SSH keys, and setup recipes.
The Google Compute Engine MCP server is a fully-managed Model Context Protocol server that provides tools to manage Google Compute Engine resources through AI agents. It enables capabilities including instance management (creating, starting, stopping, resetting, listing), disk management, handling instance templates and group managers, viewing machine and accelerator types, managing images, and accessing reservation and commitment information. The server operates as a zero-deployment, enterprise-grade endpoint at https://compute.googleapis.com/mcp with built-in IAM-based security.
ComputePortal marketplace: AI agents find, deploy and manage GPU and CPU compute through MCP.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables offloading heavy CPU/ML workloads to free Google Colab from any MCP client, with automatic job management and free-tier enforcement.16MIT
- FlicenseNot gradedqualityDmaintenanceEnables MCP clients to execute Python code on Google Colab GPU/TPU runtimes via the official Colab CLI, with session, file, and package management capabilities.-
- 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
- AlicenseAqualityBmaintenanceEnables AI agents to monitor a multi-account Colab Pro GPU/TPU pool and submit, track, retry, download artifacts from, and cancel Colab jobs through MCP tools.7MIT