Skip to main content
Glama

Code MCP Server

by block

rollback_session

Use this tool to revert all changes made in the current AI session, restoring the previous state. Confirmation is required, and unstaged changes can optionally be preserved.

Instructions

Rollback all changes made in the current AI session

Input Schema

NameRequiredDescriptionDefault
confirmYesConfirm rollback (required)
preserveUnstagedNoKeep unstaged changes

Input Schema (JSON Schema)

{ "properties": { "confirm": { "description": "Confirm rollback (required)", "type": "boolean" }, "preserveUnstaged": { "description": "Keep unstaged changes", "type": "boolean" } }, "required": [ "confirm" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/block/vscode-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server