@hypothesi/tauri-mcp-server 0.1.1 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +116 -0
  2. package/package.json +1 -1
package/README.md ADDED
@@ -0,0 +1,116 @@
1
+ # @hypothesi/tauri-mcp-server
2
+
3
+ [![npm version](https://img.shields.io/npm/v/@hypothesi/tauri-mcp-server)](https://www.npmjs.com/package/@hypothesi/tauri-mcp-server)
4
+ [![License: MIT](https://img.shields.io/badge/License-MIT-8b5cf6.svg)](https://github.com/hypothesi/mcp-server-tauri/blob/main/LICENSE)
5
+
6
+ A **Model Context Protocol (MCP) server** that enables AI assistants like Claude, Cursor, and Windsurf to build, test, and debug Tauri v2 applications.
7
+
8
+ 📖 **[Full Documentation](https://hypothesi.github.io/mcp-server-tauri)**
9
+
10
+ ## Features
11
+
12
+ | Category | Capabilities |
13
+ |----------|-------------|
14
+ | 🎯 **UI Automation** | Screenshots, clicks, typing, scrolling—all via WebSocket |
15
+ | 🔍 **IPC Monitoring** | Capture and inspect Tauri IPC calls in real-time |
16
+ | 📱 **Mobile Dev** | Manage Android emulators & iOS simulators |
17
+ | 🛠️ **CLI Integration** | Run any Tauri command (`init`, `dev`, `build`, etc.) |
18
+ | ⚙️ **Configuration** | Read/write Tauri config files with validation |
19
+ | 📋 **Logs** | Stream Android logcat, iOS device logs, system logs |
20
+
21
+ ## Quick Start
22
+
23
+ ### 1. Add the MCP Bridge Plugin to Your Tauri App
24
+
25
+ ```toml
26
+ # Cargo.toml
27
+ [dependencies]
28
+ tauri-plugin-mcp-bridge = "0.1"
29
+ ```
30
+
31
+ ```rust
32
+ // src-tauri/src/main.rs
33
+ fn main() {
34
+ tauri::Builder::default()
35
+ .plugin(tauri_plugin_mcp_bridge::init())
36
+ .run(tauri::generate_context!())
37
+ .expect("error while running tauri application");
38
+ }
39
+ ```
40
+
41
+ ### 2. Configure Your AI Assistant
42
+
43
+ **Claude Code:**
44
+
45
+ ```bash
46
+ claude mcp add tauri npx @hypothesi/tauri-mcp-server
47
+ ```
48
+
49
+ **Cursor / VS Code / Windsurf / Cline:**
50
+
51
+ ```json
52
+ {
53
+ "mcpServers": {
54
+ "tauri": {
55
+ "command": "npx",
56
+ "args": ["-y", "@hypothesi/tauri-mcp-server"]
57
+ }
58
+ }
59
+ }
60
+ ```
61
+
62
+ ## Available Tools
63
+
64
+ ### UI Automation
65
+
66
+ | Tool | Description |
67
+ |------|-------------|
68
+ | `tauri_webview_screenshot` | Capture webview screenshots |
69
+ | `tauri_driver_session` | Start/stop automation session |
70
+ | `tauri_webview_find_element` | Find elements by selector |
71
+ | `tauri_webview_interact` | Click, scroll, swipe, long-press |
72
+ | `tauri_webview_keyboard` | Type text or send key events |
73
+ | `tauri_webview_wait_for` | Wait for elements, text, or events |
74
+ | `tauri_webview_get_styles` | Get computed CSS styles |
75
+ | `tauri_webview_execute_js` | Execute JavaScript in webview |
76
+ | `tauri_webview_focus_element` | Focus on elements |
77
+ | `tauri_driver_get_console_logs` | Get browser console logs |
78
+ | `tauri_read_platform_logs` | Read Android/iOS/system logs |
79
+
80
+ ### IPC & Plugin
81
+
82
+ | Tool | Description |
83
+ |------|-------------|
84
+ | `tauri_plugin_execute_ipc` | Execute Tauri IPC commands |
85
+ | `tauri_plugin_get_window_info` | Get window information |
86
+ | `tauri_plugin_get_backend_state` | Get app metadata and state |
87
+ | `tauri_plugin_ipc_monitor` | Start/stop IPC monitoring |
88
+ | `tauri_plugin_ipc_get_events` | Get captured IPC events |
89
+ | `tauri_plugin_emit_event` | Emit custom events |
90
+
91
+ ### Mobile Development
92
+
93
+ | Tool | Description |
94
+ |------|-------------|
95
+ | `tauri_list_devices` | List Android devices and iOS simulators |
96
+ | `tauri_launch_emulator` | Launch Android AVD or iOS Simulator |
97
+
98
+ ### Project Management
99
+
100
+ | Tool | Description |
101
+ |------|-------------|
102
+ | `tauri_run_command` | Run any Tauri CLI command |
103
+ | `tauri_read_config` | Read Tauri config files |
104
+ | `tauri_write_config` | Write config files with validation |
105
+ | `tauri_get_docs` | Fetch Tauri documentation |
106
+
107
+ ## Links
108
+
109
+ - [Documentation](https://hypothesi.github.io/mcp-server-tauri)
110
+ - [GitHub Repository](https://github.com/hypothesi/mcp-server-tauri)
111
+ - [MCP Bridge Plugin (crates.io)](https://crates.io/crates/tauri-plugin-mcp-bridge)
112
+ - [Changelog](https://github.com/hypothesi/mcp-server-tauri/blob/main/packages/mcp-server/CHANGELOG.md)
113
+
114
+ ## License
115
+
116
+ MIT © [hypothesi](https://github.com/hypothesi)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hypothesi/tauri-mcp-server",
3
- "version": "0.1.1",
3
+ "version": "0.1.3",
4
4
  "description": "A Model Context Protocol server for Tauri v2 development",
5
5
  "type": "module",
6
6
  "bin": {