machine-bridge-mcp 0.9.0 → 0.11.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 +50 -0
- package/README.md +76 -23
- package/SECURITY.md +16 -2
- package/browser-extension/manifest.json +33 -0
- package/browser-extension/page-automation.js +246 -0
- package/browser-extension/pairing.js +19 -0
- package/browser-extension/service-worker.js +406 -0
- package/docs/AGENT_CONTEXT.md +134 -124
- package/docs/ARCHITECTURE.md +29 -9
- package/docs/CLIENTS.md +8 -0
- package/docs/ENGINEERING.md +10 -2
- package/docs/LOCAL_AUTOMATION.md +111 -0
- package/docs/LOGGING.md +10 -1
- package/docs/OPERATIONS.md +49 -0
- package/docs/PRIVACY.md +10 -1
- package/docs/RELEASING.md +2 -2
- package/docs/TESTING.md +7 -5
- package/package.json +13 -7
- package/scripts/sync-worker-version.mjs +27 -12
- package/src/local/agent-context.mjs +248 -15
- package/src/local/app-automation.mjs +400 -0
- package/src/local/browser-bridge.mjs +757 -0
- package/src/local/cli.mjs +156 -17
- package/src/local/default-instructions.mjs +337 -0
- package/src/local/runtime.mjs +114 -4
- package/src/local/state.mjs +8 -4
- package/src/local/stdio.mjs +12 -7
- package/src/shared/server-metadata.json +4 -1
- package/src/shared/tool-catalog.json +854 -1
- package/src/worker/index.ts +24 -4
|
@@ -31,10 +31,863 @@
|
|
|
31
31
|
"additionalProperties": false
|
|
32
32
|
}
|
|
33
33
|
},
|
|
34
|
+
{
|
|
35
|
+
"name": "session_bootstrap",
|
|
36
|
+
"title": "Load session bootstrap",
|
|
37
|
+
"description": "Load built-in working agreements, bounded automatic project facts, user-global and root workspace instructions, and capability refresh metadata for MCP session initialization.",
|
|
38
|
+
"availability": "always",
|
|
39
|
+
"annotations": {
|
|
40
|
+
"readOnlyHint": true,
|
|
41
|
+
"destructiveHint": false,
|
|
42
|
+
"idempotentHint": true,
|
|
43
|
+
"openWorldHint": false
|
|
44
|
+
},
|
|
45
|
+
"inputSchema": {
|
|
46
|
+
"type": "object",
|
|
47
|
+
"additionalProperties": false,
|
|
48
|
+
"properties": {
|
|
49
|
+
"path": {
|
|
50
|
+
"type": "string",
|
|
51
|
+
"default": ".",
|
|
52
|
+
"maxLength": 32768
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"name": "resolve_task_capabilities",
|
|
59
|
+
"title": "Resolve task capabilities",
|
|
60
|
+
"description": "Rescan built-in and automatic project context, local instruction files, skills, registered commands, applications, and browser capability metadata; rank the capabilities relevant to the current task and optionally load the best skill.",
|
|
61
|
+
"availability": "always",
|
|
62
|
+
"annotations": {
|
|
63
|
+
"readOnlyHint": true,
|
|
64
|
+
"destructiveHint": false,
|
|
65
|
+
"idempotentHint": true,
|
|
66
|
+
"openWorldHint": false
|
|
67
|
+
},
|
|
68
|
+
"inputSchema": {
|
|
69
|
+
"type": "object",
|
|
70
|
+
"additionalProperties": false,
|
|
71
|
+
"properties": {
|
|
72
|
+
"task": {
|
|
73
|
+
"type": "string",
|
|
74
|
+
"minLength": 1,
|
|
75
|
+
"maxLength": 20000
|
|
76
|
+
},
|
|
77
|
+
"path": {
|
|
78
|
+
"type": "string",
|
|
79
|
+
"default": ".",
|
|
80
|
+
"maxLength": 32768
|
|
81
|
+
},
|
|
82
|
+
"max_skills": {
|
|
83
|
+
"type": "integer",
|
|
84
|
+
"minimum": 1,
|
|
85
|
+
"maximum": 50,
|
|
86
|
+
"default": 10
|
|
87
|
+
},
|
|
88
|
+
"include_selected_skill": {
|
|
89
|
+
"type": "boolean",
|
|
90
|
+
"default": true
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
"required": [
|
|
94
|
+
"task"
|
|
95
|
+
]
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"name": "list_local_applications",
|
|
100
|
+
"title": "List local applications",
|
|
101
|
+
"description": "Discover installed local applications and launchers without reading their document contents.",
|
|
102
|
+
"availability": "full",
|
|
103
|
+
"annotations": {
|
|
104
|
+
"readOnlyHint": true,
|
|
105
|
+
"destructiveHint": false,
|
|
106
|
+
"idempotentHint": true,
|
|
107
|
+
"openWorldHint": true
|
|
108
|
+
},
|
|
109
|
+
"inputSchema": {
|
|
110
|
+
"type": "object",
|
|
111
|
+
"additionalProperties": false,
|
|
112
|
+
"properties": {
|
|
113
|
+
"query": {
|
|
114
|
+
"type": "string",
|
|
115
|
+
"default": "",
|
|
116
|
+
"maxLength": 1000
|
|
117
|
+
},
|
|
118
|
+
"max_results": {
|
|
119
|
+
"type": "integer",
|
|
120
|
+
"minimum": 1,
|
|
121
|
+
"maximum": 1000,
|
|
122
|
+
"default": 200
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"name": "open_local_application",
|
|
129
|
+
"title": "Open local application",
|
|
130
|
+
"description": "Open a named local application, optionally with a document or URL target, using the operating system launcher.",
|
|
131
|
+
"availability": "full",
|
|
132
|
+
"annotations": {
|
|
133
|
+
"readOnlyHint": false,
|
|
134
|
+
"destructiveHint": false,
|
|
135
|
+
"idempotentHint": false,
|
|
136
|
+
"openWorldHint": true
|
|
137
|
+
},
|
|
138
|
+
"inputSchema": {
|
|
139
|
+
"type": "object",
|
|
140
|
+
"additionalProperties": false,
|
|
141
|
+
"properties": {
|
|
142
|
+
"application": {
|
|
143
|
+
"type": "string",
|
|
144
|
+
"minLength": 1,
|
|
145
|
+
"maxLength": 300
|
|
146
|
+
},
|
|
147
|
+
"target": {
|
|
148
|
+
"type": "string",
|
|
149
|
+
"maxLength": 32768
|
|
150
|
+
},
|
|
151
|
+
"background": {
|
|
152
|
+
"type": "boolean",
|
|
153
|
+
"default": false
|
|
154
|
+
},
|
|
155
|
+
"timeout_seconds": {
|
|
156
|
+
"type": "integer",
|
|
157
|
+
"minimum": 1,
|
|
158
|
+
"maximum": 120,
|
|
159
|
+
"default": 30
|
|
160
|
+
}
|
|
161
|
+
},
|
|
162
|
+
"required": [
|
|
163
|
+
"application"
|
|
164
|
+
]
|
|
165
|
+
}
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
"name": "inspect_local_application",
|
|
169
|
+
"title": "Inspect local application UI",
|
|
170
|
+
"description": "Inspect a bounded macOS Accessibility tree for a running application. Requires local Accessibility permission and never executes arbitrary AppleScript supplied by the caller.",
|
|
171
|
+
"availability": "full",
|
|
172
|
+
"annotations": {
|
|
173
|
+
"readOnlyHint": true,
|
|
174
|
+
"destructiveHint": false,
|
|
175
|
+
"idempotentHint": true,
|
|
176
|
+
"openWorldHint": true
|
|
177
|
+
},
|
|
178
|
+
"inputSchema": {
|
|
179
|
+
"type": "object",
|
|
180
|
+
"additionalProperties": false,
|
|
181
|
+
"properties": {
|
|
182
|
+
"application": {
|
|
183
|
+
"type": "string",
|
|
184
|
+
"minLength": 1,
|
|
185
|
+
"maxLength": 300
|
|
186
|
+
},
|
|
187
|
+
"max_depth": {
|
|
188
|
+
"type": "integer",
|
|
189
|
+
"minimum": 1,
|
|
190
|
+
"maximum": 12,
|
|
191
|
+
"default": 6
|
|
192
|
+
},
|
|
193
|
+
"max_elements": {
|
|
194
|
+
"type": "integer",
|
|
195
|
+
"minimum": 1,
|
|
196
|
+
"maximum": 500,
|
|
197
|
+
"default": 200
|
|
198
|
+
},
|
|
199
|
+
"include_values": {
|
|
200
|
+
"type": "boolean",
|
|
201
|
+
"default": false
|
|
202
|
+
},
|
|
203
|
+
"timeout_seconds": {
|
|
204
|
+
"type": "integer",
|
|
205
|
+
"minimum": 1,
|
|
206
|
+
"maximum": 120,
|
|
207
|
+
"default": 30
|
|
208
|
+
}
|
|
209
|
+
},
|
|
210
|
+
"required": [
|
|
211
|
+
"application"
|
|
212
|
+
]
|
|
213
|
+
}
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
"name": "operate_local_application",
|
|
217
|
+
"title": "Operate local application UI",
|
|
218
|
+
"description": "Perform a structured macOS Accessibility action on a matched UI element. Text can be supplied through a registered local resource so secret values do not enter MCP arguments.",
|
|
219
|
+
"availability": "full",
|
|
220
|
+
"annotations": {
|
|
221
|
+
"readOnlyHint": false,
|
|
222
|
+
"destructiveHint": true,
|
|
223
|
+
"idempotentHint": false,
|
|
224
|
+
"openWorldHint": true
|
|
225
|
+
},
|
|
226
|
+
"inputSchema": {
|
|
227
|
+
"type": "object",
|
|
228
|
+
"additionalProperties": false,
|
|
229
|
+
"properties": {
|
|
230
|
+
"application": {
|
|
231
|
+
"type": "string",
|
|
232
|
+
"minLength": 1,
|
|
233
|
+
"maxLength": 300
|
|
234
|
+
},
|
|
235
|
+
"action": {
|
|
236
|
+
"type": "string",
|
|
237
|
+
"enum": [
|
|
238
|
+
"activate",
|
|
239
|
+
"click",
|
|
240
|
+
"set_value",
|
|
241
|
+
"focus",
|
|
242
|
+
"press",
|
|
243
|
+
"keystroke"
|
|
244
|
+
]
|
|
245
|
+
},
|
|
246
|
+
"selector": {
|
|
247
|
+
"type": "object",
|
|
248
|
+
"properties": {
|
|
249
|
+
"role": {
|
|
250
|
+
"type": "string",
|
|
251
|
+
"maxLength": 500
|
|
252
|
+
},
|
|
253
|
+
"subrole": {
|
|
254
|
+
"type": "string",
|
|
255
|
+
"maxLength": 500
|
|
256
|
+
},
|
|
257
|
+
"name": {
|
|
258
|
+
"type": "string",
|
|
259
|
+
"maxLength": 500
|
|
260
|
+
},
|
|
261
|
+
"title": {
|
|
262
|
+
"type": "string",
|
|
263
|
+
"maxLength": 500
|
|
264
|
+
},
|
|
265
|
+
"description": {
|
|
266
|
+
"type": "string",
|
|
267
|
+
"maxLength": 500
|
|
268
|
+
},
|
|
269
|
+
"identifier": {
|
|
270
|
+
"type": "string",
|
|
271
|
+
"maxLength": 500
|
|
272
|
+
},
|
|
273
|
+
"index": {
|
|
274
|
+
"type": "integer",
|
|
275
|
+
"minimum": 0,
|
|
276
|
+
"maximum": 499
|
|
277
|
+
}
|
|
278
|
+
},
|
|
279
|
+
"additionalProperties": false
|
|
280
|
+
},
|
|
281
|
+
"value": {
|
|
282
|
+
"type": "string",
|
|
283
|
+
"maxLength": 4000
|
|
284
|
+
},
|
|
285
|
+
"value_resource": {
|
|
286
|
+
"type": "string",
|
|
287
|
+
"pattern": "^[a-z][a-z0-9._-]{0,63}$"
|
|
288
|
+
},
|
|
289
|
+
"max_depth": {
|
|
290
|
+
"type": "integer",
|
|
291
|
+
"minimum": 1,
|
|
292
|
+
"maximum": 12,
|
|
293
|
+
"default": 8
|
|
294
|
+
},
|
|
295
|
+
"timeout_seconds": {
|
|
296
|
+
"type": "integer",
|
|
297
|
+
"minimum": 1,
|
|
298
|
+
"maximum": 120,
|
|
299
|
+
"default": 30
|
|
300
|
+
}
|
|
301
|
+
},
|
|
302
|
+
"required": [
|
|
303
|
+
"application",
|
|
304
|
+
"action"
|
|
305
|
+
]
|
|
306
|
+
}
|
|
307
|
+
},
|
|
308
|
+
{
|
|
309
|
+
"name": "browser_status",
|
|
310
|
+
"title": "Browser bridge status",
|
|
311
|
+
"description": "Start or inspect the loopback browser-extension bridge used to automate the user's existing Chromium profile, windows, tabs, and login state.",
|
|
312
|
+
"availability": "full",
|
|
313
|
+
"annotations": {
|
|
314
|
+
"readOnlyHint": false,
|
|
315
|
+
"destructiveHint": false,
|
|
316
|
+
"idempotentHint": true,
|
|
317
|
+
"openWorldHint": true
|
|
318
|
+
},
|
|
319
|
+
"inputSchema": {
|
|
320
|
+
"type": "object",
|
|
321
|
+
"additionalProperties": false
|
|
322
|
+
}
|
|
323
|
+
},
|
|
324
|
+
{
|
|
325
|
+
"name": "pair_browser_extension",
|
|
326
|
+
"title": "Pair browser extension",
|
|
327
|
+
"description": "Open the local pairing page and return the packaged unpacked-extension path for one-time browser installation and pairing.",
|
|
328
|
+
"availability": "full",
|
|
329
|
+
"annotations": {
|
|
330
|
+
"readOnlyHint": false,
|
|
331
|
+
"destructiveHint": false,
|
|
332
|
+
"idempotentHint": false,
|
|
333
|
+
"openWorldHint": true
|
|
334
|
+
},
|
|
335
|
+
"inputSchema": {
|
|
336
|
+
"type": "object",
|
|
337
|
+
"additionalProperties": false,
|
|
338
|
+
"properties": {
|
|
339
|
+
"open": {
|
|
340
|
+
"type": "boolean",
|
|
341
|
+
"default": true
|
|
342
|
+
}
|
|
343
|
+
}
|
|
344
|
+
}
|
|
345
|
+
},
|
|
346
|
+
{
|
|
347
|
+
"name": "browser_list_tabs",
|
|
348
|
+
"title": "List browser tabs",
|
|
349
|
+
"description": "List tabs from the paired user's existing Chromium browser profile.",
|
|
350
|
+
"availability": "full",
|
|
351
|
+
"annotations": {
|
|
352
|
+
"readOnlyHint": true,
|
|
353
|
+
"destructiveHint": false,
|
|
354
|
+
"idempotentHint": true,
|
|
355
|
+
"openWorldHint": true
|
|
356
|
+
},
|
|
357
|
+
"inputSchema": {
|
|
358
|
+
"type": "object",
|
|
359
|
+
"additionalProperties": false,
|
|
360
|
+
"properties": {
|
|
361
|
+
"current_window": {
|
|
362
|
+
"type": "boolean",
|
|
363
|
+
"default": false
|
|
364
|
+
},
|
|
365
|
+
"include_pinned": {
|
|
366
|
+
"type": "boolean",
|
|
367
|
+
"default": true
|
|
368
|
+
},
|
|
369
|
+
"timeout_seconds": {
|
|
370
|
+
"type": "integer",
|
|
371
|
+
"minimum": 1,
|
|
372
|
+
"maximum": 120,
|
|
373
|
+
"default": 30
|
|
374
|
+
}
|
|
375
|
+
}
|
|
376
|
+
}
|
|
377
|
+
},
|
|
378
|
+
{
|
|
379
|
+
"name": "browser_get_source",
|
|
380
|
+
"title": "Read browser page source",
|
|
381
|
+
"description": "Read bounded serialized current DOM HTML from the active or selected browser tab and optionally from all accessible frames.",
|
|
382
|
+
"availability": "full",
|
|
383
|
+
"annotations": {
|
|
384
|
+
"readOnlyHint": true,
|
|
385
|
+
"destructiveHint": false,
|
|
386
|
+
"idempotentHint": true,
|
|
387
|
+
"openWorldHint": true
|
|
388
|
+
},
|
|
389
|
+
"inputSchema": {
|
|
390
|
+
"type": "object",
|
|
391
|
+
"additionalProperties": false,
|
|
392
|
+
"properties": {
|
|
393
|
+
"tab_id": {
|
|
394
|
+
"type": "integer",
|
|
395
|
+
"minimum": 1
|
|
396
|
+
},
|
|
397
|
+
"max_bytes": {
|
|
398
|
+
"type": "integer",
|
|
399
|
+
"minimum": 1,
|
|
400
|
+
"maximum": 4194304,
|
|
401
|
+
"default": 1048576
|
|
402
|
+
},
|
|
403
|
+
"timeout_seconds": {
|
|
404
|
+
"type": "integer",
|
|
405
|
+
"minimum": 1,
|
|
406
|
+
"maximum": 120,
|
|
407
|
+
"default": 30
|
|
408
|
+
},
|
|
409
|
+
"frame_id": {
|
|
410
|
+
"type": "integer",
|
|
411
|
+
"minimum": 0
|
|
412
|
+
},
|
|
413
|
+
"all_frames": {
|
|
414
|
+
"type": "boolean",
|
|
415
|
+
"default": false
|
|
416
|
+
}
|
|
417
|
+
}
|
|
418
|
+
}
|
|
419
|
+
},
|
|
420
|
+
{
|
|
421
|
+
"name": "browser_inspect_page",
|
|
422
|
+
"title": "Inspect browser page",
|
|
423
|
+
"description": "Inspect bounded interactive DOM metadata across accessible frames for links, controls, form fields, accessible names, labels, and roles.",
|
|
424
|
+
"availability": "full",
|
|
425
|
+
"annotations": {
|
|
426
|
+
"readOnlyHint": true,
|
|
427
|
+
"destructiveHint": false,
|
|
428
|
+
"idempotentHint": true,
|
|
429
|
+
"openWorldHint": true
|
|
430
|
+
},
|
|
431
|
+
"inputSchema": {
|
|
432
|
+
"type": "object",
|
|
433
|
+
"additionalProperties": false,
|
|
434
|
+
"properties": {
|
|
435
|
+
"tab_id": {
|
|
436
|
+
"type": "integer",
|
|
437
|
+
"minimum": 1
|
|
438
|
+
},
|
|
439
|
+
"max_elements": {
|
|
440
|
+
"type": "integer",
|
|
441
|
+
"minimum": 1,
|
|
442
|
+
"maximum": 1000,
|
|
443
|
+
"default": 300
|
|
444
|
+
},
|
|
445
|
+
"include_values": {
|
|
446
|
+
"type": "boolean",
|
|
447
|
+
"default": false
|
|
448
|
+
},
|
|
449
|
+
"timeout_seconds": {
|
|
450
|
+
"type": "integer",
|
|
451
|
+
"minimum": 1,
|
|
452
|
+
"maximum": 120,
|
|
453
|
+
"default": 30
|
|
454
|
+
},
|
|
455
|
+
"frame_id": {
|
|
456
|
+
"type": "integer",
|
|
457
|
+
"minimum": 0
|
|
458
|
+
},
|
|
459
|
+
"all_frames": {
|
|
460
|
+
"type": "boolean",
|
|
461
|
+
"default": true
|
|
462
|
+
}
|
|
463
|
+
}
|
|
464
|
+
}
|
|
465
|
+
},
|
|
466
|
+
{
|
|
467
|
+
"name": "browser_action",
|
|
468
|
+
"title": "Operate browser page",
|
|
469
|
+
"description": "Perform one structured navigation or DOM action in the user's existing browser tab without accepting arbitrary JavaScript.",
|
|
470
|
+
"availability": "full",
|
|
471
|
+
"annotations": {
|
|
472
|
+
"readOnlyHint": false,
|
|
473
|
+
"destructiveHint": true,
|
|
474
|
+
"idempotentHint": false,
|
|
475
|
+
"openWorldHint": true
|
|
476
|
+
},
|
|
477
|
+
"inputSchema": {
|
|
478
|
+
"type": "object",
|
|
479
|
+
"additionalProperties": false,
|
|
480
|
+
"properties": {
|
|
481
|
+
"tab_id": {
|
|
482
|
+
"type": "integer",
|
|
483
|
+
"minimum": 1
|
|
484
|
+
},
|
|
485
|
+
"action": {
|
|
486
|
+
"type": "string",
|
|
487
|
+
"enum": [
|
|
488
|
+
"navigate",
|
|
489
|
+
"click",
|
|
490
|
+
"fill",
|
|
491
|
+
"select",
|
|
492
|
+
"check",
|
|
493
|
+
"uncheck",
|
|
494
|
+
"focus",
|
|
495
|
+
"press",
|
|
496
|
+
"submit",
|
|
497
|
+
"reload",
|
|
498
|
+
"back",
|
|
499
|
+
"forward"
|
|
500
|
+
]
|
|
501
|
+
},
|
|
502
|
+
"selector": {
|
|
503
|
+
"type": "object",
|
|
504
|
+
"properties": {
|
|
505
|
+
"css": {
|
|
506
|
+
"type": "string",
|
|
507
|
+
"maxLength": 2000
|
|
508
|
+
},
|
|
509
|
+
"id": {
|
|
510
|
+
"type": "string",
|
|
511
|
+
"maxLength": 2000
|
|
512
|
+
},
|
|
513
|
+
"name": {
|
|
514
|
+
"type": "string",
|
|
515
|
+
"maxLength": 2000
|
|
516
|
+
},
|
|
517
|
+
"label": {
|
|
518
|
+
"type": "string",
|
|
519
|
+
"maxLength": 2000
|
|
520
|
+
},
|
|
521
|
+
"text": {
|
|
522
|
+
"type": "string",
|
|
523
|
+
"maxLength": 2000
|
|
524
|
+
},
|
|
525
|
+
"role": {
|
|
526
|
+
"type": "string",
|
|
527
|
+
"maxLength": 2000
|
|
528
|
+
},
|
|
529
|
+
"placeholder": {
|
|
530
|
+
"type": "string",
|
|
531
|
+
"maxLength": 2000
|
|
532
|
+
},
|
|
533
|
+
"index": {
|
|
534
|
+
"type": "integer",
|
|
535
|
+
"minimum": 0,
|
|
536
|
+
"maximum": 10000
|
|
537
|
+
}
|
|
538
|
+
},
|
|
539
|
+
"additionalProperties": false
|
|
540
|
+
},
|
|
541
|
+
"url": {
|
|
542
|
+
"type": "string",
|
|
543
|
+
"maxLength": 32768
|
|
544
|
+
},
|
|
545
|
+
"value": {
|
|
546
|
+
"type": "string",
|
|
547
|
+
"maxLength": 131072
|
|
548
|
+
},
|
|
549
|
+
"value_resource": {
|
|
550
|
+
"type": "string",
|
|
551
|
+
"pattern": "^[a-z][a-z0-9._-]{0,63}$"
|
|
552
|
+
},
|
|
553
|
+
"key": {
|
|
554
|
+
"type": "string",
|
|
555
|
+
"maxLength": 100
|
|
556
|
+
},
|
|
557
|
+
"wait_for": {
|
|
558
|
+
"type": "string",
|
|
559
|
+
"enum": [
|
|
560
|
+
"none",
|
|
561
|
+
"domcontentloaded",
|
|
562
|
+
"complete"
|
|
563
|
+
],
|
|
564
|
+
"default": "none"
|
|
565
|
+
},
|
|
566
|
+
"timeout_seconds": {
|
|
567
|
+
"type": "integer",
|
|
568
|
+
"minimum": 1,
|
|
569
|
+
"maximum": 120,
|
|
570
|
+
"default": 30
|
|
571
|
+
},
|
|
572
|
+
"frame_id": {
|
|
573
|
+
"type": "integer",
|
|
574
|
+
"minimum": 0
|
|
575
|
+
}
|
|
576
|
+
},
|
|
577
|
+
"required": [
|
|
578
|
+
"action"
|
|
579
|
+
]
|
|
580
|
+
}
|
|
581
|
+
},
|
|
582
|
+
{
|
|
583
|
+
"name": "browser_fill_form",
|
|
584
|
+
"title": "Fill complex browser form",
|
|
585
|
+
"description": "Fill multiple fields and optionally submit a complex form in one structured browser transaction. Sensitive values can come from registered local resources and are not returned.",
|
|
586
|
+
"availability": "full",
|
|
587
|
+
"annotations": {
|
|
588
|
+
"readOnlyHint": false,
|
|
589
|
+
"destructiveHint": true,
|
|
590
|
+
"idempotentHint": false,
|
|
591
|
+
"openWorldHint": true
|
|
592
|
+
},
|
|
593
|
+
"inputSchema": {
|
|
594
|
+
"type": "object",
|
|
595
|
+
"additionalProperties": false,
|
|
596
|
+
"properties": {
|
|
597
|
+
"tab_id": {
|
|
598
|
+
"type": "integer",
|
|
599
|
+
"minimum": 1
|
|
600
|
+
},
|
|
601
|
+
"fields": {
|
|
602
|
+
"type": "array",
|
|
603
|
+
"minItems": 1,
|
|
604
|
+
"maxItems": 200,
|
|
605
|
+
"items": {
|
|
606
|
+
"type": "object",
|
|
607
|
+
"properties": {
|
|
608
|
+
"selector": {
|
|
609
|
+
"type": "object",
|
|
610
|
+
"properties": {
|
|
611
|
+
"css": {
|
|
612
|
+
"type": "string",
|
|
613
|
+
"maxLength": 2000
|
|
614
|
+
},
|
|
615
|
+
"id": {
|
|
616
|
+
"type": "string",
|
|
617
|
+
"maxLength": 2000
|
|
618
|
+
},
|
|
619
|
+
"name": {
|
|
620
|
+
"type": "string",
|
|
621
|
+
"maxLength": 2000
|
|
622
|
+
},
|
|
623
|
+
"label": {
|
|
624
|
+
"type": "string",
|
|
625
|
+
"maxLength": 2000
|
|
626
|
+
},
|
|
627
|
+
"text": {
|
|
628
|
+
"type": "string",
|
|
629
|
+
"maxLength": 2000
|
|
630
|
+
},
|
|
631
|
+
"role": {
|
|
632
|
+
"type": "string",
|
|
633
|
+
"maxLength": 2000
|
|
634
|
+
},
|
|
635
|
+
"placeholder": {
|
|
636
|
+
"type": "string",
|
|
637
|
+
"maxLength": 2000
|
|
638
|
+
},
|
|
639
|
+
"index": {
|
|
640
|
+
"type": "integer",
|
|
641
|
+
"minimum": 0,
|
|
642
|
+
"maximum": 10000
|
|
643
|
+
}
|
|
644
|
+
},
|
|
645
|
+
"additionalProperties": false
|
|
646
|
+
},
|
|
647
|
+
"value": {
|
|
648
|
+
"type": "string",
|
|
649
|
+
"maxLength": 131072
|
|
650
|
+
},
|
|
651
|
+
"value_resource": {
|
|
652
|
+
"type": "string",
|
|
653
|
+
"pattern": "^[a-z][a-z0-9._-]{0,63}$"
|
|
654
|
+
},
|
|
655
|
+
"action": {
|
|
656
|
+
"type": "string",
|
|
657
|
+
"enum": [
|
|
658
|
+
"fill",
|
|
659
|
+
"select",
|
|
660
|
+
"check",
|
|
661
|
+
"uncheck",
|
|
662
|
+
"click"
|
|
663
|
+
],
|
|
664
|
+
"default": "fill"
|
|
665
|
+
},
|
|
666
|
+
"sensitive": {
|
|
667
|
+
"type": "boolean",
|
|
668
|
+
"default": false
|
|
669
|
+
}
|
|
670
|
+
},
|
|
671
|
+
"required": [
|
|
672
|
+
"selector"
|
|
673
|
+
],
|
|
674
|
+
"additionalProperties": false
|
|
675
|
+
}
|
|
676
|
+
},
|
|
677
|
+
"submit": {
|
|
678
|
+
"type": "boolean",
|
|
679
|
+
"default": false
|
|
680
|
+
},
|
|
681
|
+
"submit_selector": {
|
|
682
|
+
"type": "object",
|
|
683
|
+
"properties": {
|
|
684
|
+
"css": {
|
|
685
|
+
"type": "string",
|
|
686
|
+
"maxLength": 2000
|
|
687
|
+
},
|
|
688
|
+
"id": {
|
|
689
|
+
"type": "string",
|
|
690
|
+
"maxLength": 2000
|
|
691
|
+
},
|
|
692
|
+
"name": {
|
|
693
|
+
"type": "string",
|
|
694
|
+
"maxLength": 2000
|
|
695
|
+
},
|
|
696
|
+
"label": {
|
|
697
|
+
"type": "string",
|
|
698
|
+
"maxLength": 2000
|
|
699
|
+
},
|
|
700
|
+
"text": {
|
|
701
|
+
"type": "string",
|
|
702
|
+
"maxLength": 2000
|
|
703
|
+
},
|
|
704
|
+
"role": {
|
|
705
|
+
"type": "string",
|
|
706
|
+
"maxLength": 2000
|
|
707
|
+
},
|
|
708
|
+
"placeholder": {
|
|
709
|
+
"type": "string",
|
|
710
|
+
"maxLength": 2000
|
|
711
|
+
},
|
|
712
|
+
"index": {
|
|
713
|
+
"type": "integer",
|
|
714
|
+
"minimum": 0,
|
|
715
|
+
"maximum": 10000
|
|
716
|
+
}
|
|
717
|
+
},
|
|
718
|
+
"additionalProperties": false
|
|
719
|
+
},
|
|
720
|
+
"wait_for": {
|
|
721
|
+
"type": "string",
|
|
722
|
+
"enum": [
|
|
723
|
+
"none",
|
|
724
|
+
"domcontentloaded",
|
|
725
|
+
"complete"
|
|
726
|
+
],
|
|
727
|
+
"default": "none"
|
|
728
|
+
},
|
|
729
|
+
"timeout_seconds": {
|
|
730
|
+
"type": "integer",
|
|
731
|
+
"minimum": 1,
|
|
732
|
+
"maximum": 180,
|
|
733
|
+
"default": 60
|
|
734
|
+
},
|
|
735
|
+
"frame_id": {
|
|
736
|
+
"type": "integer",
|
|
737
|
+
"minimum": 0
|
|
738
|
+
}
|
|
739
|
+
},
|
|
740
|
+
"required": [
|
|
741
|
+
"fields"
|
|
742
|
+
]
|
|
743
|
+
}
|
|
744
|
+
},
|
|
745
|
+
{
|
|
746
|
+
"name": "browser_screenshot",
|
|
747
|
+
"title": "Capture browser screenshot",
|
|
748
|
+
"description": "Capture the visible area of the active or selected tab from the paired existing browser profile and return it as MCP image content.",
|
|
749
|
+
"availability": "full",
|
|
750
|
+
"annotations": {
|
|
751
|
+
"readOnlyHint": false,
|
|
752
|
+
"destructiveHint": false,
|
|
753
|
+
"idempotentHint": false,
|
|
754
|
+
"openWorldHint": true
|
|
755
|
+
},
|
|
756
|
+
"inputSchema": {
|
|
757
|
+
"type": "object",
|
|
758
|
+
"additionalProperties": false,
|
|
759
|
+
"properties": {
|
|
760
|
+
"tab_id": {
|
|
761
|
+
"type": "integer",
|
|
762
|
+
"minimum": 1
|
|
763
|
+
},
|
|
764
|
+
"format": {
|
|
765
|
+
"type": "string",
|
|
766
|
+
"enum": [
|
|
767
|
+
"png",
|
|
768
|
+
"jpeg"
|
|
769
|
+
],
|
|
770
|
+
"default": "png"
|
|
771
|
+
},
|
|
772
|
+
"quality": {
|
|
773
|
+
"type": "integer",
|
|
774
|
+
"minimum": 1,
|
|
775
|
+
"maximum": 100,
|
|
776
|
+
"default": 90
|
|
777
|
+
},
|
|
778
|
+
"timeout_seconds": {
|
|
779
|
+
"type": "integer",
|
|
780
|
+
"minimum": 1,
|
|
781
|
+
"maximum": 120,
|
|
782
|
+
"default": 30
|
|
783
|
+
}
|
|
784
|
+
}
|
|
785
|
+
}
|
|
786
|
+
},
|
|
787
|
+
{
|
|
788
|
+
"name": "browser_upload_files",
|
|
789
|
+
"title": "Upload browser files",
|
|
790
|
+
"description": "Populate a browser file input from registered local resource files without returning file contents through MCP results.",
|
|
791
|
+
"availability": "full",
|
|
792
|
+
"annotations": {
|
|
793
|
+
"readOnlyHint": false,
|
|
794
|
+
"destructiveHint": true,
|
|
795
|
+
"idempotentHint": false,
|
|
796
|
+
"openWorldHint": true
|
|
797
|
+
},
|
|
798
|
+
"inputSchema": {
|
|
799
|
+
"type": "object",
|
|
800
|
+
"properties": {
|
|
801
|
+
"tab_id": {
|
|
802
|
+
"type": "integer",
|
|
803
|
+
"minimum": 1
|
|
804
|
+
},
|
|
805
|
+
"selector": {
|
|
806
|
+
"type": "object",
|
|
807
|
+
"properties": {
|
|
808
|
+
"css": {
|
|
809
|
+
"type": "string",
|
|
810
|
+
"maxLength": 2000
|
|
811
|
+
},
|
|
812
|
+
"id": {
|
|
813
|
+
"type": "string",
|
|
814
|
+
"maxLength": 2000
|
|
815
|
+
},
|
|
816
|
+
"name": {
|
|
817
|
+
"type": "string",
|
|
818
|
+
"maxLength": 2000
|
|
819
|
+
},
|
|
820
|
+
"label": {
|
|
821
|
+
"type": "string",
|
|
822
|
+
"maxLength": 2000
|
|
823
|
+
},
|
|
824
|
+
"text": {
|
|
825
|
+
"type": "string",
|
|
826
|
+
"maxLength": 2000
|
|
827
|
+
},
|
|
828
|
+
"role": {
|
|
829
|
+
"type": "string",
|
|
830
|
+
"maxLength": 2000
|
|
831
|
+
},
|
|
832
|
+
"placeholder": {
|
|
833
|
+
"type": "string",
|
|
834
|
+
"maxLength": 2000
|
|
835
|
+
},
|
|
836
|
+
"index": {
|
|
837
|
+
"type": "integer",
|
|
838
|
+
"minimum": 0,
|
|
839
|
+
"maximum": 10000
|
|
840
|
+
}
|
|
841
|
+
},
|
|
842
|
+
"additionalProperties": false
|
|
843
|
+
},
|
|
844
|
+
"resources": {
|
|
845
|
+
"type": "array",
|
|
846
|
+
"minItems": 1,
|
|
847
|
+
"maxItems": 8,
|
|
848
|
+
"items": {
|
|
849
|
+
"type": "string",
|
|
850
|
+
"pattern": "^[a-z][a-z0-9._-]{0,63}$"
|
|
851
|
+
}
|
|
852
|
+
},
|
|
853
|
+
"filenames": {
|
|
854
|
+
"type": "array",
|
|
855
|
+
"maxItems": 8,
|
|
856
|
+
"items": {
|
|
857
|
+
"type": "string",
|
|
858
|
+
"maxLength": 255
|
|
859
|
+
}
|
|
860
|
+
},
|
|
861
|
+
"mime_types": {
|
|
862
|
+
"type": "array",
|
|
863
|
+
"maxItems": 8,
|
|
864
|
+
"items": {
|
|
865
|
+
"type": "string",
|
|
866
|
+
"maxLength": 200
|
|
867
|
+
}
|
|
868
|
+
},
|
|
869
|
+
"timeout_seconds": {
|
|
870
|
+
"type": "integer",
|
|
871
|
+
"minimum": 1,
|
|
872
|
+
"maximum": 180,
|
|
873
|
+
"default": 60
|
|
874
|
+
},
|
|
875
|
+
"frame_id": {
|
|
876
|
+
"type": "integer",
|
|
877
|
+
"minimum": 0
|
|
878
|
+
}
|
|
879
|
+
},
|
|
880
|
+
"required": [
|
|
881
|
+
"selector",
|
|
882
|
+
"resources"
|
|
883
|
+
],
|
|
884
|
+
"additionalProperties": false
|
|
885
|
+
}
|
|
886
|
+
},
|
|
34
887
|
{
|
|
35
888
|
"name": "agent_context",
|
|
36
889
|
"title": "Load agent context",
|
|
37
|
-
"description": "Discover Codex-compatible global
|
|
890
|
+
"description": "Discover built-in defaults, bounded automatic project facts, Codex-compatible global/root-to-target instruction precedence, progressively disclosed local skills, and registered commands for a target path.",
|
|
38
891
|
"availability": "always",
|
|
39
892
|
"annotations": {
|
|
40
893
|
"readOnlyHint": true,
|