preview_cleanup
Preview sessions to be cleaned
How to use it
Project documentation lists preview_cleanup for the Claude Code Sessions MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), then check which tools your installed version makes available. Tool availability can depend on configuration and credentials. A server handshake does not verify this tool’s behavior. See the full listing for setup details.
Install Claude Code Sessions
claude mcp add claude-sessions -- npx claude-sessions-mcpOther tools in Claude Code Sessions (10)
Clear empty sessions and invalid messages
Delete message and repair UUID chain
Delete session (moves to backup folder)
Get files changed in a session
List Claude Code projects
List sessions in a project
Rename a session
Split session at a specific message
Start Web UI
Stop Web UI