Tauri MCP Server

Guest bindings for tauri-plugin-mcp — lets AI agents interact with and debug Tauri apps

Local serverstdioGo

What is the Tauri MCP Server?

Guest bindings for tauri-plugin-mcp — lets AI agents interact with and debug Tauri apps

What you get

A Tauri plugin and MCP server that allow AI agents such as Cursor and Claude Code to interact with and debug your Tauri application through screenshots, DOM access, input simulation, and more.

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
take_screenshotCaptures a screenshot of an application window. Saves full image to disk with small thumbnail inline (optimized for token efficiency).
query_pageInspects the current page. Modes: map (structured element refs), html (raw DOM), state (URL/title/scroll/viewport), find_element (CSS pixel coordinates for clicking), app_info (app metadata, windows, monitors).
clickClicks via selector (ref, id, class, css, tag, text) or at raw x/y coordinates. Selector-based left clicks dispatch synthetic pointer events at the element (no OS permissions needed); right/middle/double and raw x/y clic
read_textReads visible text of elements matching a CSS selector: per-element {tag, text, visible, attrs?}, whitespace-collapsed, output hard-capped with a truncated flag. The structured replacement for execute_js text-scraping sn
inspect_elementBounding rect, computed styles (default layout/color set or explicit style_props), classList and attributes — for visual/layout QA without execute_js getComputedStyle snippets.
dispatch_pointerSynthetic pointer/mouse gesture chains (click, dblclick, down, up, hover, drag) on the exact matched element, no retargeting. Element-relative offset for canvas hit-testing; drags interpolate moves on the element and doc
app_bridgeCalls helpers the host app registered via window.__MCP_BRIDGE__.register(name, fn, description) — list to discover, call to invoke (async supported, results serialized + truncated). The sanctioned path to app state inste
type_textTypes text into the page. Supports a fields array for bulk form fill, selector targeting, or typing into the focused element. Selects options in <select> dropdowns by value or label, and attaches files to <input type="fi
press_keyPresses keyboard keys the typing tools can't express: Escape, Enter, Tab, arrows, Backspace/Delete, F-keys, and modifier chords (cmd+a). Emulates default actions (Enter submits, Tab moves focus) unless the app prevents t
mouse_actionNon-click mouse actions: hover, scroll (by direction/amount/to element/to top/bottom), drag (start to end coordinates).
navigateWebview navigation: goto (URL), back/forward (with optional delta), reload.
execute_jsRuns arbitrary JavaScript in the webview. Returns the last expression's value; promises are awaited. The universal escape hatch.
manage_storagelocalStorage operations (get/set/remove/clear/keys) and cookie management (get/clear).
manage_windowWindow control (list/focus/minimize/maximize/close/position/size/fullscreen), zoom, devtools, and webview state management.

How to install the Tauri MCP Server

{
  "mcpServers": {
    "tauri-mcp": {
      "command": "npx",
      "args": ["tauri-plugin-mcp-server"]
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
TAURI_MCP_IPC_PATHFilesystem location the server is allowed to use.Optional
TAURI_MCP_CONNECTION_TYPEConfiguration value read at startup.Optional
TAURI_MCP_TCP_HOSTEndpoint or connection string the server talks to.Optional
TAURI_MCP_TCP_PORTConfiguration value read at startup.Optional
TAURI_MCP_AUTH_TOKENCredential the server authenticates with.Yes

Example prompts to try

  • “Use Tauri to take screenshot.”
  • “Use Tauri to query page.”
  • “Use Tauri to click.”

Frequently asked questions

Guest bindings for tauri-plugin-mcp — lets AI agents interact with and debug Tauri apps Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.