You can achieve this workflow by integrating file upload/download with Azure Blob Storage and your MCP server. Here’s a recommended approach:
1. User Uploads a File
In Copilot Studio, prompt the user for a file upload.
When the user uploads a file, use a Power Automate flow or a custom connector to:
Receive the file from the user.
Upload the file to Azure Blob Storage (using the Azure Blob Storage connector). 2. Store and Reference the File
After uploading, obtain the Blob Storage URL or a secure access token (SAS URL) for the file.
Store this reference (URL or token) in a way your MCP server can access (e.g., pass it as a parameter to your MCP tool). 3. MCP Tools Access the File
When your MCP tool is invoked, it receives the file URL or SAS token.
The MCP server uses this URL to download or process the file as needed. 4. Downloading Files
When the user needs to download a file (e.g., after MCP processing):
MCP server uploads the result to Azure Blob Storage.
Generate a SAS URL for secure download.
Return the download link to the user via Copilot Studio.
Sample Flow
User uploads file → Copilot Studio → Power Automate → Azure Blob Storage
Blob Storage URL/SAS token → MCP server (via Copilot Studio tool parameter)
MCP server processes file → uploads result to Blob Storage
MCP server returns download link → Copilot Studio → User
1 people found this reply helpful.
Was this reply helpful?YesNo
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.