This template should help get you started developing with Tauri, SvelteKit and TypeScript in Vite.
VS Code + Svelte + Tauri + rust-analyzer.
Install dependencies and run the standard checks:
pnpm install
pnpm check
pnpm lint
pnpm format:check
pnpm buildGit hooks are managed by Husky and installed by the package prepare script. The default hooks run:
pre-commit:pnpm format:check,pnpm lint, andcargo fmt --checkpre-push:pnpm build
Rust checks run from the Tauri workspace:
cd src-tauri
cargo fmt --check
cargo checkOn Linux, install the Tauri WebKit GTK development dependencies for your distribution before running cargo check or pnpm tauri dev.
This app includes tauri-plugin-mcp-bridge for local MCP-driven Tauri inspection and automation during development.
- The Rust plugin is enabled only in debug builds.
- The bridge binds to
127.0.0.1by default. - The default Tauri capability grants
mcp-bridge:default. - The optional TypeScript bindings are installed as
@hypothesi/tauri-plugin-mcp-bridge.
Run the app in dev mode:
pnpm tauri devConfigure an MCP client with the companion server:
npx -y install-mcp @hypothesi/tauri-mcp-server --client codexThe bridge listens on port 9223, or the next available port in the plugin's configured range.