Skip to Content

Azure Files

Browse files and directories stored in Azure Files shares, read required files, or import them into file storage.

Key Features

  • List file shares in an Azure Storage account
  • Browse directories and files in a share
  • View file or directory metadata
  • Read text file content
  • Download PDF, Office documents, and binary files
  • Search files by part of the file name or path

Basic Information

Authentication Method

Microsoft OAuth authentication is used.

Usage Scope

This MCP accesses Azure Files cloud storage. It is not used to browse or read the user’s local file system.

Supported MCP Tools

list_shares

Lists Azure Files shares accessible from the configured Azure Storage account. Use this first when the user has not specified a share name.

list_directory

Lists files and subdirectories under the specified share and directory path. Results may include name, path, type, and size information.

get_file_metadata

Retrieves metadata for a file or directory. Use this to check size and content type before reading or downloading file content.

read_file

Reads text file content stored in Azure Files directly in the chat response. Use download_file for binary files or large files.

download_file

Downloads a file from Azure Files into file storage and returns an aip-temp:// or aip-drive:// URI. Use this for PDF, Office documents, images, and binary files that are difficult to display directly in chat.

search_files

Searches Azure Files by strings included in file names or paths. Full-text content search is not supported. If the search range is too broad, narrow the path or search term and run it again.

Usage Examples

  • “Find the 2026 sales report in the reports share in Azure Files”
  • “Show me what files are in the /monthly folder of the finance share”
  • “Read the contents of summary.txt in Azure Files”
  • “Import the contract PDF as a file and summarize it”

Notes

  • A Microsoft account with access to the Azure Storage account and Azure Files share is required.
  • read_file is suitable for text files. For PDF, Office documents, images, and large files, download the file first and process it with another tool or Skill.
  • search_files searches by file name and path, not by file body content.
Last updated on