Tauri Hasgard for VS Code
io.github.nyssance/tauri-hasgard
Inspect and drive a running Tauri app's native webviews: snapshot, click, type, screenshot.
client:VS Code
transport:stdio
runtime:npm
Install Tauri Hasgard in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "tauri-hasgard-socket",
"description": "TAURI_HASGARD_SOCKET",
"password": true
},
{
"type": "promptString",
"id": "tauri-hasgard-window",
"description": "TAURI_HASGARD_WINDOW",
"password": true
},
{
"type": "promptString",
"id": "tauri-hasgard-mcp-enable-dangerous-tools",
"description": "TAURI_HASGARD_MCP_ENABLE_DANGEROUS_TOOLS",
"password": true
}
],
"servers": {
"tauri-hasgard": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"tauri-hasgard"
],
"env": {
"TAURI_HASGARD_SOCKET": "${input:tauri-hasgard-socket}",
"TAURI_HASGARD_WINDOW": "${input:tauri-hasgard-window}",
"TAURI_HASGARD_MCP_ENABLE_DANGEROUS_TOOLS": "${input:tauri-hasgard-mcp-enable-dangerous-tools}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs