Skip to content

[ONBOARD] Add Support for Microsoft.FileShares Resource Provider to Azure MCP Server #1355

@ankushbindlish2

Description

@ankushbindlish2

Here’s the updated Microsoft.FileShares MCP CLI Reference with the PM contact changed:
Spec info


Microsoft.FileShares – MCP CLI Reference

Overview

Microsoft.FileShares is the Azure Resource Provider for managing Azure File Shares and related operations such as snapshots, limits, and provisioning recommendations. This MCP integration exposes CLI commands aligned with the REST API operations defined in the Swagger specification.


Contacts


Intended Agent Scenarios

Agents and developers can use these commands to:

  • Provision and manage file shares: Create, update, delete, and list file shares at subscription or resource group level.
  • Validate names and limits: Check name availability and retrieve provisioning limits for compliance.
  • Optimize performance: Get provisioning recommendations for storage, IOPS, and throughput.
  • Monitor usage: Retrieve usage data for active file shares.
  • Manage snapshots: Create, update, delete, and list snapshots for point-in-time recovery.
  • Enable secure access: Configure redundancy, protocol, and public network access settings.

Why This Matters

  • API-aligned automation: Commands map directly to ARM operations for consistency.
  • Hybrid-ready: Integrates with Azure File Sync for on-premises scenarios.
  • Performance optimization: Built-in recommendations for sizing and throughput.
  • Security and compliance: Supports private endpoints, redundancy, and access controls.

Command Groups

All commands are under the namespace:

mcp fileshares <command>

1) Provider Operations

  • list-operations – List all operations supported by Microsoft.FileShares.

2) File Share Lifecycle

  • list-by-subscription – List file shares in a subscription.
  • list-by-resourcegroup – List file shares in a resource group.
  • get-fileshare – Get details of a specific file share.
  • create-or-update-fileshare – Create or update a file share resource.
  • update-fileshare – Patch properties of an existing file share.
  • delete-fileshare – Delete a file share resource.

3) Name Availability

  • check-name-availability – Check if a file share name is available in a location.

4) Informational Operations

  • get-limits – Retrieve file share limits for a location.
  • get-provisioning-recommendation – Get recommended provisioning parameters.
  • get-usage-data – Retrieve usage data for active file shares.

5) File Share Snapshots

  • list-snapshots – List snapshots for a file share.
  • get-snapshot – Get details of a specific snapshot.
  • create-or-update-snapshot – Create or update a snapshot.
  • update-snapshot – Patch snapshot properties.
  • delete-snapshot – Delete a snapshot.

Proposed MCP Integration

  • Expose all above operations under mcp fileshares.
  • Provide templates for:
    • Provisioning workflow (create file share + set redundancy + enable protocol).
    • Snapshot lifecycle (create, list, restore).
    • Performance optimization (get provisioning recommendation).
  • Include diagnostic hooks for usage and limits.

Timeline

TBD


Metadata

Metadata

Assignees

Labels

Projects

Status

Not Started

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions