Skip to content

Add individual snapshot create/delete/restore tools #76

@ebarron

Description

@ebarron

Summary

Add MCP tools for creating, deleting, and restoring individual snapshots on volumes.

Background

The ONTAP MCP server currently supports snapshot policy management (create/delete policies) but lacks tools for working with individual snapshots on a per-volume basis. Users need to be able to create on-demand snapshots, delete old snapshots, and restore volumes from snapshots.

Proposed Tools

  • create_snapshot — Create a snapshot on a specific volume
  • delete_snapshot — Delete a snapshot from a volume
  • restore_snapshot — Restore a volume from a snapshot

ONTAP REST API Endpoints

  • POST /api/storage/volumes/{uuid}/snapshots
  • DELETE /api/storage/volumes/{uuid}/snapshots/{uuid}
  • PATCH /api/storage/volumes/{uuid}/snapshots/{uuid} (for restore)

Priority

Medium — Snapshot policies exist but per-volume snapshot operations are needed for data protection workflows.

Related

  • Jira: SPSPM-2247

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions