Undo for AI coding agents, even after rm -rf. One undo history for Claude Code, Codex, Cursor, Gemini CLI, OpenCode, and Antigravity CLI.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add turnback -- npx -y turnback~/.codex/config.toml
[mcp_servers.turnback]
command = "npx"
args = ["-y", "turnback"]
# codex mcp add turnback -- npx -y turnback~/.cursor/mcp.json
{
"mcpServers": {
"turnback": {
"command": "npx",
"args": [
"-y",
"turnback"
]
}
}
}.vscode/mcp.json
{
"servers": {
"turnback": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"turnback"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"turnback": {
"command": "npx",
"args": [
"-y",
"turnback"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"turnback": {
"command": "npx",
"args": [
"-y",
"turnback"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"turnback": {
"command": "npx",
"args": [
"-y",
"turnback"
]
}
}
}