mcp-page-bridge 0.1.6 → 0.1.7
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/dist/bridge.js
CHANGED
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
} from "@modelcontextprotocol/sdk/types.js";
|
|
22
22
|
|
|
23
23
|
// ../protocol/src/index.ts
|
|
24
|
-
var MCP_PAGE_BRIDGE_VERSION = "0.1.
|
|
24
|
+
var MCP_PAGE_BRIDGE_VERSION = "0.1.7";
|
|
25
25
|
var WS_SUBPROTOCOL = "mcp";
|
|
26
26
|
var DEFAULT_PORT = 8787;
|
|
27
27
|
var NAMESPACE_SEP = "__";
|
|
@@ -78,7 +78,64 @@ var BUILTIN_TOOL_NAMES = [
|
|
|
78
78
|
// Service-worker delegated
|
|
79
79
|
"screenshot",
|
|
80
80
|
"navigate",
|
|
81
|
-
"reload"
|
|
81
|
+
"reload",
|
|
82
|
+
// Automation (opt-in)
|
|
83
|
+
"find_by_text",
|
|
84
|
+
"find_by_role",
|
|
85
|
+
"find_by_label",
|
|
86
|
+
"find_by_test_id",
|
|
87
|
+
"locator_snapshot",
|
|
88
|
+
"locator_count",
|
|
89
|
+
"smart_click",
|
|
90
|
+
"hover",
|
|
91
|
+
"double_click",
|
|
92
|
+
"type_text",
|
|
93
|
+
"press_key",
|
|
94
|
+
"clear_value",
|
|
95
|
+
"select_option",
|
|
96
|
+
"check",
|
|
97
|
+
"uncheck",
|
|
98
|
+
"upload_file",
|
|
99
|
+
"drag_and_drop",
|
|
100
|
+
"start_network_capture",
|
|
101
|
+
"stop_network_capture",
|
|
102
|
+
"list_network_requests",
|
|
103
|
+
"wait_for_response",
|
|
104
|
+
"get_response_body",
|
|
105
|
+
"clear_network_capture",
|
|
106
|
+
"get_storage_state",
|
|
107
|
+
"set_local_storage",
|
|
108
|
+
"set_session_storage",
|
|
109
|
+
"clear_storage",
|
|
110
|
+
"list_cookies",
|
|
111
|
+
"set_cookie",
|
|
112
|
+
"delete_cookie",
|
|
113
|
+
"set_dialog_behavior",
|
|
114
|
+
"list_dialogs",
|
|
115
|
+
"clear_dialogs",
|
|
116
|
+
"list_frames",
|
|
117
|
+
"frame_dom_query",
|
|
118
|
+
"frame_click",
|
|
119
|
+
"frame_set_value",
|
|
120
|
+
"resize_window",
|
|
121
|
+
// Advanced CDP (opt-in, requires optional debugger permission)
|
|
122
|
+
"cdp_status",
|
|
123
|
+
"cdp_attach",
|
|
124
|
+
"cdp_detach",
|
|
125
|
+
"cdp_send_command",
|
|
126
|
+
"cdp_list_events",
|
|
127
|
+
"cdp_clear_events",
|
|
128
|
+
"cdp_get_response_body",
|
|
129
|
+
"cdp_emulate_viewport",
|
|
130
|
+
"cdp_clear_emulation",
|
|
131
|
+
"cdp_dispatch_mouse",
|
|
132
|
+
"cdp_dispatch_key",
|
|
133
|
+
"cdp_evaluate",
|
|
134
|
+
"cdp_capture_screenshot",
|
|
135
|
+
"cdp_get_performance_metrics",
|
|
136
|
+
"cdp_set_network_conditions",
|
|
137
|
+
"cdp_set_user_agent",
|
|
138
|
+
"cdp_set_geolocation"
|
|
82
139
|
];
|
|
83
140
|
var BROWSER_TOOL_NAMES = ["list_tabs", "open_tab", "activate_tab", "navigate_tab", "close_tab"];
|
|
84
141
|
|
package/dist/cli.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mcp-page-bridge",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.7",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "MCP bridge that aggregates live browser-page MCP servers and exposes them to a coding agent over stdio",
|
|
6
6
|
"license": "MIT",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"typescript": "^5.7.3",
|
|
48
48
|
"vitest": "^2.1.8",
|
|
49
49
|
"zod": "^3.25.0",
|
|
50
|
-
"mcp-page-bridge-protocol": "0.1.
|
|
50
|
+
"mcp-page-bridge-protocol": "0.1.7"
|
|
51
51
|
},
|
|
52
52
|
"scripts": {
|
|
53
53
|
"start": "tsx src/cli.ts",
|