Browser Director
v0.4.0Operate a site, then direct a narrated demo from one MCP server.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
click
Click a matching element. Omit index for a single match. Pass index to click one of several matches.
| Parameter | Type | Description |
|---|---|---|
selector * | string | |
index |
fill
Clear an input and set its text. value is accepted as a deprecated alias of text.
| Parameter | Type | Description |
|---|---|---|
selector * | string | |
text | ||
value |
type
Type into an element. human=true paces the keystrokes.
| Parameter | Type | Description |
|---|---|---|
selector * | string | |
text * | string | |
human | boolean | |
wpm | integer |
select
Select a dropdown option by its value.
| Parameter | Type | Description |
|---|---|---|
selector * | string | |
value * | string |
hover
Hover the pointer over an element.
| Parameter | Type | Description |
|---|---|---|
selector * | string |
focus
Focus an element.
| Parameter | Type | Description |
|---|---|---|
selector * | string |
press
Press a keyboard key, such as Enter, Tab, or Escape.
| Parameter | Type | Description |
|---|---|---|
key * | string |
upload
Upload a file through an input element. The path must stay in the working directory.
| Parameter | Type | Description |
|---|---|---|
file_path * | string | |
selector * | string |
wait
Wait for time, a selector, text, a URL pattern, a load state, or a DOM change.
| Parameter | Type | Description |
|---|---|---|
duration_ms | integer | |
name | ||
pattern | ||
selector | ||
state | string | |
text | ||
timeout_ms | integer | |
until | string |
screenshot
Save a PNG screenshot. quality is optimized or full.
| Parameter | Type | Description |
|---|---|---|
full_page | boolean | |
name | ||
quality | string |
read
Read an element's text, form value, or attribute. name is required for attribute.
| Parameter | Type | Description |
|---|---|---|
selector * | string | |
name | ||
part | string |
evaluate
Run JavaScript in the page. This is arbitrary code in the page origin.
| Parameter | Type | Description |
|---|---|---|
script * | string |
assert
Check visibility, element text, or the URL. Returns PASS or FAIL and does not throw.
| Parameter | Type | Description |
|---|---|---|
kind * | string | |
pattern | ||
selector | ||
text |
scroll
Scroll the page. direction is up, down, top, or bottom. smooth uses the eased scroll.
| Parameter | Type | Description |
|---|---|---|
direction * | string | |
amount | integer | |
duration_ms | integer | |
smooth | boolean |
viewport
Resize the viewport.
| Parameter | Type | Description |
|---|---|---|
height * | integer | |
width * | integer |
inspect
Read cookies, web storage, the console log, or the network log.
| Parameter | Type | Description |
|---|---|---|
part * | string |
clear_storage
Clear localStorage and sessionStorage.
dialog
Handle the next alert, confirm, or prompt.
| Parameter | Type | Description |
|---|---|---|
action * | string | |
prompt_text | string |
page
Read the page. state includes the URL and interactive elements. markdown and accessibility are the other views.
| Parameter | Type | Description |
|---|---|---|
format | string | |
include_text | boolean | |
max_length | integer | |
selector |
find
Find elements, count them, validate a selector, or search relative to an anchor.
| Parameter | Type | Description |
|---|---|---|
anchor | ||
direction | ||
include_hidden | boolean | |
max_distance | integer | |
mode | string | |
selector | ||
target |
browser_status
Report browser status. Pass port to probe localhost before navigating.
| Parameter | Type | Description |
|---|---|---|
host_name | string | |
port |
get_agent_guide
Read the agent guide. Optional section: selectors, tools, patterns, errors, or safety.
| Parameter | Type | Description |
|---|---|---|
section |
suggest_next_actions
Suggest the next actions from the current page.
spotlight
Spotlight an element, or clear it. style=outline draws a timed debug border.
| Parameter | Type | Description |
|---|---|---|
action | string | |
color | string | |
dim_opacity | number | |
duration_ms | integer | |
pulse_ms | integer | |
selector | ||
style | string |
mock
Mock a network response, or clear every mock.
| Parameter | Type | Description |
|---|---|---|
action | string | |
content_type | string | |
response_body | ||
status | integer | |
url_pattern |
generate_voiceover
Generate narration audio. Requires the video extra and a provider API key.
| Parameter | Type | Description |
|---|---|---|
text * | string | |
provider | string | |
similarity_boost | ||
speed | number | |
stability | ||
style | ||
use_speaker_boost | ||
voice | string |
media_duration
Duration of an audio or video file. kind defaults from the file extension.
| Parameter | Type | Description |
|---|---|---|
path * | string | |
kind |
recording
Start, stop, or inspect the screen recording.
| Parameter | Type | Description |
|---|---|---|
action | string | |
filename | string | |
height | integer | |
width | integer |
annotate
Add a floating label, or clear every label.
| Parameter | Type | Description |
|---|---|---|
action | string | |
duration_ms | integer | |
position | string | |
style | string | |
target | ||
text |
camera
Zoom, pan, or reset the recording camera. Do not move the cursor while zoomed.
| Parameter | Type | Description |
|---|---|---|
action * | string | |
duration_ms | integer | |
level | number | |
selector |
render_demo
Mux a recording with optional voiceover and music into an MP4.
| Parameter | Type | Description |
|---|---|---|
output * | string | |
video * | string | |
music | ||
music_volume | number | |
voiceover |
check_environment
Check ffmpeg and API keys, and return ffmpeg command examples.
stock_music
Search Jamendo, or download a track URL.
| Parameter | Type | Description |
|---|---|---|
action | string | |
client_id | ||
filename | ||
instrumental | boolean | |
limit | integer | |
max_duration | ||
min_duration | ||
output | ||
query | ||
speed | ||
tags | ||
url |
presentation
Turn presentation mode on or off, or freeze the page clock.
| Parameter | Type | Description |
|---|---|---|
mode * | string | |
enabled | boolean | |
timestamp |