Colab-MCP (unofficial)

io.github.amgallego8由 GitHub 账号 amgallego8 发布v0.1.0更新于 Oct 27, 2026

Unofficial MCP server for Google Colab: runtimes, code, long jobs, files and notebooks.

概览

AI 生成的概览

非官方 MCP 服务器,让助手端到端使用 Google Colab:创建 GPU/TPU 运行时、运行代码、编辑笔记本、跑长任务并传输文件。

可以做什么
  • 创建、查看、重启和停止 Colab 运行时,包括 GPU/TPU 会话与用量信息
  • 在运行时上执行代码或脚本,内核状态在多次调用间保留
  • 创建和编辑本地 .ipynb 笔记本,逐单元格或整体运行,并转换为脚本
  • 启动、查看日志、列出和取消长时间后台任务
  • 上传下载文件与文件夹,列出和删除虚拟机上的文件,获取日志
  • 可选:在虚拟机上挂载 Google Drive,并通过需手动开启的 Drive 工具管理云端笔记本
适用场景
适合让助手在 Colab 机器上做真实计算而无需浏览器标签页:训练任务、批处理脚本、GPU 实验,或逐单元格迭代笔记本。也适合需要长时间后台任务、轮询日志并把结果取回本地的流程。
运行要求
仅在 macOS 或 Linux 本地运行(不支持 Windows)。需要 uv 和官方 google-colab-cli,并用你的 Google 账号完成一次登录。需设置 COLAB_MCP_WORKDIR 指定唯一可读写的本地文件夹。可选:COLAB_MCP_ENV_FILE 指向密钥文件;COLAB_MCP_DRIVE=1 并完成一次 Google 登录以启用 Drive 工具。
安装前请注意
代码在 Google 机器上以你的账号运行并消耗你的计算额度,用完请停止会话。在虚拟机上挂载 Drive 后,任何在该处运行的代码都能访问你的整个 Drive。按名称传入的密钥在命令运行期间会短暂出现在本地进程列表中。Drive 工具需要你自己的 Google Cloud OAuth 客户端,令牌保存在本地磁盘;删除笔记本会移入回收站,但仍属写入操作。许多功能尚未在真实 Colab 上验证。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Colab-MCP (unofficial),将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

Colab-MCP

An MCP server that lets an AI agent (Claude, or any MCP client) use Google Colab end to end: create and stop GPU/TPU runtimes, run code, work in notebooks cell by cell, launch long background jobs, and move files and folders in and out of the VM.

It is a thin, safe layer over Google's official Colab CLI (google-colab-cli). It does not reimplement Colab and does not depend on a browser tab.

[PyPI] [License]

🇪🇸 Resumen en español al final de este archivo.

Quick start

You need uv and the official Colab CLI, signed in once (macOS or Linux):

bash
uv tool install google-colab-clicolab sessions        # sign in ONCE (open the link, paste the code)claude mcp add colab-cli -e COLAB_MCP_WORKDIR="$HOME/colab-work" -- uvx colab-cli-mcp

That registers the server in Claude Code, and uvx downloads it from PyPI the first time. For Claude Desktop, other clients, secrets and the optional Drive tools, see Install.

Status

  • Tested against a simulated CLI (118 checks, plus 129 for Drive against a simulated Drive API, 28 for the Drive mount and 17 for local cleanup; tests/): a real MCP client talks to the server over stdio and the code that normally runs on the VM is executed for real in a sandbox folder.
  • Validated live once. On a real Colab session (macOS, Claude as the client): creating a runtime, running code, a long background job with log polling, mounting Drive from the chat (below) and stopping the session, with one real batch workload (10 items, 0 errors). That is a single run, not a benchmark.
  • Published on PyPI as colab-cli-mcp 0.1.0. The published package was installed in a clean environment (pip, and uvx) and listed its 42 tools over stdio. That check ran on Linux; use of the uvx route with Claude on macOS has not been checked yet.
  • Not yet validated live: the Google Drive API tools (drive_*), notebook execution cell by cell, folder uploads and downloads, and the behaviours listed under Known unknowns. Other MCP clients (Cursor, Codex, Windsurf) and Linux are untested.
  • Linux and macOS only (the Colab CLI does not support Windows).

Tools (42 + 8 optional Drive tools)

AreaTools
Runtimescolab_new, colab_ensure_session, colab_sessions, colab_status, colab_runtime_info, colab_restart_kernel, colab_url, colab_usage, colab_stop, colab_install
Run codecolab_exec (code or file; kernel state persists between calls), colab_run (one-shot: fresh VM → script → release)
Notebooks (local .ipynb)colab_notebook_create, _list, _read, _add_cell, _edit_cell, _delete_cell, _move_cell, _clear_outputs, _run_cell, _run_all, _to_script, _delete
Long jobscolab_job_start, _status, _logs, _cancel, _list
Filescolab_upload, colab_download, colab_upload_dir, colab_download_dir, colab_ls, colab_rm, colab_log
Drive on the VMcolab_drive_status, colab_drive_mount_start, colab_drive_mount_finish, colab_drive_project_dir (see Big projects and Drive)
Local footprintcolab_local_footprint, colab_local_cleanup (see Where things live)

Typical flows:

  • Interactive: colab_ensure_session(gpu="T4") → colab_notebook_create → add cells → colab_notebook_run_cell one by one (variables persist) → read outputs → colab_stop.
  • Batch: colab_upload_dir → colab_job_start("python -u train.py") → poll colab_job_logs → colab_download_dir → colab_stop.

Google Drive projects and notebooks are a separate, opt-in feature (below). Deliberately not included anywhere: sign-in through a tool, colab auth, repl, console, ssh, edit. They are interactive and cannot work through a tool call.

Security model

  • Local paths are confined to COLAB_MCP_WORKDIR. ../, absolute paths and symlinks that escape are rejected before anything runs.
  • Secrets never reach the model. COLAB_MCP_ENV_FILE points to a local NAME=value file. The model only passes names (secrets=["OPENROUTER_API_KEY"]); values go to the kernel with --env and are scrubbed from every result. Known limit: while the command runs, the value is visible to other local users in the process list, because the CLI takes it as an argument.
  • No shell. The CLI is run with an argument list. Session names, GPU types, package specifiers and job ids are validated. Everything user-controlled that is embedded in code for the VM goes through repr().
  • Folder transfers are guarded. Uploads skip .git, caches, symlinks and likely secrets (.env, *.pem, *.key…); downloads reject archives with paths that escape the target (zip-slip) or exceed a size limit.
  • No hard deletes on your computer. colab_notebook_delete moves the file to .colab-mcp-trash/. colab_rm only touches the VM and refuses root-like paths.
  • Output is clipped to COLAB_MCP_MAX_OUTPUT characters, and terminal colour codes (tracebacks) are stripped.
  • Code you run executes on Google's machines under your account and spends your compute units. Stop sessions you no longer need.

Big projects and Drive on the VM

For big datasets, checkpoints or results that must survive the session, mount Google Drive on the VM. This is separate from the optional "Drive notebooks" feature below and uses the Colab CLI's own sign-in.

  1. Mount it from the chat, no terminal. colab_drive_mount_start runs the official colab drivemount in a pseudo-terminal (the CLI itself never opens a browser; it only prints a link and waits for Enter), opens Google's approval page in your browser. The link is not repeated in the chat (it contains your account e-mail); it is only returned if the browser could not be opened or with show_link=true. You click Allow (the agent never sees credentials or codes) and tell the agent; colab_drive_mount_finish then sends the Enter the CLI was waiting for and colab_drive_status confirms. Only https://*.google.com links are ever opened, a pending mount is killed after 15 minutes, and there is at most one per session. If you prefer, colab drivemount -s SESSION in a terminal still works. Mounting gives code running on that VM access to your whole Drive (Colab cannot scope it); only mount when you need it and stop the session afterwards.
  2. The agent calls colab_drive_project_dir("my-project"), which creates /content/drive/MyDrive/Colab-MCP/my-project and returns the path. Datasets, checkpoints and outputs go there.
  3. Stop the session when done. Files in that Drive folder remain; everything else on the VM is lost.

Guardrail: the file tools (colab_upload*, colab_download*, colab_ls, colab_rm) refuse any Drive path outside /content/drive/MyDrive/Colab-MCP/ (folder name configurable with COLAB_MCP_DRIVE_PROJECTS), including .., relative and case tricks. colab_drive_status never lists your files.

Residual risk, stated plainly: once Drive is mounted, any code that runs on the VM (colab_exec, colab_run, jobs, notebook cells) can read and change all of your Drive; the path guard only covers this server's file tools, and it cannot see symlinks created on the VM. Mount only when you need it, review the code you run, and stop the session afterwards.

Where things live (and how little stays on your computer)

WhereWhatWhy
The Colab VM disk (about 200 GB free observed on a T4 ⚠️ not guaranteed)Datasets, training, anything heavyFast, free, gone when the session stops
Drive, folder Colab-MCP/<project>/Notebooks and results that must persistSurvives sessions; the only part of Drive this tool can see
Your computerAlmost nothing: a temporary working copy while you edit a notebookAuto-cleaned (below)

Local footprint rules (footprint.py):

  • Transfer zips are removed right after use and swept after 1 hour; saved plots after 2 days (COLAB_MCP_IMAGE_DAYS); locally "deleted" notebooks after 7 days (COLAB_MCP_TRASH_DAYS, 0 = keep); working copies of Drive notebooks after 24 h (COLAB_MCP_DRIVE_COPY_HOURS, 0 = keep) and immediately when you save. The sweep runs when the server starts and on colab_local_cleanup.
  • Only files inside .colab-mcp/ and .colab-mcp-trash/ are ever removed. Symlinks are not followed. Your own notebooks and data are never touched.
  • Guards before downloads: at least COLAB_MCP_MIN_FREE_GB (default 5) must stay free on the disk and the working folder may not exceed COLAB_MCP_WORKDIR_MAX_GB (default 20, 0 = no cap). colab_local_footprint shows the numbers. Keep big data on the VM or in Drive and download only results.

Google Drive: projects and notebooks (opt-in)

Off by default. With COLAB_MCP_DRIVE=1 (the installer sets it when you set Drive up) these tools appear, and only these:

ToolWhat it does
drive_sign_inOpens a browser window on your computer where you click Allow. No code or token ever passes through the chat
drive_project_create / drive_project_listOne folder per Colab project inside Colab-MCP. Folders can be created, never deleted or renamed
drive_notebook_createCreates a notebook (empty starter, or a local .ipynb with outputs stripped), optionally inside a project
drive_notebook_listLists the notebooks this server created
drive_notebook_open / drive_notebook_saveDownload a notebook to a temporary local copy, edit it with the colab_notebook_* tools, write the content back to the same file. Saving removes the local copy
drive_notebook_deleteMoves one of them to the Drive trash (never permanent)

Layout in your Drive: Colab-MCP/<project>/<notebook>.ipynb. The Google permission (drive.file) only reaches files and folders this app created, so your existing "Colab Notebooks" folder and everything else stay invisible to it.

A skill that keeps the agent to exactly this lives in skills/colab-drive-notebooks/SKILL.md: copy that folder to ~/.claude/skills/ (Claude Code) or add it as a skill in your client.

Who is responsible for what

Nobody shares credentials. Each user signs in themselves, and the token lives only on their own disk. You choose once between two OAuth clients (below); this project never sees your token. The model never sees a sign-in link, code or token.

Quick start (every user)

From PyPI:

bash
uvx --from colab-cli-mcp colab-cli-mcp-drive login     # asks once how you want to sign in, remembers it, signs you inclaude mcp add colab-cli -e COLAB_MCP_WORKDIR="$HOME/colab-work" -e COLAB_MCP_DRIVE=1 -- uvx colab-cli-mcp

From a clone of this repository, bash install.sh asks "Set up Drive now?", runs the one-time choice below, and registers the server with the Drive tools enabled. Manually:

bash
git clone https://github.com/amgallego8/Colab-MCP ~/Colab-MCP && cd ~/Colab-MCPuv syncuv run colab-cli-mcp-drive login     # same login, run from the clone

login walks you through creating your own Google Cloud "Desktop app" client (about 10 minutes, once, free; steps below). When you give it the path of the JSON you downloaded it stores it for you (0600). You answer to Google for your project. After that, signing in is just: a link opens in your browser, you click Allow, done. There is no code to paste.

No shared one-click client is shipped yet. If this repository reaches 1,000 stars, the maintainer intends to publish one (a ready-made client so that signing in needs no Google Cloud setup at all). That is a plan, not a promise. The code for it already exists: if a build ships colab_cli_mcp/shared_client.json, login offers a menu with shared and own.

The shared client is never used without an explicit choice (a terminal answer or --shared). Your choice is remembered in ~/.config/colab-mcp/drive/preference.json. From then on, when a Drive tool needs access and there is no valid token (first use, or after the 7-day expiry of apps in Testing mode), the server itself opens the browser consent page and waits for your click; you then repeat the request. Sign-in, the drive.file scope, the token file and every guardrail are identical in both cases.

Then leave per-call approval on for drive_notebook_delete in your MCP client — that prompt is the real human confirmation; the server cannot force it. uvx --from colab-cli-mcp colab-cli-mcp-drive status (or uv run colab-cli-mcp-drive status from a clone) shows what is configured.

To leave: colab-cli-mcp-drive logout (deletes the token and revokes it at Google), and remove the app at https://myaccount.google.com/permissions if revocation could not be confirmed.

Creating your own client (what login asks you to do)

  1. In the Google Cloud console create a project and enable the Google Drive API (guide).
  2. Configure the consent screen / Google Auth Platform (guide): under Audience pick External and add yourself under Test users; under Data Access → Add or Remove Scopes add only .../auth/drive.file.
  3. Google Auth platform → Clients → Create Client → Desktop app (Google's steps). Download the JSON and give its path to login.

For the maintainer: publishing a shared client

Create the client as above (ideally in a dedicated Google account and project), then place the JSON at colab_cli_mcp/shared_client.json and commit it on purpose (git add -f; the file is git-ignored by default). Desktop-app client secrets are not confidential by design, but the project, its consent screen (support email, privacy policy link) and any Google verification requirements become yours. See TERMS.md.

Threat model (what this does and does not protect)

LayerWhat it gives you
Scope drive.file onlyThe token can only reach files this OAuth client created. It cannot read or delete the rest of your Drive, even if everything below failed. Google classifies this scope as non-sensitive.
Your own OAuth clientAnother user's or a vendor's client cannot touch your files, and you can revoke the whole client from your own project.
Token handling0600 file, refused if group/world-readable, refused if it has any scope other than drive.file. Never returned by any tool. Separate from the Colab CLI's token (which has broader scopes).
Tool surfaceCreate folders; create / list / open / save / trash notebooks this server created. No permanent delete, no folder delete, no sharing, no permissions, no reading of other files, no free-form queries or ids. A test asserts that no DELETE request and no permissions/export/copy endpoint is ever used.
File guards (open, save, delete)The file must carry this server's marker, be a Colab notebook, be owned by you, sit directly in the app folder or one of its project folders, and not be trashed. Delete also needs its exact name retyped. Save changes content only: never name, place or sharing.
Limits and tracePer hour: 20 notebook creations, 10 project folders, 60 saves, 5 deletions, 6 sign-in attempts (COLAB_MCP_DRIVE_MAX_CREATES_PER_HOUR, _MAX_PROJECTS_PER_HOUR, _MAX_SAVES_PER_HOUR, _MAX_DELETES_PER_HOUR, _MAX_LOGINS_PER_HOUR); append-only audit log (audit.log, 0600) that never stores content.
Content hygieneNotebooks uploaded from a file lose their outputs; saves keep outputs (turn off with keep_outputs=False). Any upload or save is refused if it contains a value from your secrets file. Names read back from Drive have control and bidi characters stripped and are labelled as data.

Residual risks, stated plainly. "Completely secure" is not a claim anyone can make; this is what remains:

  • A prompt-injected or mistaken agent can still create junk notebooks (rate-limited) or trash a notebook this server created if you approve the call. They stay recoverable in the Drive trash.
  • The confirmation-by-name check stops accidents, not a model that is determined to repeat the name; the human approval prompt in your client is the real control.
  • Anyone who can read your user account's files can use your token until you log out. Disk encryption and a locked account are on you.
  • Notebooks you create can contain code that will run later in Colab with your account; review what you open.
  • In Testing mode Google expires refresh tokens after 7 days for external apps, so you may need to log in again weekly.
  • If a Drive folder named Colab-MCP is also created by code running on a Drive-mounted VM, Drive can end up with two folders of that name that this tool treats separately (⚠️ not verified). Prefer one route per project.
  • Not yet run against live Google Drive (see Known unknowns).

Env: COLAB_MCP_DRIVE (enable), COLAB_MCP_DRIVE_COPY_HOURS, COLAB_MCP_DRIVE_DIR (default ~/.config/colab-mcp/drive), COLAB_MCP_DRIVE_CLIENT, COLAB_MCP_DRIVE_TOKEN, COLAB_MCP_DRIVE_AUDIT, COLAB_MCP_DRIVE_FOLDER (default Colab-MCP).

Install

From PyPI (recommended)

Needs uv (curl -LsSf https://astral.sh/uv/install.sh | sh). The official Colab CLI must be installed and signed in first:

bash
uv tool install google-colab-clicolab sessions        # sign in ONCE (open the link, paste the code)

Claude Code:

bash
claude mcp add colab-cli -e COLAB_MCP_WORKDIR="$HOME/colab-work" -- uvx colab-cli-mcp

Claude Desktop (claude_desktop_config.json; use the full path to uvx if the app cannot find it, see which uvx):

json
{  "mcpServers": {    "colab-cli": {      "command": "uvx",      "args": ["colab-cli-mcp"],      "env": { "COLAB_MCP_WORKDIR": "/Users/YOU/colab-work" }    }  }}

Other MCP clients: any client that can start a stdio server can run uvx colab-cli-mcp (untested, see Status).

Optional secrets file (outside any repository, readable only by you) and the Drive tools:

bash
mkdir -p ~/.config/colab-mcpprintf 'OPENROUTER_API_KEY=your-key-here\n' > ~/.config/colab-mcp/secrets.envchmod 600 ~/.config/colab-mcp/secrets.env

Add -e COLAB_MCP_ENV_FILE="$HOME/.config/colab-mcp/secrets.env" to the command above (or the same key under env in the JSON). For the optional Drive tools add -e COLAB_MCP_DRIVE=1 and sign in once as described in Google Drive.

Every person who uses it repeats these steps with their own Google account: the sign-in token is personal and must not be shared.

From source (to modify the code)

bash install.sh (macOS/Linux) from a clone asks before installing anything, signs you in to Colab, and registers the server with Claude Code (or prints the Claude Desktop config). The manual steps are below.

bash
# 1. uv and the official CLIcurl -LsSf https://astral.sh/uv/install.sh | shuv tool install google-colab-cli
# 2. Sign in ONCE (open the link, paste the code)colab sessions
# 3. This servergit clone https://github.com/amgallego8/Colab-MCP ~/Colab-MCP

Optional secrets file (outside any repository, readable only by you):

bash
mkdir -p ~/.config/colab-mcpprintf 'OPENROUTER_API_KEY=your-key-here\n' > ~/.config/colab-mcp/secrets.envchmod 600 ~/.config/colab-mcp/secrets.env

Register in Claude Code:

bash
claude mcp add colab-cli \  -e COLAB_MCP_WORKDIR="$HOME/colab-work" \  -e COLAB_MCP_ENV_FILE="$HOME/.config/colab-mcp/secrets.env" \  -- uv run --directory ~/Colab-MCP colab-cli-mcp

Register in Claude Desktop (claude_desktop_config.json):

json
{  "mcpServers": {    "colab-cli": {      "command": "uv",      "args": ["run", "--directory", "/Users/YOU/Colab-MCP", "colab-cli-mcp"],      "env": {        "COLAB_MCP_WORKDIR": "/Users/YOU/colab-work",        "COLAB_MCP_ENV_FILE": "/Users/YOU/.config/colab-mcp/secrets.env"      }    }  }}

Every person who uses it repeats these steps with their own Google account: the sign-in token is personal and must not be shared.

Environment variables

VariableDefaultPurpose
COLAB_MCP_WORKDIRcurrent directoryThe only local folder the server touches
COLAB_MCP_ENV_FILE—NAME=value file with secrets
COLAB_MCP_AUTHCLI defaultoauth2 or adc (the CLI's --auth)
COLAB_MCP_MAX_OUTPUT20000Max characters returned per call
COLAB_MCP_MAX_UPLOAD_MB100Per-file/zip upload cap (the CLI sends a file in one request)
COLAB_MCP_MAX_DOWNLOAD_MB1024Cap for unpacked directory downloads
COLAB_BINcolabPath to the CLI executable
COLAB_MCP_MIN_FREE_GB5Free disk that must remain after a download
COLAB_MCP_WORKDIR_MAX_GB20Budget for the working folder (0 = no cap)
COLAB_MCP_IMAGE_DAYS / COLAB_MCP_TRASH_DAYS / COLAB_MCP_DRIVE_COPY_HOURS2 / 7 / 24Age after which saved plots, locally trashed notebooks and Drive working copies are swept (0 = keep trash/copies)
COLAB_MCP_DRIVE_PROJECTSColab-MCPThe only Drive folder (under MyDrive) the file tools may use when Drive is mounted on the VM

How notebooks work

Notebooks are ordinary .ipynb files inside the working directory, edited locally with nbformat, so editing needs no runtime. colab_notebook_run_cell sends one cell to the runtime through colab exec; the kernel keeps its variables between calls, and the cell's output (text, errors, a displayed plot) is written back into the notebook. Cells are addressed by id (stable) or index. Plots are saved under .colab-mcp/images/.

colab_exec with a .ipynb file runs the whole notebook and the CLI saves <name>_output.ipynb beside it.

Known unknowns (to confirm against live Colab)

These come from reading the CLI's source and docs. The live run described under Status did not cover them:

  • Kernel variables persisting across exec calls (the source reuses the same kernel id, so it should).
  • Cell success/failure detection relies on get_ipython().run_cell being available in the Colab kernel.
  • Whether --output-image saves every image form (it handles PNG/JPEG display data).
  • The real upload size limit (the CLI sends a file in a single request; the 100 MB cap is a conservative guess).
  • Whether Colab Secrets (userdata) are readable in the kernel when running through the CLI — undocumented. Use secrets=[...] instead.
  • Google Drive (opt-in, see below): the Colab MIME type application/vnd.google.colaboratory was not found in Google's Drive documentation. The server checks what Drive stored after each creation and undoes it if it differs, but this has not been run against real Drive yet.
  • Whether a Google Cloud app that stays unverified can be used by its owner without the 7-day refresh-token expiry of "Testing" mode (Google's docs say refresh tokens of external apps in Testing expire after 7 days; the rules for unverified apps "In production" were not confirmed).

Develop

bash
pip install "mcp<2" nbformat google-auth google-auth-oauthlib requestspython tests/test_server.py   # the Colab tools, with a simulated CLIpython tests/test_drive.py    # the Drive tools, with a simulated Drive APIpython tests/test_footprint.py # local cleanup and disk guardspython tests/test_mount.py     # Drive mount from the chat, with a simulated CLI

The SDK pin mcp<2 is intentional: 2.x renamed FastMCP to MCPServer.

Terms of use and privacy

See TERMS.md: no server and no data collection by the maintainer, what is stored locally, user responsibilities, who answers to Google under each sign-in option, and the no-warranty clause.

License

Apache License 2.0 — see LICENSE. Copyright 2026 the Colab-MCP contributors (amgallego8). The official Colab CLI this project wraps is a separate work, also Apache-2.0, and is not included here.


Resumen en español

Servidor MCP para que un agente use Google Colab de punta a punta: crear y detener runtimes con GPU/TPU, ejecutar código, trabajar en cuadernos celda por celda, lanzar trabajos largos en segundo plano y mover archivos y carpetas hacia y desde la VM. Envuelve el Colab CLI oficial de Google.

  • Estado: probado con un CLI simulado (292 comprobaciones: 118 + 129 + 28 + 17). Validado una vez en vivo en una sesión real de Colab (macOS y Claude): crear runtime, ejecutar código, un trabajo largo con logs y montar Drive desde el chat. Sin validar en vivo: las herramientas drive_*, cuadernos celda por celda, carpetas, otros clientes (ver «Known unknowns»).
  • Seguridad: las rutas locales quedan confinadas a COLAB_MCP_WORKDIR; las claves viven en un archivo local y nunca se devuelven al modelo; no hay shell; los borrados de cuadernos van a una papelera recuperable.
  • Instalación: desde PyPI con uvx colab-cli-mcp (o desde el código con install.sh); cada persona repite los pasos de «Install» con su propia cuenta de Google. El token de sesión es personal.
  • Google Drive (opcional): carpetas de proyecto y cuadernos de Colab en Colab-MCP/<proyecto>/ de tu Drive (crear, abrir, guardar, borrar a la papelera), nada más. Creas una sola vez tu propio cliente de Google (todavía no se publica un cliente compartido); después el propio servidor abre el navegador cuando haga falta y tú solo pulsas «Permitir» (el código y el token nunca pasan por el chat). El permiso es drive.file: solo ve lo que esta herramienta crea. Tu computador queda casi vacío: los temporales se limpian solos y lo pesado va al disco de la VM o a Drive. Hay una skill (skills/colab-drive-notebooks) que limita al agente a eso. Ver «Google Drive» y el modelo de amenazas, con sus riesgos residuales. Aún sin probar contra la API de Drive real.
  • Costo: lo que ejecutes consume tus unidades de cómputo de Colab. Detén las sesiones que no uses.

来源:README.md,提交 084b8b9

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.1.0最新Oct 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分