Undo for AI coding agents, even after rm -rf. One undo history for Claude Code, Codex, Cursor, Gemini CLI, OpenCode, and Antigravity CLI.
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
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"
]
}
}
}