Colab

Developer tools

An MCP server for interacting with Google Colab.

Your AI app calls the Colab MCP server, which does the developer tools work and sends the result back to the chat.

About Colab

Colab is a community MCP server from googlecolab, filed in our directory under developer tools. An MCP server for interacting with Google Colab.

At a glance

Publisher
googlecolab (community)
Runs
See the README for setup
Written in
Python
License
Apache-2.0
GitHub stars
1,589

How to set up Colab

  1. Follow the install steps in the Colab README; it is written in Python, so have that toolchain ready.
  2. Check the Colab README for keys or settings; the registry lists none that Colab requires.
  3. Add Colab to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the Colab tools to confirm the connection.
  5. Run one read-only task with Colab first, and keep your app asking before each tool call until the results look right.

Colab compared with similar servers

  • Paperdebugger by PaperDebugger has fewer GitHub stars than Colab (1.6k against 1.6k); both are community servers, and both run locally.
  • Codemcp by ezyang has more GitHub stars than Colab (1.6k against 1.6k); both are community servers, and both run locally.
  • Ros by robotmcp has fewer GitHub stars than Colab (1.5k against 1.6k); both are community servers, and both run locally.

Before you connect Colab

  • Give Colab its own API key or account with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each Colab tool call until you trust what it does with them.
  • Treat text that Colab fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for Colab on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for Colab

How marketing and sales teams put Colab to work, by company size. Pick the size closest to yours and start Colab on one use case.

Small business

  • A small business with a developer can use Colab to ship site and tracking fixes faster, with the AI reading the code it changes.
  • Technical founders can ask Colab to explain and fix a marketing site issue without context switching between tools.
  • Colab runs on your own computer, which keeps data local; it needs a little setup, so a small team should plan an hour for it.

Mid-market

  • Growth engineers can use Colab to build landing pages, tracking and integrations in fewer cycles, with reviews kept in the normal flow.
  • Marketing ops engineers can connect Colab to keep scripts and automations documented and versioned as they change.
  • Start Colab on one workflow with one owner, measure the time it saves, then roll it out to the wider team.

Enterprise

  • Enterprise engineering teams can roll out Colab with repo scopes and audit logs, so agents work only where they are allowed.
  • Platform teams can standardize on Colab so web and marketing engineering share one reviewed way of working with AI.
  • Colab is a community server, so have security review the code and pin a version before Colab touches company data.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

Colab README

From googlecolab/colab-mcp on GitHub, shared under its Apache-2.0 license. Images are left out; the original has them.

README.md

Colab-mcp

An MCP server for bridging your local agent to a Colab session in the browser.

Supported Clients

This MCP server requires client support for notifications/tools/list_changed and for the client to be running locally on your device.

Popular clients that fit these criteria include:

  • Gemini CLI
  • Claude Code
  • Windsurf

Setup

  • Install uv (pip install uv)
  • Configure for usage (eg for mcp.json style services):
...
  "mcpServers": {
    "colab-mcp": {
      "command": "uvx",
      "args": ["git+https://github.com/googlecolab/colab-mcp"],
      "timeout": 30000
    }
  }
...

(If you have a non-standard default package index (Googlers), you may also need to add --index https://pypi.org/simple)

Issues & Discussions

We are using GitHub discussions as the place for issue discussion and feature requests. As discussions mature into action items, we will add those items as issues. This helps us ensure that issues in the issue tracker are well-understood, deduplicated, and actionable. For these reasons, please do NOT open issues directly.

Contributing

We unfortunately don't have the bandwidth to support review of external contributions, and we don't want user PRs to languish, so we aren't accepting any external contributions right now.

If you have a great idea or pain point, we would love to hear about it on our discussions page - the preferred place for issue discussion and feature requests.

Internal - For Colab Developers

Prerequisites

  • uv is required (pip install uv)
  • Configure git hooks to run repo presubmits
git config core.hooksPath .githooks
Gemini CLI setup
...
  "mcpServers": {
    "colab-mcp": {
      "command": "uv",
      "args": ["run", "colab-mcp"],
      "cwd": "/path/to/github/colab-mcp",
      "timeout": 30000
    }
  }
...

Questions about Colab

What is the Colab MCP server?

An MCP server for interacting with Google Colab. Colab is maintained by googlecolab on GitHub at googlecolab/colab-mcp, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the Colab MCP server?

Colab doesn't publish a one-line install in the MCP registry, so follow the setup steps in its README on GitHub (googlecolab/colab-mcp). Like most servers, Colab ends with a command or URL you paste into your AI app's MCP config.

Does Colab need an API key?

The registry lists no required keys for Colab. Check the Colab README for optional settings, and expect a remote server to ask you to sign in the first time you connect.

Is Colab an official MCP server?

No. Colab is a community server maintained by googlecolab. Community servers can be excellent; read the code and the open issues before you give Colab access to company data.

What license is Colab under?

Colab is released under the Apache-2.0 license, according to its GitHub repository. The license covers the code of Colab; the service it connects to has its own terms.