auroraview-mcp
Enables AI agents to create and manage WebView windows within Blender, allowing embedding of web-based UIs and bidirectional communication with the 3D environment.
Enables AI agents to create and manage WebView windows within Houdini, allowing embedding of web-based UIs and bidirectional communication with the 3D environment.
Enables AI agents to create and manage WebView windows within Nuke, allowing embedding of web-based UIs and bidirectional communication with the compositing environment.
Enables AI agents to create and manage WebView windows within Unreal Engine, allowing embedding of web-based UIs and bidirectional communication with the real-time 3D environment.
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.
Development Status: AuroraView is under active development. APIs may evolve before
v1.0.0. Windows (WebView2) is the primary production-tested target; macOS (WKWebView) and Linux (WebKitGTK) support is available with ongoing testing.
Quick Try
Try AuroraView instantly without installation using uvx:
uvx auroraview --url https://example.comRelated MCP server: openmcp
Overview
AuroraView delivers a modern web-based UI layer for both standalone Python desktop applications and professional DCC tools (Maya, 3ds Max, Houdini, Blender, Nuke, Photoshop, Unreal Engine). Built with Rust (wry / tao / webview2-com) and PyO3 (abi3 wheels), it ships as a single native extension with zero third-party Python dependencies.
Key Highlights
Lightweight: ~5 MB wheel vs ~120 MB for Electron, using the OS native WebView engine
Zero Python Dependencies: Ships as a single PyO3
abi3extension supporting Python 3.7–3.13Desktop & DCC Ready: First-class standalone desktop apps (
run_desktop), Qt widget embedding (QtWebView), and HWND integration (AuroraView)Modern Web Stack: Use React, Vue, Svelte, Tailwind, or vanilla HTML/CSS/JS with a TypeScript SDK (
@auroraview/sdk)Bidirectional IPC: High-performance Python ↔ JavaScript RPC (
auroraview.api.*/auroraview.call), push events, shared state, and streaming channelsMCP Server Built-In: Expose WebView automation and AG-UI event streaming directly to AI agents via
auroraview-mcpStandalone Packaging: Bundle frontend + Python backend into a single offline executable via
auroraview-cli pack
See the DCC Integration Guide and Getting Started Guide for full walkthroughs.
Architecture
Technical Stack
Core Stack: Rust 1.90+, PyO3 (abi3),
wry0.54,tao0.34,windows-rs/webview2-comWeb Engines: Windows (
WebView2), macOS (WKWebView), Linux (WebKitGTK)Packaging:
maturinwheels —cp38-abi3per platform for Python 3.8–3.13, plus dedicatedcp37wheels on Windows/LinuxEvent Loop: Qt hosts own the event loop (Rust marshals UI work to the UI thread via task queues); standalone desktop apps run a managed native event loop
IPC Bridge: Unified
window.auroraviewbridge —auroraview.api.*/auroraview.call()for RPC,auroraview.send_event()/webview.emit()for events, andwindow.auroraview.trigger()for Rust-to-JS event dispatchCustom Protocols: Sandboxed
auroraview://(asset_root) and custom DCC protocols (e.g.maya://,fbx://) without CORS restrictionsEmbedding: Native
QtWebView(QWidget/QDockWidget), direct HWND/parent embedding (owner/childmodes), and automatic parent lifecycle cleanupPerformance Targets: <150 ms first paint (local HTML), <50 MB baseline RSS
Features
Core & IPC
Native WebView Engine: System WebView2 / WKWebView / WebKitGTK for minimal footprint
Bidirectional IPC: Async/await RPC (
auroraview.api.*,auroraview.call), push events (emit/on), shared state, and streaming channelsCustom Protocol Handler: Load local and DCC-project assets via
auroraview://or custom schemesEvent System: Node.js-style EventEmitter (
on,once,off,emit) with cancellable events and debounce/throttle utilitiesMulti-Window Support:
WindowManagerfor creating and coordinating multiple windows with cross-window eventsThread-Safe Core: Rust memory safety and UI-thread marshaling
Storage, Window & Navigation
Storage & Cookies: Full
localStorage/sessionStorage, cookie CRUD, andclear_browsing_data()Native Dialogs:
open_file,save_file,select_folder,select_folders,confirm,alert,error,ok_cancelNavigation Control:
go_back,go_forward,reload,stop,can_go_back,can_go_forwardWindow Lifecycle Events:
on_shown,on_hidden,on_focused,on_blurred,on_resized,on_moved,on_closing,on_fullscreen_changedFile Drop Events: Native OS drag-and-drop with full file paths (
file_drop,file_drop_hover,file_drop_cancelled,file_paste). Off by default (capture_file_drop=False) to preserve HTML5dragover/drop; opt-in viaAuroraView(capture_file_drop=True)when absolute OS paths are required — seedocs/zh/guide/file-drop.mdandexamples/desktop_app_capture_file_drop.py.
DCC & Desktop Features
Qt Backend (
QtWebView): TrueQWidgetsupportingQDockWidget, layouts, signals/slots, and automatic cleanup when parent closesWebView2 Warmup: Automatic WebView2 pre-warming (
WebViewPool) reducing subsequent creation time by ~50%System Tray: Tray icon with context menu, hide-to-tray, and click-to-restore
Floating Tool Windows: Frameless, transparent, always-on-top panels with
tool_window=True(WS_EX_TOOLWINDOW) andmode="owner"Performance Monitoring:
get_performance_metrics()andget_ipc_stats()
Plugin System & Chrome Extension Compatibility
Rust Plugins: Built-in
process(stdout/stderr streaming),fs,dialog,shell, andclipboardplugins25+ Chrome Extension APIs: Polyfill layer covering
chrome.storage(local/sync/session),bookmarks,history,downloads,cookies,notifications,tts,idle,power, and WXT compatibilitySecurity: CSP configuration, CORS control, and fine-grained permission rules
MCP Server & AI Agent Integration
MCP Server (
auroraview-mcp): Exposesscreenshot,load_url,load_html,eval_js,send_event,get_hwnd,list_webviews,create_webview, andclose_webviewtools to AI agentsmDNS Discovery: Auto-discoverable by MCP clients
AG-UI Protocol: SSE endpoint at
/agui/eventsfor real-time agent event streaming
from auroraview import McpServer
server = McpServer(port=7890)
server.start() # non-blocking
server.emit_run_started("run-1", "thread-1")
server.stop()See the MCP Server Guide for full details.
Installation
Windows and macOS
Basic installation (Native backend for desktop apps & non-Qt hosts):
pip install auroraviewWith Qt support (for Qt-based DCCs like Maya, Houdini, Nuke, 3ds Max):
pip install "auroraview[qt]"Note for Qt DCCs: The
[qt]extra installsQtPyas a thin compatibility layer across PySide2, PySide6, PyQt5, and PyQt6.
Linux
Linux wheels are distributed via GitHub Releases due to system WebKitGTK dependencies:
# Install system dependencies
sudo apt install libwebkit2gtk-4.1-dev libgtk-3-dev # Debian/Ubuntu
# sudo dnf install gtk3-devel webkit2gtk3-devel # Fedora/RHEL
# sudo pacman -S webkit2gtk # Arch Linux
# Install wheel from GitHub Releases (Python 3.8+: cp38-abi3, Python 3.7: cp37-cp37m)
pip install https://github.com/try-auroraview/auroraview/releases/latest/download/auroraview-{version}-cp38-abi3-linux_x86_64.whlOr build from source:
pip install auroraview --no-binary :all:Quick Start
Choosing the Right API
API | Mode | Best For | Docking / Embedding |
| Standalone | Desktop applications & quick tools | Standalone window |
| Qt Native | Maya, Houdini, Nuke, 3ds Max |
|
| HWND / Unified | Unreal Engine, Blender, non-Qt apps, class-based tools | Direct HWND / owner mode |
| Low-level | Advanced customization & custom protocols | Manual control |
1. Standalone Desktop App (One-Liner)
from auroraview import run_desktop
# Launch a standalone desktop app (blocks until closed)
run_desktop(
title="My App",
url="http://localhost:3000",
width=1024,
height=768,
)2. Qt Native Mode (QtWebView — Maya / Houdini / Nuke / 3ds Max)
Creates a true QWidget that integrates with QDockWidget, Qt layouts, and automatic parent-child cleanup:
from auroraview import QtWebView
from qtpy.QtWidgets import QDialog, QVBoxLayout
dialog = QDialog(maya_main_window())
layout = QVBoxLayout(dialog)
webview = QtWebView(parent=dialog, width=800, height=600)
layout.addWidget(webview)
webview.load_url("http://localhost:3000")
dialog.show()
webview.show() # Non-blocking; closes automatically with parentHoudini:
from auroraview import QtWebView
import hou
webview = QtWebView(parent=hou.qt.mainWindow(), url="http://localhost:3000")
webview.show()Nuke:
from auroraview import QtWebView
from qtpy import QtWidgets
webview = QtWebView(parent=QtWidgets.QApplication.activeWindow(), url="http://localhost:3000")
webview.show()3. HWND Mode (AuroraView — Unreal Engine & Non-Qt Hosts)
from auroraview import AuroraView
webview = AuroraView(url="http://localhost:3000", api=my_api_object)
webview.show()
hwnd = webview.get_hwnd()
if hwnd:
import unreal
unreal.parent_external_window_to_slate(hwnd)Command-Line Interface
# Load a URL
auroraview --url https://example.com
# Load a local HTML file
auroraview --html /path/to/file.html
# Custom window configuration
auroraview --url https://example.com --title "My App" --width 1024 --height 768
# Run without installing
uvx auroraview --url https://example.comPython 3.7 on Windows: Due to a uv/uvx limitation, invoke via
python -m auroraview:uvx --python 3.7 --from auroraview python -m auroraview --url https://example.com
See the CLI Documentation for all options.
Custom Window Icon
AuroraView uses the AuroraView icon by default. Pass any square PNG, ICO, JPEG, BMP, or GIF via icon:
from auroraview import run_desktop
run_desktop(
title="My App",
url="http://localhost:3000",
icon="path/to/my-icon.png",
)Property | Recommendation |
Format | PNG (recommended) or multi-resolution ICO |
Sizes |
|
Color Depth | 32-bit RGBA with transparency |
Usage Patterns
Pattern 1: AuroraView with an API Object (Simplest)
Best for quick prototypes, desktop utilities, and one-off tools.
from auroraview import AuroraView
class MyAPI:
def get_data(self) -> dict:
"""JS: await auroraview.api.get_data()"""
return {"items": [1, 2, 3], "count": 3}
def save_file(self, path: str = "", content: str = "") -> dict:
"""JS: await auroraview.api.save_file({path: "/tmp/a.txt", content: "hello"})"""
with open(path, "w", encoding="utf-8") as f:
f.write(content)
return {"ok": True, "path": path}
view = AuroraView(url="http://localhost:3000", api=MyAPI())
view.show()const data = await auroraview.api.get_data();
const result = await auroraview.api.save_file({ path: "/tmp/test.txt", content: "Hello" });
auroraview.on("data_updated", (payload) => {
console.log("Data updated:", payload);
});Pattern 2: QtWebView Subclass for DCC Production Tools (Recommended)
Best for Maya, Houdini, Nuke, and 3ds Max tools.
from auroraview import QtWebView
class SceneTool(QtWebView):
def __init__(self, parent=None):
super().__init__(
parent=parent,
url="http://localhost:3000",
width=420,
height=640,
)
self.bind_api(self)
def on_ready(self):
self.emit("tool_ready", {"version": "1.0"})
def get_selection(self) -> dict:
return {"items": ["hero_mesh", "camera1"]}
tool = SceneTool(parent=maya_main_window())
tool.show()Pattern 3: Explicit Binding & Signals (Advanced / Extensible Systems)
Best for dynamic plugin hosts, custom protocols, and fine-grained runtime wiring.
from auroraview.core import WebView
from auroraview import Signal
class OutlinerTool(WebView):
selection_changed = Signal(list)
def __init__(self):
super().__init__(title="Outliner Tool", url="http://localhost:3000", width=400, height=600)
self.bind_api(self, namespace="api")
@self.on("item_selected")
def handle_selection(data: dict):
self.selection_changed.emit(data.get("items", []))
self.selection_changed.connect(lambda items: print("Selected:", items))
def get_hierarchy(self, root: str = None) -> dict:
return {"children": ["group1", "mesh_cube", "camera1"], "count": 3}
tool = OutlinerTool()
# Dynamic runtime binding is also supported:
tool.bind_call("export_data", lambda fmt="json": {"ok": True, "format": fmt})
tool.show()Aspect | Pattern 1 ( | Pattern 2 ( | Pattern 3 (Explicit / Low-level) |
Complexity | Simple | Medium | Advanced |
Best For | Prototypes & desktop tools | Production DCC tools | Plugin hosts & custom protocols |
Qt Docking | Optional | Native ( | Manual |
Auto-binding | Yes ( | Via | Manual |
See examples/ for complete runnable scripts.
Bidirectional Communication
Communication API Reference
Direction | JavaScript API | Python API | Use Case |
JS → Python |
|
| Auto-bound RPC with return value |
JS → Python |
|
| Explicit RPC with return value |
JS → Python |
|
| Fire-and-forget events |
Python → JS |
|
| Push notifications from Python |
JS local only |
| — | Local JS dispatch (not sent to Python) |
Important:
auroraview.trigger()dispatches events locally in JavaScript (used internally by the Rust bridge). To send events from JS to Python, always useauroraview.send_event()orauroraview.call().
Python ↔ JavaScript Examples
Python → JS (Push Events):
webview.emit("selection_changed", {"items": ["mesh1", "mesh2"]})window.auroraview.on("selection_changed", (data) => {
highlightItems(data.items);
});JS → Python (Events):
window.auroraview.send_event("export_scene", { path: "/tmp/scene.fbx", format: "fbx" });@webview.on("export_scene")
def handle_export(data):
print(f"Exporting to: {data['path']}")JS → Python (RPC with Return Value):
const result = await window.auroraview.call("api.rename_object", {
old_name: "cube1",
new_name: "hero_cube",
});@webview.bind_call("api.rename_object")
def rename_object(old_name: str, new_name: str) -> dict:
return {"ok": True, "old": old_name, "new": new_name}Advanced Usage
Window Events & Controls
from auroraview import WebView
from auroraview.core.events import WindowEventData
webview = WebView(title="My App", width=800, height=600)
@webview.on_shown
def on_shown(data: WindowEventData):
print("Window visible")
@webview.on_resized
def on_resized(data: WindowEventData):
print(f"Resized to {data.width}x{data.height}")
@webview.on_closing
def on_closing(data: WindowEventData):
return True # Return False to cancel close
webview.resize(1024, 768)
webview.move(100, 100)
webview.toggle_fullscreen()Callback Deregistration (EventTimer)
from auroraview import EventTimer
timer = EventTimer(webview, interval_ms=16)
timer.on_close(on_close_handler)
timer.off_close(on_close_handler) # Also supports off_tick(handler)Shared State
webview = WebView.create("My App", width=800, height=600)
webview.state["theme"] = "dark"
webview.state["count"] = 0
@webview.state.on_change
def on_state_change(key: str, value, old_value):
print(f"{key}: {old_value} -> {value}")
# JavaScript: window.auroraview.state.theme = "light";Command System & Channel Streaming
@webview.command("add_numbers")
def add(x: int, y: int) -> int:
return x + y
# JS: const sum = await auroraview.invoke("add_numbers", { x: 1, y: 2 });
with webview.create_channel() as channel:
for i in range(100):
channel.send({"progress": i})Custom Protocols & Local Assets
Use asset_root with the built-in auroraview:// protocol to load local files safely without CORS issues:
from auroraview import WebView
webview = WebView.create(title="My App", asset_root="./assets")
webview.load_html("""
<html>
<head><link rel="stylesheet" href="./css/style.css"></head>
<body><img src="./images/logo.png"></body>
</html>
""")Or register domain-specific DCC protocols:
def handle_fbx_protocol(uri: str) -> dict:
path = uri.replace("fbx://", "")
try:
with open(f"C:/maya_projects/current/{path}", "rb") as f:
return {"data": f.read(), "mime_type": "application/octet-stream", "status": 200}
except FileNotFoundError:
return {"data": b"Not Found", "mime_type": "text/plain", "status": 404}
webview.register_protocol("fbx", handle_fbx_protocol)Method | Security | Recommendation |
| High (directory-sandboxed, | Recommended |
Local dev HTTP server | High (controlled scope) | Recommended for dev HMR |
| Low (unrestricted filesystem access) | Use with caution |
See Custom Protocol Guide, Local Resources Guide, and examples/local_assets_example.py.
WebView2 Pre-warming (QtWebView)
QtWebView automatically pre-warms WebView2 on first creation (~50% faster subsequent windows). For explicit startup control (e.g. in Maya userSetup.py):
from auroraview.integration.qt import WebViewPool, QtWebView
WebViewPool.prewarm()
webview = QtWebView(parent=maya_main_window(), auto_prewarm=False)System Tray & Floating Tool Windows
from auroraview import run_desktop, WebView
# System tray app
run_desktop(
title="Background Utility",
html=my_html,
width=400,
height=300,
system_tray=True,
hide_on_close=True,
)
# Frameless transparent floating panel (follows parent window)
panel = WebView.create(
title="AI Assistant",
html=panel_html,
width=320,
height=400,
frame=False,
transparent=True,
always_on_top=True,
tool_window=True,
parent=parent_hwnd,
mode="owner",
)
panel.show()Gallery, CLI & Application Packaging
Interactive Gallery
vx just gallery # Run the interactive React Gallery
vx just gallery-pack # Build standalone Gallery executableInstall auroraview-cli
Linux / macOS:
curl -fsSL https://raw.githubusercontent.com/try-auroraview/auroraview/main/scripts/install.sh | bashWindows (PowerShell):
irm https://raw.githubusercontent.com/try-auroraview/auroraview/main/scripts/install.ps1 | iexPre-built binaries are also available on GitHub Releases.
Application Packaging
Bundle a URL, frontend build, or fullstack Python + Web app into a standalone executable:
auroraview-cli pack --url https://example.com --output myapp
auroraview-cli pack --frontend ./dist --output myapp
auroraview-cli pack --config auroraview.pack.tomlExample auroraview.pack.toml:
[package]
name = "my-app"
version = "1.0.0"
[app]
title = "My Application"
frontend_path = "./dist"
[window]
width = 1200
height = 800
resizable = true
[bundle]
# Accepts PNG, JPG, or ICO (auto-converts PNG/JPG to multi-res Windows ICO)
icon = "./assets/my-app-icon.png"
[bundle.platform.windows]
console = false
[python]
entry_point = "main:main"
include_paths = ["./backend"]
strategy = "standalone" # standalone | embedded | portable | pyoxidizerStrategy | Offline | Approx. Size | Notes |
| Yes | ~50–80 MB | Embeds Python runtime, extracts on first run |
| No | ~15 MB | Uses system Python |
| Yes | ~50–80 MB | Portable directory bundle |
| Yes | ~30–50 MB | Requires PyOxidizer |
See Packing Guide and examples/pack-example.toml.
DCC Software Support
DCC Software | Integration Mode | Status | Guide |
Maya |
| Supported | |
Houdini |
| Supported | |
3ds Max |
| Supported | |
Blender | Standalone / Floating Window | Supported | |
Nuke |
| Supported | |
Unreal Engine | HWND ( | In Progress | |
Photoshop / Substance | External / Plugin | Experimental |
Documentation
Getting Started — Installation & first app
Architecture — Core Rust/Python/WebView design
Communication Guide — IPC, events, RPC, and state sync
Qt Integration — Docking &
QtWebViewlifecycleDCC Integration Guides — Per-DCC setup & best practices
MCP Server Guide — AI agent tools & AG-UI streaming
CLI & Packaging — Standalone executable bundling
TypeScript SDK —
@auroraview/sdkfrontend APIHeadless Testing — Automated WebView testing
Brand & Logo Guidelines — Lossless SVG masters & export workflow
Development
Prerequisites
vx(universal tool/runtime manager)Git
AuroraView uses
vx + justfileas the canonical development harness for both local development and CI.
Build & Validate
git clone https://github.com/try-auroraview/auroraview.git
cd auroraview
# Bootstrap tools from vx.toml
vx setup
# Install Python deps and build
vx just install
vx just build
# Fast local verification / full CI-aligned verification
vx just harness-quick
vx just harness-verify
# Gallery packed E2E (CDP + Playwright)
vx just harness-gallery-e2eProject Structure
auroraview/
├── crates/
│ ├── auroraview-core/ # Core protocols, RPC, event bus, icon/asset utilities
│ ├── auroraview-cli/ # CLI binary, packager entrypoint & embedded skills
│ ├── auroraview-desktop/ # Standalone desktop runtime, tray & window builder
│ ├── auroraview-dcc/ # DCC host integration layer
│ ├── auroraview-mcp/ # MCP server & AG-UI SSE streaming
│ ├── auroraview-pack/ # Standalone executable bundler
│ ├── auroraview-plugins/ # Native plugin architecture (fs, process, dialog, shell, clipboard)
│ ├── auroraview-extensions/ # Chrome Extension API compatibility layer
│ ├── auroraview-browser/ # Multi-tab browser & devtools/tabs/bookmarks/history crates
│ ├── auroraview-ai-agent/ # AI agent sidebar & CDP helpers
│ ├── auroraview-ue/ # Unreal Engine integration crate
│ └── auroraview-testing/ # Rust testing utilities
├── python/auroraview/ # Python package (AuroraView, QtWebView, run_desktop, testing)
├── packages/
│ ├── auroraview-sdk/ # TypeScript frontend SDK
│ └── auroraview-ai/ # Frontend AI chat/agent components
├── gallery/ # Interactive React showcase & E2E baseline
├── examples/ # Runnable Python & DCC examples
├── assets/brand/ # Lossless SVG brand masters & export pipeline
├── docs/ # VitePress documentation site (EN & ZH)
└── tests/ # Rust & Python test suitesTesting
HeadlessWebView Unified Testing Framework
from auroraview.testing import HeadlessWebView
# Auto-detect best backend (Playwright recommended)
with HeadlessWebView.auto() as webview:
webview.goto("https://example.com")
webview.click("#button")
assert webview.text("#result") == "Success"Backend | Method | Platform | Use Case |
Playwright |
| All | Recommended for CI/CD |
Xvfb |
| Linux | Real WebView testing |
WebView2 CDP |
| Windows | Real WebView2 testing |
# Unified harness tasks (recommended)
vx just harness-quick
vx just harness-verify
# Nox sessions via vx
vx uvx nox -s pytest
vx uvx nox -s pytest-qt
vx uvx nox -s lintContributing
Contributions are welcome! Please read the Contributing Guide before submitting a pull request.
License
MIT License — see LICENSE for details.
Acknowledgments
Wry — Cross-platform WebView library
PyO3 — Rust bindings for Python
Tauri — Architecture inspiration and ecosystem
Contact
Author: Hal Long
Email: hal.long@outlook.com
GitHub: @loonghao
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
Cloud browser, web extraction, screenshots, and remote CDP tools for AI agents.
Control a real browser from AI agents: navigate, click, type, screenshot, read the page.
Web scraping, browser automation, screenshots and AI data extraction for AI agents via MCP.
Hosted browser for agents: open pages, search the web, extract data, read PDFs and take screenshots.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceAllows AI agents to control and interact with VS Code webviews by providing tools for navigation, element interaction, and state retrieval. It facilitates automated tasks like clicking elements, inputting text, and reading the DOM structure within a VS Code tab.13 npmISC
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to automate web tasks such as browsing, clicking, typing, and taking screenshots via the Model Context Protocol.1MIT
- AlicenseAqualityCmaintenanceEnables browser automation through the Model Context Protocol, allowing AI agents to control Chrome, Firefox, or Edge for tasks like navigation, clicking, typing, and screenshots.4177 npmMIT

Browseagent MCPofficial
AlicenseAqualityDmaintenanceEnables AI agents to control web browsers through the Model Context Protocol, supporting navigation, clicking, typing, and screenshots.129 npm1MIT