Victauri
Full-stack test and debug access to a running Tauri app, only in debug builds
Victauri is an MCP server for developer tools. It runs locally on your machine and is started by your AI client.
- Platforms
- CLI, macOS, Windows
- Runs
- Locally
- Version
- 0.10.4
- Listing updated
Similar MCP servers
Install
Run in a terminal
claude mcp add victauri -- npx -y victauri-cliAdd to claude_desktop_config.json
{
"mcpServers": {
"victauri": {
"command": "npx",
"args": [
"-y",
"victauri-cli"
]
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"victauri": {
"command": "npx",
"args": [
"-y",
"victauri-cli"
]
}
}
}Add to .vscode/mcp.json
{
"servers": {
"victauri": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"victauri-cli"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"victauri": {
"command": "npx",
"args": [
"-y",
"victauri-cli"
]
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"victauri": {
"command": "npx",
"args": [
"-y",
"victauri-cli"
]
}
}
}Using several servers? Build one config file with the MCP config generator.
About Victauri
Tauri apps are awkward to test: Playwright cannot attach to the webview on macOS or Linux, and frontend mocks hide backend bugs. Victauri embeds a small server inside the app's own process, so one test can click a button, confirm the Rust command ran and check the SQLite row was written. The same server also speaks MCP, which lets Claude Code, Cursor or Windsurf drive and inspect the running app.
The server is gated behind #[cfg(debug_assertions)], so init() does nothing in release builds. Because the app binary cannot use dev-dependencies, the crate still compiles in unless you make it an optional dependency behind a Cargo feature. Rust-side tools answer in well under a millisecond, and webview tools take about 10-30 ms. The database and state tools are read-only; invoke_command can deliberately call mutating commands, just like the frontend.
Platform limits are stated plainly: trusted OS-level input works only on Windows, and window screenshots on Linux need X11 or XWayland. A one-time evaluation in May 2026 against five open-source Tauri apps reported 867 of 895 checks passing.
Tools this server provides (7)
Taken from the project documentation; the running server may differ.
- query_db
- Read-only SQLite queries against the app's database.
- app_state
- Reads the Rust backend state.
- app_info
- App and process information.
- invoke_command
- Calls a Tauri command, including mutating ones, as the frontend would.
- eval_js
- Evaluates JavaScript in the webview.
- dom_snapshot
- Captures a snapshot of the webview DOM.
- interact
- Interacts with elements in the webview.
What it does
- Runs in-process
- The server lives inside the Tauri app, with direct access to the webview, IPC and Rust state.
- REST and MCP
- Tests call POST /api/tools/{name}; agents use the MCP interface.
- Ghost command detection
- Finds frontend calls to commands that do not exist, and backend commands never called.
- Time-travel recording
- Records interactions, checkpoints state and replays sequences to generate tests.
- Cross-platform
- Same tool surface on macOS, Windows and Linux, headless in CI under xvfb.
- Release-safe
- Nothing listens in release builds because the server is debug-only.
Good for
- Write end-to-end tests spanning UI, IPC and the database
- Let an agent debug a running Tauri app
- Compare DOM state with Rust backend state to catch drift
- Run Tauri tests in CI without a WebDriver grid
- Find orphaned commands between frontend and backend
Victauri FAQ
Does Victauri ship in release builds?
The server is gated behind debug_assertions, so it does nothing in release; making the crate an optional dependency keeps it out of the binary entirely.
Does Victauri need WebDriver or a browser?
No. The README says there is no WebDriver or browser dependency.
Can Victauri modify my database?
The database and state tools are read-only, though invoke_command can call mutating commands like the frontend can.
Which platforms work?
macOS, Windows and Linux, with documented limits on trusted input and Wayland screenshots.
How do I add Victauri to Claude Code?
Run this command in your terminal: claude mcp add victauri -- npx -y victauri-cli
What are the best alternatives to Victauri?
The closest alternatives to Victauri are MCP Server Tauri, taria, Tavero, TestMu AI (formerly LambdaTest) and Vibe Test — Browser Testing Agent.
Where this comes from
- Description: written from the project's README and the project's website.
- Install steps: from the official MCP Registry entry.