Agentโ™ฅ๏ธŽAge
Catalog

io.github.pdwi2020/mcp-server-colab-exec

Official

by pdwi2020 ยท Python

Execute Python code on Google Colab GPU runtimes (T4/L4) from any MCP client

io.github.pdwi2020/mcp-server-colab-exec: MCP server for Colab GPU Python execution

The io.github.pdwi2020/mcp-server-colab-exec Model Context Protocol (MCP) server allocates Google Colab GPU runtimes (T4/L4) and executes Python code on them from any MCP client. It enables GPU-accelerated code execution (CUDA, PyTorch, TensorFlow) without local GPU hardware.

๐Ÿ› ๏ธ Key Features

  • Allocates Google Colab GPU runtimes: T4 and L4
  • Executes Python code on those GPU runtimes
  • Intended for MCP-compatible AI assistants

๐Ÿš€ Use Cases

  • Run GPU-accelerated Python workflows from MCP clients
  • Use CUDA, PyTorch, or TensorFlow via Colab GPU resources
  • Offload GPU execution to Colab instead of local hardware

โšก Developer Benefits

  • Works from any MCP client (e.g., Claude Code, Claude Desktop, Gemini CLI, Cline)
  • Avoids requiring local GPU hardware
  • OAuth token caching for subsequent runs at ~/.config/colab-exec/token.json

โš ๏ธ Limitations

  • Requires Python 3.10+
  • Requires a Google account with access to Google Colab
  • First run opens a browser for OAuth2 consent