Skip to main content
Glama
pdwi2020

mcp-server-colab-exec

by pdwi2020

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
colab_executeA

Execute Python code on a Google Colab GPU runtime.

Allocates a T4 or L4 GPU, runs the code, and returns structured JSON with per-cell output, errors, and stderr.

Args: code: Python code to execute on the Colab GPU runtime. accelerator: GPU type — "T4" (free-tier) or "L4" (premium). Default: "T4". timeout: Max execution time in seconds. Default: 300.

colab_execute_fileA

Execute a local Python file on a Google Colab GPU runtime.

Reads the file contents and sends them for execution on a Colab GPU.

Args: file_path: Path to a local .py file to execute on Colab. accelerator: GPU type — "T4" (free-tier) or "L4" (premium). Default: "T4". timeout: Max execution time in seconds. Default: 300.

colab_execute_notebookA

Execute Python code on Colab GPU and collect generated artifacts.

Runs the code, then scans the runtime for output files (images, CSVs, models, etc.), zips them, and downloads to a local directory.

Args: code: Python code to execute on the Colab GPU runtime. output_dir: Local directory to save the artifacts zip and extracted files. accelerator: GPU type — "T4" (free-tier) or "L4" (premium). Default: "T4". timeout: Max execution time in seconds. Default: 300.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

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/pdwi2020/mcp-server-colab-exec'

If you have feedback or need assistance with the MCP directory API, please join our Discord server