axure-mcp
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
axure-mcp
English | 简体中文
Give your agent hands inside Axure RP 9. 91 MCP tools. 75 of them drive Axure's internal object model directly — no GUI, no mouse, no stolen focus.
Axure is the delivery format of an entire industry: .rp files, dynamic panels, variable conditions, masters, specification documents. But using it still means clicking.
axure-mcp doesn't replace Axure. It gives Axure a programmable cockpit. An agent can create projects, pages, widgets, styles, interactions, variables, masters, and exports — all in the background.
Agent → MCP (stdio) → JSON bridge → Axure RP 9 object modelWhy Axure, not another Figma
Because the delivery format is not negotiable.
Context | Reality |
Coursework / enterprise specs | Must hand in a |
Legacy projects | Years of prototypes, component libraries, review notes live in |
Interaction fidelity | Variables + conditions + multi-case + panel states + repeater datasets |
Deliverables | Spec docs, page inventories, annotations — all in one file |
Review standards | Textbooks, rubrics, and acceptance templates are built around Axure |
Axure's problem was never "not capable enough". It's that manual operation is heavy:
Restyling 20 buttons = 200 clicks
Building 4 pages = a whole afternoon of dragging
No CI, no agent access, no versioned generation
This project does exactly one thing: keep Axure's delivery format and expressiveness, replace the clicking with code.
Related MCP server: return_rp
What you get
Projects & pages
Create
.rp, page CRUD, page folders, move/reorder, recursive page treePage size, background, alignment, adaptive views (Desktop / Mobile / Tablet)
Widgets (12 advanced types)
Rectangle, button, text field, text area, dropdown, list box, checkbox, radio, image, table, dynamic panel, repeater, ellipse, horizontal/vertical line.
Dynamic panel: multiple states, widgets per state, active state switching
Repeater: dataset columns/rows/cells, item template
Table: row/column sizing, cell text
Nested object tree: read/write/delete via paths like
/9/state:1/0
Styling
Fill, font, size, bold/italic/underline, border, corner radius, opacity, rotation, padding. Named styles for both widget and page stylesheets — create, read, apply, delete.
Interactions (14 action types)
Conditional cases, show/hide/toggle, set text, set value, set variable, wait, open link (current/new window), scroll to widget, fire event, enable/disable, move, resize.
Variables & expressions
Global variable CRUD, [[var]] interpolation, OnPageLoad assignment, variable conditions, set-variable actions.
Masters & adaptive views
Create/rename/delete masters, add widgets inside a master, apply to pages, remove instances. Create/resize adaptive views and attach them to pages.
Exports
Format | Notes |
HTML | Axure's native generator; extension-install redirect automatically disabled |
Word | Spec document |
Pure-code image PDF writer — no print driver, no Acrobat | |
PNG | Current page / all pages, offscreen render |
CSV | Page + widget inventory |
Image optimization | Axure's optimizer, measured 63 KB → 30 KB |
Infrastructure
Single-process batch: 121-widget prototype build drops from ~10 min to ~50 s
Reflection introspection:
find_types/describe_typeto explore Axure internalsObject tree inspection:
get_widget/dump_page/list_widget_treeGUI fallback: menus, screenshots, dialogs, canvas mouse/keyboard
Full catalog: docs/TOOLS.md.
Quick start
Requirements
Windows 10 / 11
A licensed Axure RP 9 installation (this repo does not ship Axure itself)
.NET Framework 4.8 + .NET SDK
Python 3.10+
Legal note: Axure is commercial software. This repository contains only our own code — no Axure installer, DLLs, decompiled sources, or license files. Install and license Axure yourself.
1. Python dependencies
pip install -r requirements.txt2. Build the C# bridge
cd bridge
dotnet build -c DebugOutput: bridge/bin/Debug/net48/axure-bridge.exe
The project references
Newtonsoft.JsonandSharpZipLibfrom NuGet, not from the Axure install directory, so it builds on any Windows machine with the .NET SDK.
3. Run the self-checks
cd ..
python selfcheck_ci.py # 91 tools registered (no Axure required)
python selfcheck_code.py # full object-model regression (requires Axure)
python selfcheck.py # GUI fallback regression (requires Axure)4. Build the demos
python demo/build_workspace.py # 4 pages / 121 widgets / 15 links
python demo/build_advanced_widgets.py # 12 advanced widget types
python demo/build_full_feature_demo.py # masters + views + variables + conditions + all exports5. Preview locally
python -m http.server 18780 --bind 127.0.0.1 --directory demo/ai_workspace_htmlOpen http://127.0.0.1:18780/index.html.
Do not open exported HTML via
file://— Axure's runtime redirects to an extension-install page. Serve it over HTTP.
6. Register the MCP server
ZCode (~/.zcode/cli/config.json), Claude Desktop (claude_desktop_config.json), or any MCP client:
{
"mcpServers": {
"axure": {
"type": "stdio",
"command": "python",
"args": ["E:\\path\\to\\axure-mcp\\server.py"]
}
}
}On Windows, prefer an absolute path to python.exe to avoid PATH differences.
Usage
# New project
axure_code_new_project(path="demo/demo.rp", name="My Prototype")
# Folder + page
axure_code_add_folder(path="demo/demo.rp", name="Business")
axure_code_add_page(path="demo/demo.rp", name="Home", parent_folder="Business")
# Styled button
axure_code_add_widget(
path="demo/demo.rp", page="Home", type="button", text="Get started",
x=80, y=120, w=200, h=52,
style={"fill": "#2563EB", "textColor": "#FFFFFF", "borderWidth": 0,
"cornerRadius": 12, "fontSize": 18, "bold": True},
)
# Click → open another page
axure_code_add_link(path="demo/demo.rp", page="Home", index=0, target_page="Details")
# Variable + OnLoad assignment
axure_code_add_variable(path="demo/demo.rp", name="userName", value="Guest")
axure_code_add_page_load_set_variable(path="demo/demo.rp", page="Home",
name="userName", value="Admin")
# Conditional action chain
axure_code_add_action(path="demo/demo.rp", page="Home", index=1, action="set-text",
target_index=0, text="Triggered",
condition={"kind": "global", "variable": "count",
"op": "equals", "value": "1"})
axure_code_add_action(path="demo/demo.rp", page="Home", index=1, action="show",
target_index=3, append_to_last_case=True)
# Exports
axure_code_generate_html(path="demo/demo.rp", out_dir="demo/html")
axure_code_export_word(path="demo/demo.rp", out_path="demo/spec.docx")
axure_code_export_pdf(path="demo/demo.rp", out_path="demo/prototype.pdf")More parameters and return shapes: docs/USAGE.md.
Architecture
axure-mcp/
├── server.py # FastMCP stdio server (91 tools)
├── axure_core.py # GUI primitives (menus/dialogs/screenshots)
├── selfcheck_ci.py # CI-safe tool registration check
├── selfcheck_code.py # full object-model regression
├── selfcheck.py # GUI fallback regression
├── bridge/
│ ├── CodeBridge.cs # JSON dispatch + project/page/widget core
│ ├── BridgeWidgets.cs # advanced widgets
│ ├── BridgeInteractions.cs # 14 interaction actions
│ ├── BridgeVariables.cs # global variables / expressions
│ ├── BridgeMasters.cs # masters
│ ├── BridgeAdaptive.cs # adaptive views / page settings
│ ├── BridgeStyles.cs # named styles
│ ├── BridgePageTree.cs # folders / move / delete
│ ├── BridgeTree.cs # object tree traversal / path editing
│ ├── BridgeExport.cs # Word / images / CSV / optimization
│ ├── BridgePdf.cs # pure-code PDF writer
│ └── BridgeReflection.cs # reflection helpers
├── demo/ # reproducible build scripts
├── docs/
│ ├── USAGE.md # full usage guide
│ └── TOOLS.md # 91-tool catalog
├── .github/workflows/ # Windows build + CI check
├── LICENSE
└── README.mdHow it works
Axure RP 9 is a mixed-mode .NET/WinForms application whose Core/Model/AxDoc assemblies are ILMerged into AxureRP9.exe and obfuscated. It exposes no COM or scripting API.
The bridge:
Spawns a 32-bit .NET host (
axure-bridge.exe) that loadsAxureRP9.exeas a managed assembly.Resolves internal types by reflection (
m0Sq.A0St,W0u2.m0uQ,s0Vz.C0V2,aax3.saxb, …).Calls Axure's own load/save pipeline — it never rewrites
.rpbytes or patches the executable.Exposes a JSON command protocol over stdin/stdout;
server.pywraps it as MCP tools.
This is why it can build real .rp files that Axure opens natively, instead of emulating the format.
Status
Check | Result |
| PASS — 91 tools registered, required tool set present |
| PASS — full object-model chain |
| PASS — GUI fallback chain |
Main prototype | 4 pages / 121 widgets / 15 OnClick links, browser click-through verified |
Advanced widgets | 12 types, panel dual-state, repeater 2 rows, table cells, image embed |
Masters | applied master renders in exported HTML |
Named styles | applied style turns button blue with white text |
Exports | Word 79.9 KB / PDF 2 pages (pypdf-readable) / PNG ×2 / CSV 13 rows |
Known limitations
Tied to Axure RP 9.0.0.3754 internal obfuscated type names. Upgrading Axure requires remapping.
Cloud/Team publishing depends on Axure's client window object; falls back to GUI automation.
Page duplication is rejected by Axure's object model (
Copy method should not be called for Package Objects).Exported HTML with adaptive views may not initialize
$axure.document, so click chains don't run; plain pages work.The 32-bit bridge can OOM on very large interaction graphs — batch in smaller chunks.
Windows only (WinForms / UIA / PrintWindow / GDI+).
Contributing
See CONTRIBUTING.md. New widget types, interaction actions, export formats, and Axure version ports are welcome.
One capability per PR
Include
selfcheck_code.pyPASS outputFor exports, include artifact size/page count
License
MIT. Axure RP is a trademark and commercial product of Axure Software Solutions. This project is not affiliated with Axure.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Convert, create and edit Word, PowerPoint, Excel and PDF documents from any AI agent.
Build, run, inspect, and continue AgentScript workflows on connected Super Chrome and Mac clients.
Connect your agents to any website. The cheaper, faster and more reliable alternative to browser use
89 pay-per-call tools for agents: screenshots, scraping, PDF, OCR, TTS, STT, invoices, KYC, utils
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceEnables coding agents to build and edit a local-first design board of HTML screens, flows, components, design-system pages, and plan tables, then review it in a browser with undo/restore, rendering, and export tools.MIT
- AlicenseCqualityBmaintenanceEnables AI agents to draft designs on an editable Studio canvas using the RP/1 language and export them as native, editable Axure RP 9/11 prototypes (.rp). Supports opening projects, revising layouts, verifying interactions in the browser, and round-tripping native edits back into source.87719 npm9MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to create, inspect, edit, auto-layout, prototype, and export vector design documents in real time through attached GUI or headless modes, with support for multiple design formats.MIT

Lapyn MCP Serverofficial
AlicenseNot gradedqualityBmaintenanceEnables AI agents to create screens, restyle existing designs, translate content, and inspect how designs are structured, saving changes directly to connected projects. After editing, the agent renders the result and verifies it before reporting back.Apache 2.0