Expand description
Victauri — full-stack introspection for Tauri apps via an embedded MCP server.
Add this plugin to your Tauri app for AI-agent-driven testing and debugging: DOM snapshots, IPC tracing, cross-boundary verification, and 59 more tools — all accessible over the Model Context Protocol.
§Quick Start
ⓘ
tauri::Builder::default()
.plugin(victauri_plugin::init())
.run(tauri::generate_context!())
.unwrap();In debug builds this starts an MCP server on port 7373. In release builds the plugin is a no-op with zero overhead.
§Configuration
ⓘ
tauri::Builder::default()
.plugin(
victauri_plugin::VictauriBuilder::new()
.port(8080)
.generate_auth_token()
.strict_privacy_mode()
.build(),
)
.run(tauri::generate_context!())
.unwrap();Re-exports§
pub use error::BuilderError;
Modules§
Structs§
- Victauri
Builder - Builder for configuring the Victauri plugin before adding it to a Tauri app.
- Victauri
State - Runtime state shared between the MCP server and all tool handlers.
Functions§
- init
- Initialize the Victauri plugin with default settings (port 7373 or VICTAURI_PORT env var).
Type Aliases§
- Pending
Callbacks - Map of pending JavaScript eval callbacks, keyed by request ID. Each entry holds a oneshot sender that resolves when the webview returns a result.
Attribute Macros§
- inspectable
- Marks a
#[tauri::command]as inspectable by Victauri.