Skip to content

[ONBOARD] Add Support for Microsoft.StorageSync Resource Provider to Azure MCP Server #1354

@ankushbindlish2

Description

@ankushbindlish2

Here’s the updated README.md draft with Intended Agent Scenarios added and clearly highlighted:
Spec Repo


Microsoft.StorageSync (Azure File Sync) – MCP CLI Reference

Overview

Azure File Sync extends on-premises file servers into Azure for hybrid storage, centralized management, and cloud tiering. This MCP integration provides full CLI coverage for automation and DevOps workflows, inspired by Az.StorageSync cmdlets.


Contacts


Intended Agent Scenarios

Agents and developers can use these commands to:

  • Provision hybrid storage: Create Storage Sync Service, sync groups, and endpoints for branch offices or distributed environments.
  • Enable Managed Identity (MI): Automate MI setup and RBAC propagation for secure access to Azure resources.
  • Perform health checks and troubleshooting: Run compatibility checks, export diagnostics, and resolve resource move or clone issues.
  • Manage tiering and recall: Configure tiering policies and recall tiered files for performance-sensitive workloads.
  • Automate onboarding workflows: Use CLI presets and templates in VS Code or GitHub Codespaces for quick deployment.
  • Support operational excellence: Execute evaluation and fixup commands during migrations or incident recovery.

Why This Matters

  • End-to-end automation: Manage services, sync groups, endpoints, identity, RBAC, recall, and diagnostics from one CLI.
  • Hybrid flexibility: Combine local performance with Azure scalability.
  • MI-first workflows: Enable Managed Identities and RBAC propagation easily.
  • Operational excellence: Built-in evaluation and troubleshooting commands.

Command Groups

All commands are under the namespace:

mcp storagesync <command>

1) Service Lifecycle

  • new-service – Create a Storage Sync Service.
  • get-service – List or get service details.
  • remove-service – Delete a service.
  • update-service – Update tags or settings.

2) Sync Groups

  • new-syncgroup – Create a sync group.
  • get-syncgroup – List sync groups.
  • remove-syncgroup – Delete a sync group.
  • update-syncgroup – Modify policies.

3) Cloud Endpoints

  • new-cloudendpoint – Attach an Azure file share.
  • get-cloudendpoint – Inspect cloud endpoints.
  • remove-cloudendpoint – Detach endpoint.
  • update-cloudendpoint – Update policies.

4) Server Registration & Identity

  • register-server – Register a server (supports identity assignment).
  • get-server – List registered servers.
  • unregister-server – Remove server registration.
  • set-server – Update identity settings.

5) Server Endpoints

  • new-serverendpoint – Create a server endpoint.
  • get-serverendpoint – Inspect server endpoints.
  • remove-serverendpoint – Delete endpoint.
  • set-serverendpoint – Update tiering and recall policies.

6) Managed Identities & RBAC

  • set-serviceidentity – Enable MI on service.
  • set-rbacpermissions – Grant Storage Account roles.
  • test-mireadiness – Validate MI prerequisites.

7) Evaluation & Diagnostics

  • invoke-compatibilitycheck – Run compatibility checks.
  • get-health – Summarize health status.
  • export-diagnostics – Package diagnostic artifacts.

8) Recall & Tiering

  • invoke-recall – Recall tiered files.
  • set-tieringpolicy – Configure tiering thresholds.

9) Migration & Resource Moves

  • start-movefixup – Fix resource move issues.
  • resolve-cloneregistration – Handle cloned server conflicts.

10) Agent & Platform

  • install-agent – Install agent via Arc extension.
  • update-agent – Update agent with dependencies.

Proposed MCP Integration

  • Ship all verbs under mcp storagesync.
  • Provide presets for MI enablement and RBAC propagation.
  • Offer VS Code/Codespaces templates for evaluation and bootstrap.
  • Include troubleshooting hooks for diagnostics and resource fixups.

Timeline

TBD


Metadata

Metadata

Assignees

Labels

Projects

Status

Untriaged

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions