Skip to content

Installation

Requirements

Dependency Version Purpose
Node.js 18+ CLI, MCP server, Studio, tests
Python 3.10+ Native compilation and image processing
Axure RP 9 or 11 Native .rp generation, save/reopen, automatic preview (optional)

Axure is only needed for native output. Studio, browser previews and HTML/CSS/JS export run without it.

Install from source

macOS / Linux:

git clone https://github.com/karlmoriaty/AxureRP-return-rp.git
cd AxureRP-return-rp
python3 -m venv .venv
source .venv/bin/activate
python -m pip install -r requirements.txt
npm ci

Windows PowerShell:

git clone https://github.com/karlmoriaty/AxureRP-return-rp.git
cd AxureRP-return-rp
python -m venv .venv
.\.venv\Scripts\Activate.ps1
python -m pip install -r requirements.txt
npm ci

Install from a release archive

Download return_rp-<version>-share.zip from Releases, extract it, then run:

npm ci --ignore-scripts

The share package omits tests and private assets. Native generation still needs local Axure and a blank project you saved yourself.

CLI or MCP only, without cloning

npx -y -p return_rp return_rp --help
npx -y -p return_rp return_rp-mcp

Native generation and image processing still need the Python dependencies above.

Prepare a blank template

Native generation assembles into a single-page blank project saved by you in the matching Axure version. Point the environment variables at your files:

Variable Value
AXURE_BLANK_TEMPLATE_RP9 Absolute path to your RP 9 blank .rp
AXURE_BLANK_TEMPLATE_RP11 Absolute path to your RP 11 blank .rp

Only set the one you need. Templates are never bundled with the project.

Verify the installation

return_rp --help
node -e "console.log(process.version)"
python -c "import PIL; print(PIL.__version__)"

If MCP connects but the tool list is empty, the optional @modelcontextprotocol/sdk dependency is missing: run npm ci --ignore-scripts in the project directory and reconnect the client.

Next