@hypothesi/tauri-plugin-mcp-bridge 0.2.2 → 0.3.0
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.
- package/CHANGELOG.md +5 -0
- package/README.md +14 -24
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.3.0] - 2025-12-02
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
- Native Android screenshot support via JNI using WebView.draw()
|
|
14
|
+
|
|
10
15
|
## [0.2.2] - 2025-12-01
|
|
11
16
|
|
|
12
17
|
### Fixed
|
package/README.md
CHANGED
|
@@ -117,46 +117,36 @@ await invoke('plugin:mcp-bridge|emit_event', {
|
|
|
117
117
|
|
|
118
118
|
## MCP Server Integration
|
|
119
119
|
|
|
120
|
-
This plugin is part of the larger MCP Server for Tauri, which provides **
|
|
120
|
+
This plugin is part of the larger MCP Server for Tauri, which provides **16 total MCP tools** for comprehensive Tauri development and testing. The plugin specifically enables the following tools:
|
|
121
121
|
|
|
122
|
-
###
|
|
123
|
-
|
|
124
|
-
1. **tauri_run_command** - Run any Tauri CLI command with full flexibility
|
|
125
|
-
2. **tauri_read_config** - Read Tauri configuration files (including platform-specific configs)
|
|
126
|
-
3. **tauri_write_config** - Write to Tauri configuration files with validation
|
|
127
|
-
4. **tauri_get_docs** - Get Tauri documentation (LLM Cheat Sheet) for the detected project version
|
|
128
|
-
|
|
129
|
-
### Mobile Development Tools (2)
|
|
122
|
+
### Mobile Development Tools (1)
|
|
130
123
|
|
|
131
124
|
1. **tauri_list_devices** - List connected Android devices and iOS simulators
|
|
132
|
-
2. **tauri_launch_emulator** - Launch an Android AVD or iOS Simulator
|
|
133
125
|
|
|
134
|
-
### UI Automation & WebView Tools (
|
|
126
|
+
### UI Automation & WebView Tools (10)
|
|
135
127
|
|
|
136
128
|
Tools for UI automation and webview interaction via the plugin's WebSocket connection:
|
|
137
129
|
|
|
138
|
-
1. **tauri_driver_session** - Manage automation session (start or
|
|
139
|
-
2. **
|
|
140
|
-
3. **
|
|
141
|
-
4. **
|
|
142
|
-
5. **tauri_webview_interact** - Perform gestures (click, double-click, long-press, swipe, scroll)
|
|
130
|
+
1. **tauri_driver_session** - Manage automation session (start, stop, or status)
|
|
131
|
+
2. **tauri_list_windows** - List all webview windows with details
|
|
132
|
+
3. **tauri_webview_find_element** - Find an element in the webview
|
|
133
|
+
4. **tauri_read_logs** - Read logs (console, Android logcat, iOS, system)
|
|
134
|
+
5. **tauri_webview_interact** - Perform gestures (click, double-click, long-press, swipe, scroll, focus)
|
|
143
135
|
6. **tauri_webview_screenshot** - Take screenshots of the entire webview
|
|
144
136
|
7. **tauri_webview_keyboard** - Type text or simulate keyboard events with optional modifiers
|
|
145
137
|
8. **tauri_webview_wait_for** - Wait for element selectors, text content, or IPC events
|
|
146
138
|
9. **tauri_webview_get_styles** - Get computed CSS styles for element(s)
|
|
147
139
|
10. **tauri_webview_execute_js** - Execute arbitrary JavaScript code in the webview context
|
|
148
|
-
11. **tauri_webview_focus_element** - Focus on a specific element in the webview
|
|
149
140
|
|
|
150
|
-
### IPC
|
|
141
|
+
### IPC Tools (5)
|
|
151
142
|
|
|
152
143
|
Tools that directly use the MCP Bridge plugin's Rust backend:
|
|
153
144
|
|
|
154
|
-
1. **
|
|
155
|
-
2. **
|
|
156
|
-
3. **
|
|
157
|
-
4. **
|
|
158
|
-
5. **
|
|
159
|
-
6. **tauri_plugin_get_backend_state** - Get backend application state and metadata
|
|
145
|
+
1. **tauri_ipc_execute_command** - Execute any Tauri IPC command
|
|
146
|
+
2. **tauri_ipc_monitor** - Manage IPC monitoring (start or stop)
|
|
147
|
+
3. **tauri_ipc_get_captured** - Retrieve captured IPC traffic with optional filtering
|
|
148
|
+
4. **tauri_ipc_emit_event** - Emit custom Tauri events for testing event handlers
|
|
149
|
+
5. **tauri_ipc_get_backend_state** - Get backend application state and metadata
|
|
160
150
|
|
|
161
151
|
## Architecture
|
|
162
152
|
|
package/package.json
CHANGED