Session Vault Viewer
Start or stop the web-based conversation viewer using the start_viewer MCP tool.
Argument Parsing
Parse $ARGUMENTS for:
- •action (
$0, optional):startorstop— defaults tostart - •--port: port number — defaults to
3777
Examples
- •
/session-vault:viewer— start viewer on default port 3777 - •
/session-vault:viewer start— explicitly start - •
/session-vault:viewer stop— stop the running viewer - •
/session-vault:viewer start --port 8080— start on custom port
Steps
- •
Parse arguments for action and port.
- •
Call
start_viewerwith:- •
action: from$0, or"start"if not provided - •
port: from--portflag, or3777if not provided
- •
- •
Report the result to the user:
- •If started: show the URL (e.g.
http://localhost:3777) and PID - •If stopped: confirm the viewer has been stopped
- •If already running: inform the user and show the existing URL
- •If started: show the URL (e.g.