tauri-mcp
Enables interaction with Tauri applications, allowing AI agents to capture screenshots, inspect the DOM, simulate user inputs like clicking and typing, and execute JavaScript within the application's webview context.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@tauri-mcpClick the login button and type 'user@example.com' in the email field."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
tauri-mcp
A Tauri plugin that lets AI agents (Claude Code, Cursor, etc.) interact with your Tauri app through screenshots, DOM inspection, and input simulation using the Model Context Protocol (MCP).
Features
Screenshots — capture the app window on macOS, Linux, and Windows
DOM access — read the full HTML of any webview window
Element interaction — click, type, drag, hover via simulated input
JavaScript execution — run arbitrary JS in the webview context
Element position — find elements by id, class, tag, or text content
Related MCP server: MCP Server Tauri
Installation
# Cargo.toml
[dependencies]
tauri-plugin-mcp = { git = "https://github.com/DonsWayo/tauri-mcp", optional = true }Register the plugin in your Tauri app:
// src-tauri/src/lib.rs
#[cfg(feature = "mcp-e2e")]
app.plugin(tauri_plugin_mcp::init())?;The plugin opens a Unix domain socket at /tmp/<app-name>-mcp.sock that MCP clients connect to.
macOS Screenshots
The plugin uses screencapture -l <CGWindowID> instead of xcap. This means:
No Screen Recording permission required for the Tauri app itself
Only Terminal (or your terminal emulator) needs Screen Recording access
Works with unsigned debug builds without code signing entitlements
Avoids a crash in
xcap::Window::all()triggered by certain system windows on recent macOS versions
Linux Screenshots
Uses xcap for X11 window capture with multi-pass window matching by app name and title.
Usage with Claude Code
Add to .mcp.json:
{
"mcpServers": {
"nucel-e2e": {
"type": "stdio",
"command": "node",
"args": ["path/to/mcp-server/build/index.js", "/tmp/your-app-mcp.sock"]
}
}
}This project started as a fork of P3GLEG/tauri-plugin-mcp and has since diverged significantly.
License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityCmaintenanceEnables AI-driven testing and automation of Tauri desktop applications through natural language, allowing users to interact with UI elements, capture screenshots, execute commands, and test application flows without manual clicking or complex scripts.Last updated96MIT
- AlicenseAqualityAmaintenanceEnables AI assistants to build, test, and debug Tauri v2 applications with UI automation, IPC monitoring, mobile device management, and real-time access to screenshots, DOM state, and console logs.Last updated20266MIT
- AlicenseBqualityBmaintenanceEnables AI assistants to automate and test Tauri desktop applications through the Model Context Protocol. It provides tools for app management, UI interaction, and state inspection across multiple platforms without requiring CDP dependencies.Last updated147082MIT
- Alicense-qualityBmaintenanceAn MCP server that allows AI agents to interact with and debug Tauri applications through screenshots, DOM access, input simulation, and more.Last updated708104MIT
Related MCP Connectors
AI-powered browser automation — navigate, click, fill forms, and extract data from any website.
Live browser debugging for AI assistants — DOM, console, network via MCP.
Give your agent live data from Twitter, Reddit, the web and GitHub. No API keys, no scraping stack.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/DonsWayo/tauri-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server