Colab MCP
Connects local AI assistants directly to browser-based Google Colab notebooks, enabling execution of Python code and interaction with notebook states.
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 MCPrun this pandas code to analyze the dataset"
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 (Model Context Protocol)
An MCP (Model Context Protocol) server that seamlessly bridges your local AI agent to a Google Colab session running in your browser.
✨ Features
Connects local AI assistants directly to browser-based Colab notebooks
Supports executing Python code in Colab via the agent
Reads and interacts with Colab notebook states
Related MCP server: mcp-server-colab-exec
💻 Supported Clients
This MCP server requires a client that supports notifications/tools/list_changed and must be running locally on your device.
Popular clients that meet these criteria include:
🚀 Installation & Setup
Install
uv(an extremely fast Python package installer and resolver):pip install uvConfigure your MCP Client (e.g., in your
mcp.jsonor equivalent configuration file):{ "mcpServers": { "colab-mcp": { "command": "uvx", "args": ["git+https://github.com/googlecolab/colab-mcp"], "timeout": 30000 } } }Note for Googlers (or those with non-standard package indexes): You may need to add
--index https://pypi.org/simpleto theargsarray.
💬 Issues & Discussions
We use GitHub Discussions as our primary venue for issue discussion and feature requests.
As discussions mature into clear action items, the maintainers will convert them into tracked issues. This workflow helps us ensure that the issue tracker remains deduplicated, well-understood, and highly actionable.
⚠️ Please do NOT open issues directly.
🤝 Contributing
While we appreciate community interest, we currently do not have the bandwidth to review external contributions. We want to avoid user Pull Requests languishing without review, so we are not accepting external contributions at this time.
If you have a great idea or encounter a pain point, we would love to hear about it on our Discussions page!
🛠️ Internal (For Colab Developers)
Prerequisites
uvis required (pip install uv)Configure git hooks to run repository presubmits:
git config core.hooksPath .githooks
Local Development Setup (Gemini CLI)
To test your local checkout with the Gemini CLI, use this configuration:
{
"mcpServers": {
"colab-mcp": {
"command": "uv",
"args": ["run", "colab-mcp"],
"cwd": "/path/to/github/colab-mcp",
"timeout": 30000
}
}
}MCP_Colab
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
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.Last updated595Apache 2.0
- AlicenseAqualityDmaintenanceMCP server that allocates Google Colab GPU runtimes (T4/L4) and executes Python code on them. Lets any MCP-compatible AI assistant run GPU-accelerated code without local GPU hardware.Last updated37MIT
- Apache 2.0
- Alicense-qualityFmaintenanceEnables Claude Code to execute shell commands, Python code, and file transfers on a Google Colab T4 GPU via an MCP server, bridging the GPU gap for AI coding agents.Last updated4MIT
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
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/aerovfx/MCP_Colab'
If you have feedback or need assistance with the MCP directory API, please join our Discord server