Skip to content
Projects

About

Open-source engine & MCP server for AI to read, write, and generate native Axure RP 11 prototype (.rp) files. Zero dependencies. Independent project, not affiliated with Axure.

AI & Machine Learning

How these counts are measured

57 stars5 Forks +2 in 24h

Measured star growth

in 24h
+2
in 7 days
+8
in 15 days
+17
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.en.md

Original
zee-rp · Make room for ideas. AI-native canvas. Editable Axure output.

Give AI room to design.
Bring the work into Axure.

Author in RP/1. Explore with your agent. Refine together. Keep an editable .rp.

Get started · Studio · RP/1 · Web Workbench · 简体中文

MIT Checks Web Workbench


QIYU: real generated discovery, species details and journal screens from a nine-page native prototype

QIYU Discover a bird. Get to know it. Keep the encounter.

Nine-page native prototype · Separate text, buttons and inputs · Demo identification and statistics · Case notes and credits


01 Make room for refinement.

Studio is a free canvas for people and agents. Let AI build the first draft, then select, edit text and adjust layouts directly. Hand a small part back to your agent and explore another direction.

The real Studio editor: a second QIYU design, independent layers, a selected text object and editable geometry

AI drafts. Author through RP/1 or commands; query layers and make targeted changes.
You refine. Double-click text, Shift-drag a marquee, hold Option / Alt to measure, undo and redo.
Verify together. Inspect real screenshots and exercise interactions before delivery.

Studio workflow ↗ AI authoring


02 Give design intent a source file.

RP/1 keeps pages, layout, components, variables and interactions together. Agents can target specific changes while the design keeps its structure, revision identity and a place to continue.

rp/1 target=9 name="Next encounter" domain=mobile theme=mobile-hifi

page #home name="Discover" device=iphone-17-pro
  phone-shell #shell title="Meet your feathered neighbors." gap=16
    card #bird [fillxhug] title="A kingfisher by the water" body="Start your field notes with a flash of blue." actionText="Record this encounter" goto="notes"

page #notes name="Journal" device=iphone-17-pro
  phone-shell #shell title="My first field note" gap=16
    input #note [fillx44] value="I spotted it by the water today."
    button #back [fillx44] "Back to discovery" goto="home"

Grow a page into a complete flow, revise with revise_prototype, and merge supported native edits back into source.

RP/1 reference ↗ Examples ↗ Native roundtrip


03 Keep the design in your hands.

Generate a native .rp and continue editing supported text, controls and layouts in Axure. Deliver pages, variables, panels and navigation together, alongside source, previews and verification reports.

Continue in What stays with you
Studio A shared design document, transactions, atomic fix_plan(apply:true) healing and undo history
Axure Open native .rp, decompile existing .rp into Studio, or export back to .rp1 via studio_export(format:"rp1")
Binary Toolchain diff-rp (GUID semantic diff), repair-rp (corrupt salvage), downgrade-rp (RP11→RP9), build-library (.rplib), Live Web Workbench (offline standalone HTML), binary format spec, and native-check --compile
The browser Drag/swipe/timer previews; run cross-platform Chrome verification without Axure via verify_prototype(engine:"studio-html")
HTML / URL / Image Pass local .html, http(s):// URLs or UI screenshots to studio_open_project / generate_prototype / generate_from_image

Native export and sync ↗ HTML / URL import ↗ Code export ↗ Blind test report ↗ Gaps ledger ↗ 40-second workflow animation


Get started

Install Node.js 18+ and Python 3.10+. Blank projects and basic RP/1 layouts can be generated offline.

One-command install (straight from GitHub)

npx -y github:LilZeeCN/zee-rp doctor                 # no clone needed: checks Node / Python / Chrome / template
npm i -g github:LilZeeCN/zee-rp                      # or install the CLI, then run zee-rp
zee-rp doctor                                        # check Node / Python / Chrome / template readiness

Install the Python dependencies once: python3 -m pip install pillow numpy jsonschema (screenshot reconstruction also needs SciPy). Pin a version with github:LilZeeCN/zee-rp#v0.4.0.

macOS

git clone https://github.com/LilZeeCN/zee-rp.git
cd zee-rp
python3 -m venv .venv
source .venv/bin/activate
python -m pip install -r requirements.txt
npm ci
npm run doctor   # 3-second check for Node, Python, Chrome and RP9 template readiness

Windows

Native .rp reading, writing and generation run on Windows (Node 18+ / Python 3.10+).

Use Node.js 24 and Python 3.12 to match desktop CI. Install from PowerShell.

git clone https://github.com/LilZeeCN/zee-rp.git
cd zee-rp
py -3.12 -m venv .venv
$env:ZEE_PYTHON = (Resolve-Path .\.venv\Scripts\python.exe).Path
& $env:ZEE_PYTHON -m pip install pillow numpy jsonschema
npm.cmd ci
  • The generator can synthesize blank RP9 and RP11 projects. Set AXURE_BLANK_TEMPLATE_RP9 or AXURE_BLANK_TEMPLATE_RP11 to use your own template.
  • Axure is auto-detected in common install directories and drive-root portable installs (C:\AxureRP9.exe, D:\AxureRP9.exe). Override with AXURE_APP_RP9; point at DefaultSettings with AXURE_INSTALL_ROOT_RP9 (install root) or AXURE_DEFAULT_SETTINGS_RP9 (direct path).
  • Multi-path environment variables use ; on Windows (AXURE_PROTECTED_PATHS, AXURE_WRITE_ROOT).
  • RP/1 uses the native backend by default. Pass --backend native for older specs with build-rp or generate. The GUI backend, macOS menu automation and tools/rp9_place.py are macOS-only. axvg paste writes the payload to the Windows clipboard. Press Ctrl+V in Axure.
  • Screenshot reconstruction needs SciPy. Windows supports shape detection and requires you to supply text separately. OCR uses Apple Vision on macOS.
  • Windows and macOS CI cover RP/1 file parsing, compilation and output paths. Run npm.cmd run test:mcp-generate with your local Axure template to verify full MCP generation on Windows. test:backend also needs a compatible Training/RP9 Tour.rp. When the built-in tour has no Discount Panel, generation uses the first unnamed panel as a blank shell. To copy existing state content when several unnamed panels are available, specify a named panel using AXURE_PANEL_TEMPLATE and AXURE_PANEL_TEMPLATE_NAME.

Generate your first RP9 prototype

Run the generator directly. It builds blank projects and basic RP/1 layouts offline. Builds that clone Axure library controls or panel fixtures still need those local assets.

Synthesized projects include Heading 1–6, Paragraph, Form Hint, and Form Disabled in the Axure widget style list. Set AXURE_BLANK_TEMPLATE_RP9 or AXURE_BLANK_TEMPLATE_RP11 to inherit another project's styles or its Word specification configuration.

node scripts/proto.mjs generate --spec examples/authoring/mobile-cards.rp1 --out-dir output/mobile-cards --out-rp output/mobile-cards.rp --backend native

Open output/mobile-cards.rp in Axure RP9 to edit it.

Discover and reuse an Axure library

zee-rp index-library /path/to/components.rplib
zee-rp index-library /path/to/components.rplib --folder 'Forms' --limit 10 --json
zee-rp clone-library-widget /path/to/components.rplib /path/to/project.rp /path/to/result.rp 'Button' 'Page 1' 'Primary action'

The default index is a folder and count summary capped at 4 KB. Use --folder to select a folder path, --limit to cap the number of listed items, and --json to read item record numbers, widget IDs, classes, dimensions, and current text. Pass --json on its own for a full dump. Select a duplicate item with '#<record>' or pick a widget within an item with --source-widget 'name' or --source-widget '#<id>'. Use clone-library-page-content for complete groups and dynamic panel states. Agents can call both commands through rp_command.

Connect your MCP client · Expand configuration

Without cloning, let npx fetch the package from GitHub (zee-rp mcp and zee-rp-mcp are equivalent):

{
  "mcpServers": {
    "zee-rp": {
      "command": "npx",
      "args": ["-y", "github:LilZeeCN/zee-rp", "mcp"]
    }
  }
}

When running from source, replace the absolute paths with your installation and Python environment:

{
  "mcpServers": {
    "zee-rp": {
      "command": "node",
      "args": ["/absolute/path/zee-rp/bin/mcp.mjs"],
      "env": {
        "ZEE_PYTHON": "/absolute/path/zee-rp/.venv/bin/python"
      }
    }
  }
}

The example uses macOS paths. On Windows, use paths such as C:/work/zee-rp/bin/mcp.mjs, C:/work/zee-rp/.venv/Scripts/python.exe in the corresponding fields. Use an absolute Node path in command if needed. Reconnect MCP after updates.

Call studio_open_project and open the returned url:

{ "projectDir": "/absolute/path/my-first-prototype" }

Then give your agent a brief:

Design a birdwatching app with discovery, species details and a journal. Start in the canvas, verify navigation and saved observations, then export an editable .rp.

Agent entry points and scope

Agents start with studio_describe({"topic":"workflow"}). Use sourcePath in studio_open_project to import RP/1, and generate_prototype for full native generation. Local authoring and full compilation have separately documented scopes.

Native generation targets RP9; file tools handle RP9 / RP11 by version. Host evidence mainly covers macOS + Axure RP9. Some effects use embedded raster assets; fonts and previews depend on the host. Fractional-zoom sharpness and very large single boards remain bounded.

Structure, browser behavior and Axure save/reopen are separate checks. Capabilities · Acceptance layers · Troubleshooting



Agent Skill / Contributing / Changelog / MIT License

Independently built by LilZee · Unaffiliated with Axure · Third-party photography retains its own credits and licenses

Explore related projects

Loading…