Rollback and safety for AI coding agents and vibe coders: flag risky changes and restore project files, including uncommitted work, to their pre-session state.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add viberevert -- npx -y viberevert~/.codex/config.toml
[mcp_servers.viberevert]
command = "npx"
args = ["-y", "viberevert"]
# codex mcp add viberevert -- npx -y viberevert~/.cursor/mcp.json
{
"mcpServers": {
"viberevert": {
"command": "npx",
"args": [
"-y",
"viberevert"
]
}
}
}.vscode/mcp.json
{
"servers": {
"viberevert": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"viberevert"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"viberevert": {
"command": "npx",
"args": [
"-y",
"viberevert"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"viberevert": {
"command": "npx",
"args": [
"-y",
"viberevert"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"viberevert": {
"command": "npx",
"args": [
"-y",
"viberevert"
]
}
}
}