Skip to main content
Glama
ChrisChoTW

databricks-mcp

by ChrisChoTW

list_workspace

Browse Databricks workspace directories to view files and folders. Specify a path to list contents for workspace navigation and organization.

Instructions

List Workspace directory contents

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathNo/

Implementation Reference

  • The list_workspace function is defined here, decorated with @mcp.tool, and implements the logic to list workspace directory contents using a workspace client.
    @mcp.tool
    def list_workspace(ctx: Context, path: str = "/") -> List[Dict[str, Any]]:
        """List Workspace directory contents"""
        w = get_workspace_client()
        return [obj.as_dict() for obj in w.workspace.list(path)]

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/ChrisChoTW/databricks-mcp'

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