Demo scripts and skills files for using Claude Code as a Database SRE agent with the Pure Storage Fusion MCP server.
| File | Description |
|---|---|
CLAUDE.md |
Auto-loaded by Claude Code at session start: bootstraps the agent and points to database-sre-agent.md |
database-sre-agent.md |
Database SRE skills file: encodes SLA tiers, compliance policy, fleet topology, and operational workflows |
demo.md |
Step-by-step demo script: prompts with explanations for each workflow |
.claude/settings.json |
Claude Code project permissions: pre-approves the Fusion MCP tools needed for the demo |
Pure Storage Fusion MCP server configured and running with API tokens for each array in your fleet:
~/Library/Application Support/mcp-servers/fusion-mcp/auth-config.json
Each entry in auth-config.json needs a valid API token for the target array.
Claude Code installed and the Fusion MCP server registered in your MCP config.
- Open this folder in VS Code with the Claude Code extension active.
- The
.claude/settings.jsonfile pre-approves all required MCP tool calls so you won't be prompted for each one. - Work through the prompts in
demo.mdin order. Each prompt builds on the previous one.
database-sre-agent.md is what turns Claude Code from a generic assistant into a Database SRE agent. CLAUDE.md is read automatically at session start and bootstraps the agent by pointing Claude Code to database-sre-agent.md. It encodes:
- Fleet topology: which arrays are in which availability zones, site assignments, HA placement rules for SQL Server pairs
- Performance SLA tiers: Tier 1 (OLTP) < 0.5ms, Tier 2 (general DB) < 2ms, Tier 3 (batch) < 10ms
- Compliance policy: Protection Group requirements, snapshot schedules, retention minimums, encryption requirements, volume tagging schema
- Operational workflows: Real-Time Operational Visibility, Compliance & Audit, Blast Radius Analysis, Snapshot & Recovery, DR Readiness Check
Once the session is open, just ask for a workflow directly:
Produce the "Compliance & Audit" report.
- Fleet Discovery: array inventory with Purity versions across the full fleet
- SQL Server Discovery: pull known instances from the MSSQL VS Code extension
- Volume Discovery: find SQL Server vVol volumes using array-side REST filtering
- Real-Time Operational Visibility: health, alerts, capacity, and performance against SLA thresholds
- Compliance & Audit: Protection Group coverage, tagging, replication topology, HA placement, configuration drift
- Application-Consistent Snapshot: trigger a database snapshot via REST API, confirm replication