auroraview-mcp

v0.3.37
auroraview-mcp Checked 5 hours ago Published 11 months ago

MCP Server for AuroraView - AI-powered interaction with WebView applications

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

call_api Call Api

Call an AuroraView Python API method. Invokes a method on the AuroraView Python backend through the JS bridge. The method name should follow the format "namespace.method" (e.g., "api.echo").

ParameterTypeDescription
method *stringAPI method name (e.g., "api.get_samples", "tool.apply").
paramsMethod parameters as a dictionary.

list_api_methods List Api Methods

List all available AuroraView API methods. Returns a list of all methods exposed by the AuroraView Python backend through the JS bridge.

emit_event Emit Event

Emit an event to the AuroraView frontend. Triggers a custom event that can be listened to by the frontend using window.auroraview.on(event, handler).

ParameterTypeDescription
event *stringEvent name.
dataEvent payload data.

get_dcc_context Get Dcc Context

Get the current DCC environment context. Retrieves information about the DCC application context including scene information, selection state, current frame, and project path. This tool requires an active connection to an AuroraView instance running inside a DCC application.

execute_dcc_command Execute Dcc Command

Execute a DCC native command. Executes commands in the DCC application's scripting environment. The command format depends on the DCC type: - Maya: "maya.cmds.ls", "maya.cmds.select", etc. - Blender: "bpy.ops.object.select_all", "bpy.data.objects", etc. - Houdini: "hou.node", "hou.selectedNodes", etc. - Nuke: "nuke.selectedNodes", "nuke.createNode", etc.

ParameterTypeDescription
command *stringCommand name with namespace (e.g., "maya.cmds.ls")
argsPositional arguments for the command
kwargsKeyword arguments for the command

sync_selection Sync Selection

Synchronize selection state between DCC and WebView. Gets the current selection from both the DCC application and the WebView UI, allowing for comparison and synchronization.

set_dcc_selection Set Dcc Selection

Set the selection in the DCC application. Selects the specified objects in the DCC application.

ParameterTypeDescription
objects *arrayList of object names/paths to select

get_dcc_scene_info Get Dcc Scene Info

Get detailed information about the current DCC scene. Retrieves comprehensive scene information including objects, materials, cameras, lights, and other scene elements.

get_dcc_timeline Get Dcc Timeline

Get timeline/animation information from the DCC application.

set_dcc_frame Set Dcc Frame

Set the current frame in the DCC application.

ParameterTypeDescription
frame *integerFrame number to set

get_console_logs Get Console Logs

Get console logs from the current page. Retrieves console messages (log, warn, error) from the page.

ParameterTypeDescription
levelFilter by log level ("log", "warn", "error", "info").
limitintegerMaximum number of logs to return.

get_network_requests Get Network Requests

Get network requests from the current page. Retrieves network request history from the page.

ParameterTypeDescription
methodFilter by HTTP method (GET, POST, etc.).
url_patternFilter by URL pattern (supports wildcards).

get_backend_status Get Backend Status

Get AuroraView Python backend status. Returns status information about the Python backend.

get_memory_info Get Memory Info

Get memory usage information. Returns memory usage information from the page.

clear_console Clear Console

Clear the console logs. Clears all console messages from the page.

discover_instances Discover Instances

Discover all running AuroraView instances. Scans specified ports (or default ports 9222-9225) to find running AuroraView/WebView2 instances with CDP enabled.

ParameterTypeDescription
portsList of ports to scan. If None, uses default ports [9222, 9223, 9224, 9225].

connect Connect

Connect to an AuroraView instance. Establishes a CDP connection to the specified port. After connecting, you can use other tools to interact with the instance.

ParameterTypeDescription
portintegerCDP port number. Default is 9222.

disconnect Disconnect

Disconnect from the current AuroraView instance. Closes the CDP connection to the currently connected instance.

list_dcc_instances List Dcc Instances

Discover AuroraView instances in DCC environments. Scans for AuroraView instances and enriches them with DCC context information (Maya, Blender, Houdini, Nuke, Unreal, etc.).

ParameterTypeDescription
portsList of ports to scan. If None, uses default ports.

get_samples Get Samples

Get list of available AuroraView samples. Returns information about all available sample applications.

ParameterTypeDescription
categoryFilter by category (e.g., "getting_started", "advanced").
tagsFilter by tags.

run_sample Run Sample

Run an AuroraView sample application. Starts a sample application in a new process.

ParameterTypeDescription
name *stringSample name (file name without extension or directory name).
portOptional CDP port for the sample.

stop_sample Stop Sample

Stop a running sample application. Terminates a running sample process.

ParameterTypeDescription
nameSample name to stop (if multiple, stops the first match).
pidProcess ID to stop.

get_sample_source Get Sample Source

Get the source code of a sample. Returns the main Python source file of a sample.

ParameterTypeDescription
name *stringSample name.

list_processes List Processes

List all running sample processes. Returns information about all tracked sample processes.

stop_all_samples Stop All Samples

Stop all running sample processes. Terminates all tracked sample processes including Gallery.

get_project_info Get Project Info

Get AuroraView project information. Returns paths and configuration for the AuroraView project.

list_pages List Pages

List all pages in the connected AuroraView instance. Returns all available pages/targets from the currently connected CDP instance.

select_page Select Page

Select a page to operate on. Selects a specific page for subsequent operations. You can select by page ID or by URL pattern (supports wildcards).

ParameterTypeDescription
page_idExact page ID to select.
url_patternURL pattern to match (supports * wildcards).

get_page_info Get Page Info

Get detailed information about the current page. Returns comprehensive information about the currently selected page, including AuroraView-specific status.

reload_page Reload Page

Reload the current page. Reloads the currently selected page. Use hard reload to bypass cache.

ParameterTypeDescription
hardbooleanIf True, performs a hard reload (ignores cache).

take_screenshot Take Screenshot

Take a screenshot of the current page. Captures a screenshot of the page or a specific element.

ParameterTypeDescription
full_pagebooleanIf True, captures the entire scrollable page.
pathFile path to save the screenshot. If None, returns base64.
selectorCSS selector to capture a specific element.

get_snapshot Get Snapshot

Get the accessibility tree snapshot of the current page. Returns a structured representation of the page's accessibility tree, useful for understanding page structure and finding interactive elements.

click Click

Click on an element. Clicks on an element identified by CSS selector or accessibility UID.

ParameterTypeDescription
selectorCSS selector of the element to click.
uidAccessibility tree UID of the element.

fill Fill

Fill an input element with text. Types text into an input, textarea, or selects an option from a select element.

ParameterTypeDescription
selector *stringCSS selector of the input element.
value *stringText value to fill.

evaluate Evaluate

Execute JavaScript code in the page context. Evaluates arbitrary JavaScript code and returns the result.

ParameterTypeDescription
script *stringJavaScript code to execute.

hover Hover

Hover over an element. Moves the mouse cursor over an element, triggering hover effects.

ParameterTypeDescription
selector *stringCSS selector of the element to hover.