Prototype · Preview: every server in the official registry, synced every 30 minutes. Sign in with Google to write reviews.Prototype · updated every 30 min
PopNx MCPMCP servers for people who use AI · explained in plain words Sign in

return_rp

by karlmoriatyversion 1.4.5i★ 8iRuns on your computerRepository ↗
Registry nameio.github.karlmoriaty/return_rp

How to install

What it does

Axure RP 9/11 toolkit and MCP server: read, edit, and generate native .rp projects.

  • Connects Runs on your computer
  • Account or key No key needed
  • Category Other

Why it ranks here

Lists are ordered by a usage score (out of 100) built from these parts

Popularity11/80GitHub stars or weekly downloads: the larger counts 60, the smaller 20
Freshness12/12Full marks for a release or code change within 30 days
Still answering0/8The cloud endpoint answered at the last check
Usage score23/100

Quality: Passed 3/3 basic checks (shown, not used for ordering) · Momentum: No data yet (Used only on the Trending tab)

Install

Pick the AI app you use, then copy the settings.

Let your AI install it with one sentence

Please install return_rp. Follow https://mcp.popnx.com/i/karlmoriaty-return-rp.md, show me the commands and wait for my OK before running them.

Paste it into an AI that can work on your computer (such as Claude Code or Cursor). It reads our steps, shows you the commands and waits for your OK. No key, no sign-up. · See the full text your AI reads

Passed 3/3 checks · Runs on your computer · ✓ Commands checked Nov 17, 2026

First: which AI do you use?

Pick your app and the steps appear below.

Works with Claude, with some setup first

Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone

Let AI install it

Copy this message into a Claude chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server return_rp for Claude on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "return-rp": { "command": "npx", "args": [ "-y", "return_rp" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the return_rp tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Open the Claude desktop app’s settings file

    SettingsDeveloperEdit Config

  3. Paste these settings and save the file

    {
      "mcpServers": {
        "return-rp": {
          "command": "npx",
          "args": [
            "-y",
            "return_rp"
          ]
        }
      }
    }
  4. Quit Claude and open it again

  5. Try it

    Use return_rp and tell me what you can do for me, then show me one thing

    ✓ If Claude says it is using return_rp or shows a return_rp tool in the answer, you are connected

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

ChatGPT cannot connect return_rp yet

return_rp runs on your computer, but ChatGPT can only connect servers that run on the web

What you can do instead

A · Use an app that can connect return_rp

  • Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
  • Install Node.js on your computer first (one time)
  • Install Node.js on your computer first (one time)
  • Install Node.js on your computer first (one time)

B · Others in Other that work with ChatGPT

Picked from the most used in the same category, only ones that connect by address with no key

Works with Claude Code, with some setup first

Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a Claude Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server return_rp for Claude Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): claude mcp add --scope user return-rp -- npx -y return_rp 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the return_rp tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Open Terminal

    Mac: press Command+Space and type Terminal · Windows: open PowerShell

  3. Paste this command and press Enter

    claude mcp add --scope user return-rp -- npx -y return_rp
  4. Type /mcp in Claude Code

    You should see return_rp listed as connected

  5. Try it

    Use return_rp and tell me what you can do for me, then show me one thing

    ✓ If Claude Code says it is using return_rp or shows a return_rp tool in the answer, you are connected

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with Cursor, with some setup first

Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a Cursor chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server return_rp for Cursor on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "return-rp": { "command": "npx", "args": [ "-y", "return_rp" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the return_rp tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Click this button to open Cursor

    Open in Cursor

    Cursor asks you to confirm; click Install

  3. Open the AI chat in Cursor in Agent mode

  4. Try it

    Use return_rp and tell me what you can do for me, then show me one thing

    ✓ If Cursor says it is using return_rp or shows a return_rp tool in the answer, you are connected

Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with VS Code, with some setup first

Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a VS Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server return_rp for VS Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "servers": { "return-rp": { "type": "stdio", "command": "npx", "args": [ "-y", "return_rp" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the return_rp tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Click this button to open VS Code

    Open in VS Code

    VS Code asks you to confirm; click Install

  3. Open the AI chat in VS Code in Agent mode

  4. Try it

    Use return_rp and tell me what you can do for me, then show me one thing

    ✓ If VS Code says it is using return_rp or shows a return_rp tool in the answer, you are connected

Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Other apps that use MCP, such as Windsurf, Zed or Gemini CLI, each add servers differently. See how in the app list.

See every app that uses MCP →

JSON settings are under “For developers” below

Stuck? Ask people who use return_rp💬 Discussion →
For developers: Terminal commands and JSON settings

Installed on your computer

Claude Code

claude mcp add --scope user return-rp -- npx -y return_rp

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "return-rp": {
      "command": "npx",
      "args": [
        "-y",
        "return_rp"
      ]
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "return-rp": {
      "command": "npx",
      "args": [
        "-y",
        "return_rp"
      ]
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "return-rp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "return_rp"
      ]
    }
  }
}

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

At a glance

Downloads per weeki
Not on npm/PyPI
Connection
Runs on your computer
Latest versioni
1.4.5
Categoryi
Other
Published to registryi
Nov 17, 2026
Code last changedi
Nov 20, 2026
Maker
karlmoriaty
Packages
npm: return_rp
Website
github.com
Registry status
Active

Which apps can use it

Based on how this server connects and on each app’s own docs, checked Nov 10, 2026.

Run on your computer in

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

All apps, with pros and cons →

Related guides

What it can do

Runs on your computer; the tool list appears in your AI app after you install it.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 21, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified with the GitHub account karlmoriaty, which owns the repo

  • ✓ Pass

    Still maintained

    Code last changed yesterday

  • ✓ Pass

    Has a licence

    Uses MIT

  • – Not applicable

    Endpoint responds

    This one runs on your computer; there is no internet endpoint

  • – Not applicable

    Sign-in with OAuth

    Runs on your computer and uses local settings instead

  • … Not checked yet

    No hidden instructions in tool descriptions

    Runs on your computer; we can only read tool lists from internet endpoints

Published vulnerabilities (OSV.dev)

Not checked yet

What we check → · JSON

Makers: ask for a re-check or report wrong info
For makers: add a badge to your README

If you made this, paste this code into your README. The badge links back to this page.

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/karlmoriaty-return-rp.svg)](https://mcp.popnx.com/en/servers/karlmoriaty-return-rp)

Discussion

Ask, share a tip or report that it does not work. Sorted by what people marked helpful.

No posts yet. Be the first to ask or share.

Posts here are written by users, not the PopNx team.

Sign in to post

User reviews

No reviews yet

Sign in to write a review

Compared with others in Otheri

  • More stars than 96% of the other 21139 servers in this category
  • Published to the registry more recently than 91% of the other 21139 servers in this category
  • Basic checks equal to or better than 99% of the other 21139 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is return_rp safe?

It passed 3 of 3 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

The registry does not list a required key, though some servers ask you to sign in on first use.

Does it run on my computer or in the cloud?

It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).

Is it still maintained?

The GitHub repo last changed yesterday, and the latest version (1.4.5) reached the registry 4 days ago.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Node.js on your computer.

What can I use instead?

In the same category: World Monitor, openstatus, Oh My Posh Validator, Strata, Jitsu

Similar alternatives

Same category, other makers, commands already checked. Official ones first, then by stars.

Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

World Monitor

Real-time global intelligence on conflict, markets, energy, trade, shipping and cyber. 100 tools.

by koala73Widely used★ 91KUpdated 5 days ago

Runs in the cloud✓ service owner · worldmonitor.app

openstatus

Manage monitors, status pages, incidents and maintenances in your openstatus workspace.

by openstatusHQWidely used★ 9.3KUpdated 2 months ago

Runs in the cloud✓ service owner · openstatus.dev

Oh My Posh Validator

Validate oh-my-posh configurations and segment snippets against the official schema.

by JanDeDobbeleerWidely used★ 23.8K Stars for the whole repoUpdated 32 days ago

Runs in the cloud✓ service owner · ohmyposh.dev

Strata

MCP server for progressive tool usage at any scale (see https://klavis.ai)

by Klavis-AIGrowing★ 5.8KUpdated 14 months ago

Runs in the cloudRepo archived✓ klavis.ai

Jitsu

Manage Jitsu data pipelines: destinations, streams, connections, functions, live events.

by jitsucomWidely used★ 5.1KUpdated 4 months ago

Runs in the cloud✓ service owner · jitsu.com
Compared with similar ones
This one
return_rp
World MonitoropenstatusOh My Posh ValidatorStrataJitsu
Runs whereInstalls on your computerRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to install
Needs a keyNoNoNoNoNoNo
Add with + in ClaudeNoNoNoNoNoNo
Basic checks3/34/44/44/41/44/4
LicenseMITAGPL-3.0AGPL-3.0MITApache-2.0MIT
PriceNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registry

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

return_rp

给 AI 一张画布,把设计带回 Axure。

把截图、需求或 RP/1 源码,变成可以在 Axure 里继续编辑的原生 .rp,而不是一张原型截图。

Axure RP 9 / RP 11 · AI 原生画布 · CLI 与 MCP

开始使用 · 工作流 · Studio · RP/1 · 版本对齐 · 常见问题 · English

一句话,说清楚它是什么

AI 负责起稿,你负责定稿,Axure 负责收尾。

页面、组件、变量与交互都写进一份可版本管理的 RP/1 源码,再编译成原生工程。

你给它它交给你
一张截图、一段需求、一份 PRD,或一份 RP/1 源码原生 .rp、浏览器预览、HTML / CSS / JS 导出,以及结构检查与验收报告

为什么不是又一个 UI 生成器

多数截图转代码工具return_rp
输出物HTML、图片或不可编辑稿原生 .rp,也可导出 HTML / CSS / JS
设计源码一次性生成,难以 diff 与回改RP/1 文本源码,可版本管理、按图层局部修改
Agent 协作往往只能整页重来按图层、语义与范围查询,只改具体对象
Axure 版本通常只覆盖一个版本RP 9 / RP 11 双向能力对齐
验证方式看截图结构检查 + 浏览器交互 + Axure 保存重开与预览

从想法到 Axure,只有一条链路

flowchart TD

A["截图 / 需求 / PRD"] --> B["RP/1 设计源码"] B --> C["Studio 画布"] C --> D["原生 .rp"] C --> E["浏览器预览"] D --> F["Axure 继续编辑"] E --> G["HTML / CSS / JS 导出"]

  1. 把意图写成源码。 截图走临摹管线,需求与 PRD 直接写成 RP/1;页面、组件、变量、交互都在同一份文本里。
  2. 在画布里推敲。 Agent 搭第一版,你直接点选、改字、调整布局;也可以把局部交还 AI,继续探索另一种构图。
  3. 在交付前验证。 真实截图、交互场景、结构检查分别运行,确认跳转、状态与保存回显。
  4. 带回 Axure。 生成原生工程,或导出浏览器可运行版本;继续编辑、继续迭代。

Studio:一块人和 AI 都能编辑的画布

AI 起稿。 通过 RP/1 或命令创作,按图层、语义和范围查询,局部改稿。

人来精修。 双击改字、Shift 框选、Option / Alt 悬停测距,撤销重做。

一起验证。 查看真实截图、运行交互场景,再交付原型。

画室工作流 ↗ AI 创作指南 ↗ 验收层级

RP/1:设计意图,有自己的源码

RP/1 把页面、布局、组件、变量和交互写在一起。AI 的改动有明确目标,设计也保留结构、版本和继续迭代的起点。

rp/1 target=9 name="下一次相遇" domain=mobile theme=mobile-hifi

page #home name="发现" device=iphone-17-pro phone-shell #shell title="去自然里,遇见飞羽。" gap=16 card #bird [fillxhug] title="认识翠鸟" body="从一抹蓝绿开始。" actionText="记下遇见" goto="notes"

page #notes name="手记" device=iphone-17-pro phone-shell #shell title="我的第一篇手记" gap=16 input #note [fillx44] value="今天在水边遇见了它。" button #back [fillx44] "返回发现" goto="home"

从一个页面到完整流程,revise_prototype 继续改稿;已有原生修改也能在支持范围内合并回源码。

RP/1 手册 ↗ 完整示例 ↗ 原生往返

交到 Axure,仍然握得住设计

从哪里继续可以做什么
Studio和 AI 共用设计文档、事务与撤销历史
Axure打开原生工程,继续编辑元件与支持的交互
浏览器运行预览;也可导出独立 HTML / CSS / JS
交付物说明
原生 .rp默认目标 RP 11;target=9 或 AXURE_TARGET_VERSION=9 切到 RP 9
浏览器预览真实交互场景,可复现点击、跳转与状态变化
代码导出独立 HTML / CSS / JS,便于评审或嵌入
结构与验收报告三零检查(未解析记录、悬空引用、问题数均为 0)、浏览器断言与 Axure 往返结果分开记录

页面、变量、动态面板与跳转可以一起交付,源稿、预览和检查报告也一并保留。

原生导出与回填 ↗ 代码导出

RP 9 与 RP 11,走同一条流水线

两个版本共用同一套 CLI、MCP 与 Studio。任一版本能做的事,另一版本不会以 unsupported 收场;缺口必须登记,并在运行时告警或写入前明确诊断,绝不静默丢参数。

能力RP 9RP 11
RP/1 原生编译与场景写入支持支持
空白模板检测、裁剪与动态面板克隆支持支持
原生表单控件与状态样式支持支持
原生中继器与数据操作支持支持
核心交互、动作与自适应视图支持支持
Studio 局部 RP/1 创作支持支持
自动 Axure 预览(Swift / PowerShell 宿主)支持支持
图片离线生成原生工程支持支持

已登记的边界集中在以下几处:RP 11 没有面板注册链模型;RP 9 的缩放锚点、切换启用、应用样式与 RP 11 专属事件/函数没有对应结构,写入前显式诊断;RP 9 的过滤组合类型与按行号删除中继器行按等价规则改写,标记为部分支持。

完整能力矩阵 ↗ 能力与验证边界 ↗ 故障排查

开始使用

依赖版本用途
Node.js18+CLI、MCP、Studio 与测试
Python3.10+原生编译与图片处理
AxureRP 9 或 RP 11原生生成、保存重开与自动预览(可选)
git clone https://github.com/karlmoriaty/AxurePR-return-rp.git

cd AxurePR-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/AxurePR-return-rp.git

cd AxurePR-return-rp python -m venv .venv .\.venv\Scripts\Activate.ps1 python -m pip install -r requirements.txt npm ci

也可以直接从 Releases 下载 return_rp- -share.zip,解压后在目录内执行 npm ci --ignore-scripts。分享包不含测试与私有素材;原生生成仍需要本机 Axure 和一份你自己保存的空白工程。

只用 CLI / MCP 时,也可以直接从 npm 运行,无需克隆仓库(原生生成与图片处理仍需要上面的 Python 依赖):

npx -y -p return_rp return_rp --help

npx -y -p return_rp return_rp-mcp

连接你的 MCP 客户端 · 展开配置

将下面的绝对路径换成自己的安装目录、Python 环境和空白工程:

{

"mcpServers": { "return_rp": { "command": "node", "args": ["/absolute/path/AxurePR-return-rp/bin/mcp.mjs"], "env": { "PATH": "/absolute/path/AxurePR-return-rp/.venv/bin:/usr/local/bin:/usr/bin:/bin", "AXURE_BLANK_TEMPLATE_RP9": "/absolute/path/my-rp9-blank.rp", "AXURE_BLANK_TEMPLATE_RP11": "/absolute/path/my-rp11-blank.rp" } } } }

PATH 应包含安装了依赖的 Python;Node 不在默认路径时,command 也使用绝对路径。空白工程用你自己在对应版本 Axure 中保存的单页文件;只用一个版本时,保留对应的 AXURE_BLANK_TEMPLATE_RP9 / RP11 即可。安装更新后重新连接 MCP。

接好后,调用 studio_open_project,在浏览器打开返回的 url:

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

然后把任务交给 Agent:

做一个观鸟 App,包含探索、鸟种详情和手记。先在画布里设计,验证跳转和保存回显,再导出可编辑的 .rp。

给 Agent 的入口与运行边界

Agent 从 studio_describe({"topic":"workflow"}) 开始。导入已有 RP/1 可为 studio_open_project 指定 sourcePath;完整原生生成使用 generate_prototype。截图临摹走 generate_from_image 或 scripts/trace.mjs,局部创作和完整编译的支持范围分别记录。

原生生成默认目标 RP 11,也可用 target=9 或 AXURE_TARGET_VERSION=9 切到 RP 9。宿主证据覆盖 macOS + Axure RP 9,以及 Windows + Axure RP 9 / RP 11(GUI 保存重开与预览往返)。部分效果采用嵌入位图,字体和预览可能受宿主影响。任意小数缩放清晰度、单画板海量节点仍有边界。

结构检查、浏览器行为与 Axure 保存重开分别验证。能力范围 · RP 9 / RP 11 能力对齐 · 验收层级 · 故障排查

常见问题

必须安装 Axure 吗?

不必须。只使用 Studio、浏览器预览或代码导出时,Node.js 与 Python 依赖就够了。生成原生 .rp、离线图片工程、保存重开与自动预览需要本机 Axure;首次使用请自己保存一份单页空白工程,并通过 AXURE_BLANK_TEMPLATE_RP9 / AXURE_BLANK_TEMPLATE_RP11 指定。

Windows 上能用吗?

可以。Windows 走 PowerShell 宿主,RP 9 / RP 11 都已实测打开、保存命令、关闭、重开与预览;macOS 走 Swift 宿主。GUI 相关能力需要桌面会话和本机 Axure,无桌面会话的服务器环境只能使用非 GUI 部分。

MCP 连上了,为什么工具列表是空的?

通常是缺少可选依赖 @modelcontextprotocol/sdk。在项目目录执行 npm ci --ignore-scripts,重启或重连 MCP 客户端。启动时会给出明确提示,不会静默返回空列表。

为什么宿主返回 saved: false ?

Axure 对未修改的文档可能跳过写盘。此时宿主如实返回 saved: false,并单独记录 saveCommandIssued: true;任务验收以保存命令已执行为准,是否真正写入由文件 mtime 判断。这比把保存键一律当成成功更接近真实行为。

生成的原型能 100% 还原设计吗?

文字、按钮、输入框与布局会写成独立原生元件,支持的交互一起交付。部分视觉效果使用嵌入位图;字体、预览与渲染受宿主影响;任意小数缩放的清晰度、单画板海量节点也有边界。建议按「结构检查 → 浏览器行为 → Axure 保存重开」三层分别验收。

默认生成哪个 Axure 版本?

默认 RP 11。需要 RP 9 时在 RP/1 头部写 target=9,或设置 AXURE_TARGET_VERSION=9。两个版本共用同一批 CLI / MCP 工具。

项目结构

目录作用
bin/return_rp CLI 与 return_rp-mcp MCP 入口
scripts/RP/1 编译、原生装配、宿主往返、截图临摹与发布工具
studio/Studio 画布前端与本地服务
references/RP/1 语言、能力边界、工作流与故障排查手册
examples/可直接运行的 RP/1 与场景示例
test/结构、浏览器、版本对齐与跨平台回归
docs/设计流程、验收层级与版本对齐说明

Node 源码以 TypeScript(*.mts / studio/web/*.ts)编写,npm run build 生成同路径 .mjs / .js;仓库与发布包同时包含源码和生成后的运行时文件,直接使用不需要先构建。


Agent Skill · 贡献指南 · 变更记录 · Releases · MIT License

问题反馈 GitHub Issues · QQ 邮箱:3070687583@qq.com

如果这个项目帮你省下了画原型的时间,欢迎 Star、分享给同事,或带着真实案例来提 Issue。

由 karlmoriaty 独立开发 · 与 Axure 无隶属关系