Skip to main content
Glama

Modal MCP Server

by smehmood

list_modal_volume_contents

Retrieve files and directories from a specified path within a Modal volume. Input the volume name and path to access structured JSON output of volume contents.

Instructions

List files and directories in a Modal volume. Args: volume_name: Name of the Modal volume to list contents from. path: Path within the volume to list contents from. Defaults to root ("/"). Returns: A dictionary containing the parsed JSON output of the volume contents.

Input Schema

NameRequiredDescriptionDefault
pathNo/
volume_nameYes

Input Schema (JSON Schema)

{ "properties": { "path": { "default": "/", "title": "Path", "type": "string" }, "volume_name": { "title": "Volume Name", "type": "string" } }, "required": [ "volume_name" ], "title": "list_modal_volume_contentsArguments", "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