- Home
- MCP servers
- Tauri Automation
Tauri Automation
- typescript
0
GitHub Stars
typescript
Language
7 months ago
First Indexed
3 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"radek44-mcp-tauri-automation": {
"command": "node",
"args": [
"/absolute/path/to/mcp-tauri-automation/dist/index.js"
],
"env": {
"TAURI_APP_PATH": "/absolute/path/to/default/app",
"TAURI_DRIVER_PATH": "tauri-driver",
"TAURI_SCREENSHOT_DIR": "./screenshots",
"TAURI_WEBDRIVER_PORT": "4444",
"TAURI_DEFAULT_TIMEOUT": "5000"
}
}
}
}This MCP server enables you to automate and test your Tauri desktop apps using natural language. By connecting Claude Code or other MCP clients, you can drive your app through UI interactions, take screenshots, and invoke custom Tauri commands, all without writing complex test scripts. It streamlines repetitive testing and debugging workflows while you code.
How to use
You interact with the server through an MCP client that supports stdio transport. Start the tauri automation server, ensure the WebDriver backend is running, and then ask Claude to perform UI actions or run commands. You can launch apps, click elements by selectors, type text, capture screenshots, and verify results using natural language prompts.
How to install
Prerequisites you need installed before wiring up this MCP server:
-
Node.js 18+ and npm or another supported package manager
-
Rust and Cargo for tauri-driver (required to control Tauri apps)
How to install
# 1) Install tauri-driver
cargo install tauri-driver
# 2) Install this MCP server
# Clone the project repository you are using
git clone <repo-url>
cd mcp-tauri-automation
npm install && npm run build
Configure the MCP server
You run the MCP server locally using stdio transport. The server is started by invoking Node with the built entry point. You can optionally set environment variables to tailor behavior for your Tauri app.
# Example to register the server with Claude Code (simplest setup; specify your app when prompting Claude)
claude mcp add --transport stdio tauri-automation \
--scope user \
--node /absolute/path/to/mcp-tauri-automation/dist/index.js
{""} ]}]},{
## Available tools
### launch\_app
Launch your Tauri application and establish a testing session using UI automation commands.
### close\_app
Close the running Tauri application and clean up the session.
### capture\_screenshot
Capture a screenshot of the current app state; returns a base64-encoded PNG for display.
### click\_element
Click a UI element identified by a CSS selector to drive UI interactions.
### type\_text
Type text into input fields or editable elements within the app.
### wait\_for\_element
Wait for a specific UI element to appear or become interactable within a timeout.
### get\_element\_text
Read visible text from a UI element.
### execute\_tauri\_command
Invoke a custom Tauri IPC command exposed by your Rust backend.
### get\_app\_state
Check whether the app is running and retrieve session information.