Reexpress MCP Server Output HTML

May 2, 2026 ยท View on GitHub

Enable

To enable the creation of a static HTML page with each call to the main Reexpress tool, set the following environment variable to '1':

export REEXPRESS_MCP_SAVE_OUTPUT='1'

This should appear in the llm_api_setup.sh file as described in INSTALL.md.

Each time the main Reexpress tool is called, this will save the file ${REEXPRESS_MCP_MODEL_DIR}/visualize/current_reexpression.html.

Tip

The file ${REEXPRESS_MCP_MODEL_DIR}/visualize/current_reexpression.html gets overwritten with each tool call. Add a timestamp to html_file_path in MCPServerStateController().save_html_visualization() if you want to save all calls.

Examples

See the description of the reexpress() tool in HOW_TO_USE.md, the system demonstration paper, and the Model Card for details of the information contained in the HTML. We include additional examples below.

Examples: