To enable AI-powered development for your Tauri app, you must first register the MCP server with your AI assistant (e.g., Claude Code, Cursor, Windsurf, VS Code).
Using aix (Recommended)
Run the following command to automatically add the server:
npx -y @a1st/aix add mcp tauri --command 'npx @hypothesi/tauri-mcp-server' --user
Using the companion CLI
For a direct terminal workflow, install and use the CLI:
npm install -g @hypothesi/tauri-mcp-cli
tauri-mcp driver-session start --port 9223
Manual Configuration
Add the following to your MCP configuration file:
{
"mcpServers": {
"tauri": {
"command": "npx",
"args": ["-y", "@hypothesi/tauri-mcp-server"]
}
}
}
Config file locations:
- Claude Code: Cmd/Ctrl+Shift+P → "MCP: Edit Config"
- Cursor:
Cursor Settings → MCP → New MCP Server - VS Code: Add to
settings.json under mcp.servers - Windsurf: Cascade pane → MCPs icon → settings icon
- Cline: See Cline MCP configuration guide
Note: Restart your AI assistant after making these changes.