@hypothesi/tauri-mcp-server 0.2.0 → 0.2.2

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 +17 -21
  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
@@ -22,42 +22,37 @@ A **Model Context Protocol (MCP) server** that enables AI assistants like Claude
22
22
 
23
23
  ### 1. Add the MCP Bridge Plugin to Your Tauri App
24
24
 
25
- ```toml
26
- # Cargo.toml
27
- [dependencies]
28
- tauri-plugin-mcp-bridge = "0.1"
25
+ ```bash
26
+ cargo add tauri-plugin-mcp-bridge
29
27
  ```
30
28
 
31
29
  ```rust
32
30
  // src-tauri/src/main.rs
33
31
  fn main() {
34
- tauri::Builder::default()
35
- .plugin(tauri_plugin_mcp_bridge::init())
32
+ let mut builder = tauri::Builder::default();
33
+
34
+ #[cfg(debug_assertions)]
35
+ {
36
+ builder = builder.plugin(tauri_plugin_mcp_bridge::init());
37
+ }
38
+
39
+ builder
36
40
  .run(tauri::generate_context!())
37
41
  .expect("error while running tauri application");
38
42
  }
39
43
  ```
40
44
 
45
+ > **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.
46
+
41
47
  ### 2. Configure Your AI Assistant
42
48
 
43
- **Claude Code:**
49
+ Use [install-mcp](https://www.npmjs.com/package/install-mcp) to add the server to your AI assistant:
44
50
 
45
51
  ```bash
46
- claude mcp add tauri npx @hypothesi/tauri-mcp-server
52
+ npx -y install-mcp @hypothesi/tauri-mcp-server --client claude-code
47
53
  ```
48
54
 
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
- ```
55
+ Supported clients: `claude-code`, `cursor`, `windsurf`, `vscode`, `cline`, `roo-cline`, `claude`, `zed`, `goose`, `warp`, `codex`
61
56
 
62
57
  ## Available Tools
63
58
 
@@ -66,7 +61,7 @@ claude mcp add tauri npx @hypothesi/tauri-mcp-server
66
61
  | Tool | Description |
67
62
  |------|-------------|
68
63
  | `tauri_webview_screenshot` | Capture webview screenshots |
69
- | `tauri_driver_session` | Start/stop automation session |
64
+ | `tauri_list_windows` | List all open webview windows |
70
65
  | `tauri_webview_find_element` | Find elements by selector |
71
66
  | `tauri_webview_interact` | Click, scroll, swipe, long-press |
72
67
  | `tauri_webview_keyboard` | Type text or send key events |
@@ -76,6 +71,7 @@ claude mcp add tauri npx @hypothesi/tauri-mcp-server
76
71
  | `tauri_webview_focus_element` | Focus on elements |
77
72
  | `tauri_driver_get_console_logs` | Get browser console logs |
78
73
  | `tauri_read_platform_logs` | Read Android/iOS/system logs |
74
+ | `tauri_driver_session` | Start/stop automation session |
79
75
 
80
76
  ### IPC & Plugin
81
77
 
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.2",
4
4
  "description": "A Model Context Protocol server for Tauri v2 development",
5
5
  "type": "module",
6
6
  "bin": {