Skip to main content
Glama

Modal MCP Server

by smehmood

get_modal_volume_file

Download files from a Modal volume by specifying the volume name, remote path, and local destination. Overwrite existing files if needed. Returns the download operation result.

Instructions

Download files from a Modal volume. Args: volume_name: Name of the Modal volume to download from. remote_path: Path to the file or directory in the volume to download. local_destination: Local path to save the downloaded file(s). Defaults to current directory. Use "-" to write file contents to stdout. force: If True, overwrite existing files. Defaults to False. Returns: A dictionary containing the result of the download operation. Raises: Exception: If the download operation fails for any reason.

Input Schema

NameRequiredDescriptionDefault
forceNo
local_destinationNo.
remote_pathYes
volume_nameYes

Input Schema (JSON Schema)

{ "properties": { "force": { "default": false, "title": "Force", "type": "boolean" }, "local_destination": { "default": ".", "title": "Local Destination", "type": "string" }, "remote_path": { "title": "Remote Path", "type": "string" }, "volume_name": { "title": "Volume Name", "type": "string" } }, "required": [ "volume_name", "remote_path" ], "title": "get_modal_volume_fileArguments", "type": "object" }

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/smehmood/modal-mcp-server'

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