Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>StateCLI - AI Agent Memory & UndoNew to Visual Studio Code? Get it now.
StateCLI - AI Agent Memory & Undo

StateCLI - AI Agent Memory & Undo

StateCLI

|
5 installs
| (1) | Free
Memory, replay, and undo capability for AI coding agents. One-click MCP server setup.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

StateCLI VS Code Extension

One-click setup for StateCLI MCP Server - gives AI coding agents memory, replay, and undo capabilities.

Features

  • 🚀 Auto-configures MCP server on install
  • 🔧 27 tools for AI agents
  • ⏪ Undo/Replay capabilities
  • 📊 Dependency tracking
  • 🧪 Test awareness

Installation

  1. Install from VS Code Marketplace: ext install statecli.statecli
  2. Reload VS Code
  3. StateCLI is automatically configured!

Commands

  • StateCLI: Setup MCP Server - Configure MCP (auto-runs on install)
  • StateCLI: Show Available Tools - View all 27 tools
  • StateCLI: Create Checkpoint - Quick checkpoint helper
  • StateCLI: Replay Changes - Quick replay helper
  • StateCLI: Undo Last Change - Quick undo helper

Supported AI Tools

  • ✅ Windsurf / Cascade
  • ✅ Cursor
  • ✅ Continue
  • ✅ Claude Desktop

What AI Agents Can Do

Once installed, AI agents can:

// Before risky changes
statecli_checkpoint({ entity: "file:src/index.ts", name: "before-refactor" })

// Track edits
statecli_track_file({ file_path: "src/index.ts", before_content: "...", after_content: "..." })

// If something breaks
statecli_replay({ entity: "file:src/index.ts" })  // See what happened
statecli_undo({ entity: "file:src/index.ts" })    // Roll it back

// Smart analysis
statecli_analyze_dependencies({ file: "src/utils.ts" })  // Before editing core files
statecli_predict_impact({ file: "src/utils.ts", change_type: "modify" })

Links

  • GitHub
  • NPM
  • Documentation
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft