@hypothesi/tauri-mcp-server 0.2.0 → 0.2.1

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 (3) hide show
  1. package/LICENSE +0 -18
  2. package/README.md +12 -3
  3. package/package.json +1 -1
package/LICENSE CHANGED
@@ -19,21 +19,3 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
19
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
20
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
21
  SOFTWARE.
22
-
23
- ---
24
-
25
- Apache License, Version 2.0
26
-
27
- Copyright (c) 2025 Fireside Development, LLC
28
-
29
- Licensed under the Apache License, Version 2.0 (the "License");
30
- you may not use this file except in compliance with the License.
31
- You may obtain a copy of the License at
32
-
33
- http://www.apache.org/licenses/LICENSE-2.0
34
-
35
- Unless required by applicable law or agreed to in writing, software
36
- distributed under the License is distributed on an "AS IS" BASIS,
37
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
38
- See the License for the specific language governing permissions and
39
- limitations under the License.
package/README.md CHANGED
@@ -31,13 +31,21 @@ tauri-plugin-mcp-bridge = "0.1"
31
31
  ```rust
32
32
  // src-tauri/src/main.rs
33
33
  fn main() {
34
- tauri::Builder::default()
35
- .plugin(tauri_plugin_mcp_bridge::init())
34
+ let mut builder = tauri::Builder::default();
35
+
36
+ #[cfg(debug_assertions)]
37
+ {
38
+ builder = builder.plugin(tauri_plugin_mcp_bridge::init());
39
+ }
40
+
41
+ builder
36
42
  .run(tauri::generate_context!())
37
43
  .expect("error while running tauri application");
38
44
  }
39
45
  ```
40
46
 
47
+ > **Note:** The npm package `@hypothesi/tauri-plugin-mcp-bridge` is **optional**—only needed if you want to call the plugin from your app's frontend code. The MCP server communicates with the Rust plugin directly via WebSocket.
48
+
41
49
  ### 2. Configure Your AI Assistant
42
50
 
43
51
  **Claude Code:**
@@ -66,7 +74,7 @@ claude mcp add tauri npx @hypothesi/tauri-mcp-server
66
74
  | Tool | Description |
67
75
  |------|-------------|
68
76
  | `tauri_webview_screenshot` | Capture webview screenshots |
69
- | `tauri_driver_session` | Start/stop automation session |
77
+ | `tauri_list_windows` | List all open webview windows |
70
78
  | `tauri_webview_find_element` | Find elements by selector |
71
79
  | `tauri_webview_interact` | Click, scroll, swipe, long-press |
72
80
  | `tauri_webview_keyboard` | Type text or send key events |
@@ -76,6 +84,7 @@ claude mcp add tauri npx @hypothesi/tauri-mcp-server
76
84
  | `tauri_webview_focus_element` | Focus on elements |
77
85
  | `tauri_driver_get_console_logs` | Get browser console logs |
78
86
  | `tauri_read_platform_logs` | Read Android/iOS/system logs |
87
+ | `tauri_driver_session` | Start/stop automation session |
79
88
 
80
89
  ### IPC & Plugin
81
90
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hypothesi/tauri-mcp-server",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "A Model Context Protocol server for Tauri v2 development",
5
5
  "type": "module",
6
6
  "bin": {