Loading...
pip install -e ".[dev]"{
"mcpServers": {
"adls2": {
"command": "adls2-mcp-server",
"env": {
"LOG_LEVEL": "DEBUG",
"UPLOAD_ROOT": "/path/to/store/uploads",
"DOWNLOAD_ROOT": "/path/to/store/downloads",
"AZURE_STORAGE_ACCOUNT_NAME": "your-azure-adls2-storage-account-name",
"READ_ONLY_MODE": "false"
}
}
}
}list_filesystemsLists all filesystems in the Azure Data Lake Storage Gen2 account.
Read-only operation that does not modify any data.
create_filesystemCreates a new filesystem (container) in the ADLS2 storage account.
Creates a new filesystem, which can impact storage organization.
delete_filesystemDeletes an existing filesystem from the ADLS2 storage account.
Deletes an entire filesystem and all its contents.
upload_fileUploads a file to a specified path in the ADLS2 storage account.
Writes data to the storage account, potentially overwriting existing files.
download_fileDownloads a file from the ADLS2 storage account to a local path.
Read-only operation that retrieves data from the storage account.
file_existsChecks if a file exists at a given path in the ADLS2 storage account.
Read-only operation that does not modify any data.
rename_fileRenames or moves a file within the ADLS2 storage account.
Modifies the file structure and can potentially lead to data loss if not handled carefully.
get_file_propertiesRetrieves properties of a file in the ADLS2 storage account.
Read-only operation that does not modify any data.
get_file_metadataRetrieves metadata associated with a file in the ADLS2 storage account.
Read-only operation that does not modify any data.
set_file_metadataSets metadata for a file in the ADLS2 storage account.
Modifies file metadata, which can affect data management and organization.
set_file_metadata_jsonSets multiple metadata key-value pairs for a file using JSON format.
Modifies file metadata, which can affect data management and organization.
create_directoryCreates a new directory in the ADLS2 storage account.
Creates a new directory, which can impact storage organization.
delete_directoryDeletes a directory from the ADLS2 storage account.
Deletes a directory and all its contents.
rename_directoryRenames or moves a directory within the ADLS2 storage account.
Modifies the directory structure and can potentially lead to data loss if not handled carefully.
directory_existsChecks if a directory exists at a given path in the ADLS2 storage account.
Read-only operation that does not modify any data.
directory_get_pathsGets all paths under the specified directory in the ADLS2 storage account.
Read-only operation that does not modify any data.
The ADLS2 MCP server can be safe if operated in read-only mode with properly configured Azure ADLS2 permissions. Risks arise when write operations are enabled, especially if the storage account key is exposed or permissions are overly permissive. Careful configuration and monitoring are essential.