# Victauri

> Victauri is an MCP server for developer tools. Full-stack test and debug access to a running Tauri app, only in debug builds. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Platforms:** CLI, macOS, Windows, Linux
- **Website:** https://4da-systems.github.io/Victauri/
- **Repository:** https://github.com/4da-systems/victauri
- **MCP Registry name:** io.github.4DA-Systems/victauri
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-11-14

## About

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.

## Features

- **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

## Install

### Claude Code (Terminal)

```sh
claude mcp add victauri -- npx -y victauri-cli
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "victauri": {
      "command": "npx",
      "args": [
        "-y",
        "victauri-cli"
      ]
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "victauri": {
      "command": "npx",
      "args": [
        "-y",
        "victauri-cli"
      ]
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "victauri": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "victauri-cli"
      ]
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "victauri": {
      "command": "npx",
      "args": [
        "-y",
        "victauri-cli"
      ]
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "victauri": {
      "command": "npx",
      "args": [
        "-y",
        "victauri-cli"
      ]
    }
  }
}
```

## Tools

- `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.

## 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.

## Alternatives

- [MCP Server Tauri](https://ai-powered.com/mcp/mcp-server-tauri-2): MCP Server Tauri is an open-source MCP server for developer tools.
- [taria](https://ai-powered.com/mcp/taria): taria is an open-source MCP server for developer tools.
- [Tavero](https://ai-powered.com/mcp/tavero): Tavero is an open-source MCP server for developer tools.
- [TestMu AI (formerly LambdaTest)](https://ai-powered.com/mcp/testmu-ai-formerly-lambdatest): TestMu AI (formerly LambdaTest) is a freemium MCP server for developer tools.
- [Vibe Test — Browser Testing Agent](https://ai-powered.com/mcp/vibe-test-browser-testing-agent): Vibe Test — Browser Testing Agent is an open-source MCP server for browser automation.
- [Tewip](https://ai-powered.com/mcp/tewip): Tewip is an MCP server for developer tools.
- [Vard](https://ai-powered.com/mcp/vard): Vard is an open-source MCP server for developer tools.
- [Universal Test Framework](https://ai-powered.com/mcp/universal-test-framework): Universal Test Framework is an open-source MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/victauri
