Skip to content
Back to search

tauri-ai-tools

MarketplaceWorks with Claude CodeGitHub

Tauri v2 docs MCP server, static autofixer, CLI, and AI editor plugins (unofficial).

Safety scan

A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.

Checked today
Badge for your README
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/agnanp--tauri-ai-tools/badge.svg)](/listings/agnanp--tauri-ai-tools)

HTML

<a href="/listings/agnanp--tauri-ai-tools"><img src="/api/listings/agnanp--tauri-ai-tools/badge.svg" alt="findsafeskills safety rating" /></a>

Install

Install instructions from the README

As written by the repo's author. findsafeskills has not verified these steps.

1. Remote MCP with Docker (Streamable HTTP)

docker compose up -d --build

- **MCP endpoint**: `http://localhost:3000/mcp` - **Healthcheck**: `curl http://localhost:3000/healthz` (`{"ok":true}`) - **Persistent cache**: Named volume mounted at `/data/cache` (runs as non-root `node` user)

Point any Streamable HTTP MCP client (such as Antigravity, Cursor, or OpenCode) to your container:

{
	"mcpServers": {
		"tauri-docs": {
			"url": "http://localhost:3000/mcp"
		}
	}
}

HTTP Environment Variables

| Variable | Default | Description | | :--- | :--- | :--- | | `HOST` | `0.0.0.0` | Bind address for `tauri-mcp serve` | | `PORT` | `3000` | TCP port (`0..65535`) | | `TAURI_MCP_CACHE_DIR` | `/data/cache` (Docker) / OS cache | Directory storing `llms-full-cache.json` | | `ALLOWED_ORIGINS` | *(empty — cross-origin denied)* | Comma-separated origins allowed for browser CORS requests | | `MAX_BODY_BYTES` | `1048576` (1 MiB) | Maximum POST body size before returning `413` |

> **Note:** In remote HTTP mode (`stdio: false`), `tauri-autofixer` validates inline code/JSON snippets only and never reads files from the server's disk. Cross-origin browser requests are blocked (`403`) unless `ALLOWED_ORIGINS` is configured. Put a reverse proxy (HTTPS + auth) in front before exposing beyond localhost/LAN.

2. Local Stdio MCP

Requirements: Node.js 24+ and `pnpm` (`12.16.1`).

pnpm install
pnpm build

Configure your MCP host to run the built binary (or `npx -y @tauri-ai-tools/mcp` once published):

{
	"mcpServers": {
		"tauri-docs": {
			"command": "node",
			"args": ["/path/to/tauri-ai-tools/packages/mcp-stdio/dist/index.mjs"]
		}
	}
}

In stdio mode (`stdio: true`), `tauri-autofixer` accepts either inline code or a local file path.

3. CLI Usage

node packages/mcp-stdio/dist/index.mjs list-sections
node packages/mcp-stdio/dist/index.mjs search-docs "TrayIconBuilder" --category learn --limit 5
node packages/mcp-stdio/dist/index.mjs get-documentation "plugin/file-system#Permission Table" --query write-text-file
node packages/mcp-stdio/dist/index.mjs tauri-autofixer ./src-tauri/capabilities/default.json
node packages/mcp-stdio/dist/index.mjs serve --host 0.0.0.0 --port 3000 --path /mcp

What was scanned

The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.

.claude-plugin/marketplace.json · Manifest · 16 lines
  1. {
  2. "name": "tauri-ai-tools",
  3. "owner": {
  4. "name": "tauri-ai-tools"
  5. },
  6. "metadata": {
  7. "description": "Tauri v2 plugins for AI coding tools"
  8. },
  9. "plugins": [
  10. {
  11. "name": "tauri",
  12. "source": "./plugins/claude/tauri",
  13. "description": "Tauri v2 MCP docs, autofixer, skills, and tauri-file-editor subagent for Claude Code"
  14. }
  15. ]
  16. }
README.md · README · 122 lines
  1. # tauri-ai-tools
  2. > Unofficial community MCP server, CLI, and editor plugin suite for **Tauri v2**. Not affiliated with or endorsed by The Tauri Programme.
  3. `tauri-ai-tools` indexes live Tauri v2 documentation from [`https://v2.tauri.app/llms-full.txt`](https://v2.tauri.app/llms-full.txt) (with 24-hour memory + atomic disk caching) and validates Tauri v2 configs, capabilities, frontend API calls, and Rust commands.
  4. ## Features
  5. - **MCP Tools**:
  6. - `list-sections`: Lists top-level Tauri v2 documentation sections with `title`, `use_cases`, and `path`.
  7. - `search-docs`: Searches across section titles, `use_cases`, subheadings, and body/table lines (`category` and `limit` filters).
  8. - `get-documentation`: Fetches full sections, `path#Subheading` slices, or `query`-filtered reference tables (pages over 40 KB return a lean guide summary + outline by default).
  9. - `tauri-autofixer`: Static checker and migration helper for `tauri.conf.json`, `capabilities/*.json` (validated against live official permission tables), frontend `@tauri-apps/*` imports, and Rust `#[tauri::command]` code.
  10. - **MCP Resource & Prompt**:
  11. - `Tauri-Doc-Section` (`tauri://{/slug*}.md`) resource template with slug completion.
  12. - `tauri-task` prompt with section catalog and retrieval/autofixer workflow instructions.
  13. - **Transports**: Streamable HTTP (`tauri-mcp serve` + Docker) and local stdio (`tauri-mcp`).
  14. - **Editor Packaging**: Synced skills, subagent (`tauri-file-editor`), and instructions for Claude Code, Cursor, OpenCode, and `skills.sh`.
  15. ## Quick Start
  16. ### 1. Remote MCP with Docker (Streamable HTTP)
  17. ```bash
  18. docker compose up -d --build
  19. ```
  20. - **MCP endpoint**: `http://localhost:3000/mcp`
  21. - **Healthcheck**: `curl http://localhost:3000/healthz` (`{"ok":true}`)
  22. - **Persistent cache**: Named volume mounted at `/data/cache` (runs as non-root `node` user)
  23. Point any Streamable HTTP MCP client (such as Antigravity, Cursor, or OpenCode) to your container:
  24. ```json
  25. {
  26. "mcpServers": {
  27. "tauri-docs": {
  28. "url": "http://localhost:3000/mcp"
  29. }
  30. }
  31. }
  32. ```
  33. #### HTTP Environment Variables
  34. | Variable | Default | Description |
  35. | :--- | :--- | :--- |
  36. | `HOST` | `0.0.0.0` | Bind address for `tauri-mcp serve` |
  37. | `PORT` | `3000` | TCP port (`0..65535`) |
  38. | `TAURI_MCP_CACHE_DIR` | `/data/cache` (Docker) / OS cache | Directory storing `llms-full-cache.json` |
  39. | `ALLOWED_ORIGINS` | *(empty — cross-origin denied)* | Comma-separated origins allowed for browser CORS requests |
  40. | `MAX_BODY_BYTES` | `1048576` (1 MiB) | Maximum POST body size before returning `413` |
  41. > **Note:** In remote HTTP mode (`stdio: false`), `tauri-autofixer` validates inline code/JSON snippets only and never reads files from the server's disk. Cross-origin browser requests are blocked (`403`) unless `ALLOWED_ORIGINS` is configured. Put a reverse proxy (HTTPS + auth) in front before exposing beyond localhost/LAN.
  42. ### 2. Local Stdio MCP
  43. Requirements: Node.js 24+ and `pnpm` (`12.16.1`).
  44. ```bash
  45. pnpm install
  46. pnpm build
  47. ```
  48. Configure your MCP host to run the built binary (or `npx -y @tauri-ai-tools/mcp` once published):
  49. ```json
  50. {
  51. "mcpServers": {
  52. "tauri-docs": {
  53. "command": "node",
  54. "args": ["/path/to/tauri-ai-tools/packages/mcp-stdio/dist/index.mjs"]
  55. }
  56. }
  57. }
  58. ```
  59. In stdio mode (`stdio: true`), `tauri-autofixer` accepts either inline code or a local file path.
  60. ### 3. CLI Usage
  61. ```bash
  62. node packages/mcp-stdio/dist/index.mjs list-sections
  63. node packages/mcp-stdio/dist/index.mjs search-docs "TrayIconBuilder" --category learn --limit 5
  64. node packages/mcp-stdio/dist/index.mjs get-documentation "plugin/file-system#Permission Table" --query write-text-file
  65. node packages/mcp-stdio/dist/index.mjs tauri-autofixer ./src-tauri/capabilities/default.json
  66. node packages/mcp-stdio/dist/index.mjs serve --host 0.0.0.0 --port 3000 --path /mcp
  67. ```
  68. ## Editor Plugins & Skills
  69. Canonical skills, agent definitions, and instructions live under `tools/` and are synced to editor targets via `pnpm sync-plugins`:
  70. - **Claude Code**: `.claude-plugin/marketplace.json` + `plugins/claude/tauri/`
  71. - **Cursor**: `.cursor-plugin/marketplace.json` + `plugins/cursor/tauri/`
  72. - **OpenCode**: `packages/opencode/` (`@tauri-ai-tools/opencode`) — injects MCP, skills, instructions, and `tauri-file-editor` subagent via `tauri.json`, while preserving any existing `tauri-docs` entry (including remote HTTP configs)
  73. - **skills.sh**: `skills.sh.json`
  74. ## Project Structure
  75. - `packages/mcp-server`: Docs fetcher/parser/cache, MCP tools/resources/prompts, and Tauri v2 autofixer rules
  76. - `packages/mcp-stdio`: `tauri-mcp` CLI binary, stdio transport, and Streamable HTTP server (`serve`)
  77. - `packages/opencode`: OpenCode plugin and config schema
  78. - `tools/`: Canonical skills (`tauri-code-writer`, `tauri-v2-bestpractices`), agent (`tauri-file-editor`), and instructions
  79. - `scripts/`: Sync scripts for Claude, Cursor, and OpenCode plugins
  80. - `Dockerfile` & `compose.yaml`: Multi-stage non-root Docker setup
  81. ## Development
  82. ```bash
  83. pnpm install
  84. pnpm check # Type-check all packages
  85. pnpm test # Run Vitest suite
  86. pnpm build # Build packages & run publint
  87. pnpm sync-plugins # Sync tools/ to Claude, Cursor, and OpenCode
  88. ```
  89. ## Credits & License
  90. - Architecture inspired by [`sveltejs/ai-tools`](https://github.com/sveltejs/ai-tools) (MIT).
  91. - Documentation fetched at runtime from [`v2.tauri.app`](https://v2.tauri.app).
  92. - Licensed under the [MIT License](./LICENSE).

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.