Colab MCP
🪐 Colab MCP (Model Context Protocol)
Ein MCP (Model Context Protocol)-Server, der Ihren lokalen KI-Assistenten nahtlos mit einer im Browser ausgeführten Google Colab-Sitzung verbindet.
✨ Funktionen
Verbindet lokale KI-Assistenten direkt mit browserbasierten Colab-Notebooks
Unterstützt die Ausführung von Python-Code in Colab über den Agenten
Liest und interagiert mit Colab-Notebook-Zuständen
Related MCP server: colab-mcp
💻 Unterstützte Clients
Dieser MCP-Server erfordert einen Client, der notifications/tools/list_changed unterstützt und lokal auf Ihrem Gerät ausgeführt wird.
Zu den gängigen Clients, die diese Kriterien erfüllen, gehören:
🚀 Installation & Einrichtung
Installieren Sie
uv(ein extrem schneller Python-Paket-Installer und -Resolver):pip install uvKonfigurieren Sie Ihren MCP-Client (z. B. in Ihrer
mcp.jsonoder einer entsprechenden Konfigurationsdatei):{ "mcpServers": { "colab-mcp": { "command": "uvx", "args": ["git+https://github.com/googlecolab/colab-mcp"], "timeout": 30000 } } }Hinweis für Googler (oder Nutzer mit nicht standardmäßigen Paket-Indizes): Möglicherweise müssen Sie
--index https://pypi.org/simplezumargs-Array hinzufügen.
💬 Probleme & Diskussionen
Wir nutzen GitHub Discussions als unseren primären Ort für die Diskussion von Problemen und Funktionsanfragen.
Sobald Diskussionen zu klaren Aufgaben führen, werden die Betreuer diese in nachverfolgbare Issues umwandeln. Dieser Arbeitsablauf hilft uns sicherzustellen, dass der Issue-Tracker übersichtlich, verständlich und hochgradig handlungsorientiert bleibt.
⚠️ Bitte eröffnen Sie KEINE Issues direkt.
🤝 Mitwirken
Obwohl wir das Interesse der Community schätzen, haben wir derzeit nicht die Kapazitäten, externe Beiträge zu prüfen. Wir möchten vermeiden, dass Pull Requests von Benutzern ohne Überprüfung liegen bleiben, daher akzeptieren wir derzeit keine externen Beiträge.
Wenn Sie eine großartige Idee haben oder auf ein Problem stoßen, würden wir uns freuen, davon auf unserer Discussions-Seite zu hören!
🛠️ Intern (Für Colab-Entwickler)
Voraussetzungen
uvist erforderlich (pip install uv)Konfigurieren Sie Git-Hooks, um Repository-Presubmits auszuführen:
git config core.hooksPath .githooks
Lokale Entwicklungseinrichtung (Gemini CLI)
Um Ihren lokalen Checkout mit der Gemini CLI zu testen, verwenden Sie diese Konfiguration:
{
"mcpServers": {
"colab-mcp": {
"command": "uv",
"args": ["run", "colab-mcp"],
"cwd": "/path/to/github/colab-mcp",
"timeout": 30000
}
}
}MCP_Colab
Available Tools
1 toolopen_colab_browser_connectionA
Opens a connection to a Google Colab browser session and unlocks notebook editing tools. Returns a boolean representing whether the connection attempt succeeded
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden of behavioral disclosure. It mentions the side effect of unlocking editing tools and the boolean return value, but it does not clarify whether the connection is persistent, whether it requires an existing browser session, or whether any side effects beyond unlocking occur.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, front-loaded sentence that conveys the action, the target resource, the functional outcome, and the return type. There is no redundant or filler content.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a zero-parameter tool with an output schema, the description is nearly complete: it names the action and return value. The main gap is the lack of any prerequisite or failure-context information, such as requiring an active Colab browser session or what happens if the connection attempt fails.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The tool has zero parameters, so the schema provides no parameter semantics to clarify. The description does not need to add parameter meaning, and it appropriately focuses on the operation and return value.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description uses a specific verb ('Opens') and names a clear resource ('a Google Colab browser session'), and also states the expected outcome ('unlocks notebook editing tools'). With no sibling tools to differentiate, this fully communicates what the tool does.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies the tool is used when a Colab browser connection is needed, but it does not state explicit when-to-use guidance, prerequisites, or alternatives. Since there are no sibling tools, the lack of exclusions is acceptable, but contextual guidance is minimal.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
1 tool update
v1.0.1- First observed
open_colab_browser_connection
TDQS
Scored across 1 tool
Only one tool exists, so no ambiguity between tools, but the dimension assesses whether tools can be told apart; with one tool there is no need for disambiguation, but it cannot be 'clearly distinct' from others since there are none.
With a single tool, naming consistency is not applicable; however, the name is descriptive and follows a reasonable pattern, so a neutral score is given.
A single tool seems too few for a server named 'Colab MCP', which suggests a broader purpose. The tool only handles opening a connection, leaving other expected functionalities uncovered.
The server's domain appears to be Google Colab integration, but only one tool for opening a connection is provided. Missing tools for editing, running cells, managing notebooks, etc., make the surface severely incomplete.
Related MCP Connectors
Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer
Remote MCP server for The Colony — a social network for AI agents (posts, DMs, search, marketplace).
An MCP server that gives your AI access to the source code and docs of all public github repos
MCP server connecting AI agents to 100+ apps (Gmail, Slack, Notion, GitHub) via one-click OAuth.
Related MCP Servers
- AlicenseBqualityDmaintenanceLocal-first MCP server for controlling Google Colab as a development, shell, file, and training runtime, with tools for notebook editing, GPU acceleration, and file transfer.598Apache 2.0
- Apache 2.0
- AlicenseNot gradedqualityDmaintenanceMCP server that connects AI agents to Google NotebookLM, enabling natural language interaction with notebooks, including Q&A, source ingestion, and audio overview generation.2,297 npmMIT
- AlicenseAqualityDmaintenanceAn MCP server for bridging your local agent to a Colab session in the browser.1Apache 2.0