colab-drive-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| COLAB_MCP_ROOT | Yes | Root directory for local notebook access. Must be an absolute path. | |
| COLAB_MCP_DRIVE_ACCESS | No | Drive access mode: 'file' (default, narrower scope) or 'full' (broader scope). | file |
| COLAB_MCP_GOOGLE_TOKEN | No | Path to Google OAuth token JSON file. Overrides default ~/.config/colab-mcp/token.json. | |
| COLAB_MCP_GOOGLE_CREDENTIALS | No | Path to Google OAuth credentials JSON file. Overrides default ~/.config/colab-mcp/credentials.json. |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_local_notebooks | List local .ipynb notebooks under COLAB_MCP_ROOT. |
| get_local_notebook | Read a local notebook summary and its cells. |
| create_local_notebook | Create a new Colab-compatible local notebook. |
| add_local_cell | Add a cell to a local notebook. |
| update_local_cell | Replace a cell's source and optionally its type. |
| delete_local_cell | Delete a cell from a local notebook. |
| search_local_cells | Search cell sources in a local notebook. |
| clear_local_outputs | Clear outputs and execution counts from a local notebook. |
| get_google_drive_status | Check Google Drive setup and authorization without opening a browser. |
| authorize_google_drive | Open an explicit Google OAuth flow and save the resulting local token. |
| list_drive_notebooks | List synchronized notebook files visible through the configured Drive access. |
| pull_drive_notebook | Synchronize a Drive notebook file into COLAB_MCP_ROOT without executing it. |
| push_local_notebook | Synchronize a local notebook file to Drive without executing it. |
| get_notebook_sync_status | Compare Drive and local notebook state; cannot detect Colab runtime activity. |
| copy_drive_notebook | Copy a notebook file in Google Drive without executing it. |
| get_colab_url | Return a Colab URL for a Drive notebook; this does not open a browser. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
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/YummyTastyCode/colab-drive-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server