Skip to content
Cursor

Tauri Hasgard for Cursor

io.github.nyssance/tauri-hasgard

Inspect and drive a running Tauri app's native webviews: snapshot, click, type, screenshot.

client:Cursor transport:stdio runtime:npm

Install Tauri Hasgard in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "tauri-hasgard": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "tauri-hasgard"
      ],
      "env": {
        "TAURI_HASGARD_SOCKET": "<TAURI_HASGARD_SOCKET>",
        "TAURI_HASGARD_WINDOW": "<TAURI_HASGARD_WINDOW>",
        "TAURI_HASGARD_MCP_ENABLE_DANGEROUS_TOOLS": "<TAURI_HASGARD_MCP_ENABLE_DANGEROUS_TOOLS>"
      }
    }
  }
}

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

Tauri Hasgard in other clients