Enables remote control of Google Colab instances, allowing users to execute shell commands, run persistent Python code, and monitor system resources such as CPU, GPU, and RAM.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Colab MCPcheck the current GPU usage and system resources"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Colab MCP Client (TypeScript)
A high-performance Model Context Protocol (MCP) server for controlling Google Colab instances via a reverse proxy (ngrok, serveo, etc.).
Features
connect_to_colab: Link to your running Colab instance.run_colab_shell: Execute shell commands.run_colab_python: Run persistent Python code.get_colab_system_info: Monitor CPU/GPU/RAM.
Quick Start (No Install)
You can run this MCP server directly using Bun:
Adding to MCP Agents (Claude Desktop, etc.)
For a stable setup, it is recommended to download the file locally:
Download the binary/script:
curl -LO https://github.com/DevAdalat/colab-mcp/releases/download/v1.0.0/colab-bridge.jsAdd to Claude Desktop: Update your
claude_desktop_config.json(usually at~/Library/Application Support/Claude/claude_desktop_config.jsonon macOS):
Manual Installation
If you want to run it locally:
Install Dependencies:
bun installRun Server:
bun run index.ts
Requirements
Bun runtime installed.
A running Google Colab instance with the bridge script active.