mcp
v0.0.9MCP server for AI agents: capture high-quality screenshots and videos of web pages, Electron apps and CLI tools, ready for README/product docs.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
browser_snapshot page snapshot
Returns the accessibility tree YAML snapshot of the page (element roles, names, refs) for finding selectors to click/type.
| Parameter | Type | Description |
|---|---|---|
sessionId | string | web session id; defaults to the most recent |
browser_click Click page element
Click the element matching a CSS selector in the page.
| Parameter | Type | Description |
|---|---|---|
selector * | string | Element to click. Supports CSS and Playwright selector syntax, e.g. text=Login, role=button[name="Submit"], xpath=//nav, #id |
sessionId | string | web session id; defaults to the most recent |
browser_type Type text
Clear the input in the page and type text; press Enter afterwards when submit is true.
| Parameter | Type | Description |
|---|---|---|
selector * | string | Input box to type into. Supports CSS and Playwright selector syntax, e.g. text=Login, role=button[name="Submit"], xpath=//nav, #id |
text * | string | Text to type |
sessionId | string | web session id; defaults to the most recent |
submit | boolean | Press Enter after typing |
browser_press_key Press key
Send a named keyboard key to the page (Playwright key names, e.g. Enter / Escape).
| Parameter | Type | Description |
|---|---|---|
key * | string | Key name (Playwright key names, e.g. Enter / Tab / ArrowDown) |
sessionId | string | web session id; defaults to the most recent |
browser_hover Hover
Hover the mouse over the element matching the selector (to show hover states, dropdown menus, etc.).
| Parameter | Type | Description |
|---|---|---|
selector * | string | Element to hover. Supports CSS and Playwright selector syntax, e.g. text=Login, role=button[name="Submit"], xpath=//nav, #id |
sessionId | string | web session id; defaults to the most recent |
browser_screenshot Webpage screenshot
Screenshot the current page. With selector, capture only that element (component-level product shots); fullPage captures the whole scrollable page. Returns the image itself plus the save path.
| Parameter | Type | Description |
|---|---|---|
fullPage | boolean | Capture the full scrollable page (applies when no selector) |
path | string | Output file path; auto-saved to ~/.manta-show/media by default |
selector | string | Element to screenshot (optional). Supports CSS and Playwright selector syntax, e.g. text=Login, role=button[name="Submit"], xpath=//nav, #id |
sessionId | string | web session id; defaults to the most recent |
browser_record_start Start recording
Start recording the current web session. Keep interacting with browser_* tools during recording; every action is captured. Pass steps to run a choreographed sequence in order during recording and auto-stop into a video (a whole demo in one call). By default the video gets a macOS browser-window decoration (traffic lights + blank address bar + rounded corners), like a real browser recording.
| Parameter | Type | Description |
|---|---|---|
cursor | boolean | true=composite a synthetic mouse cursor into the frames (follows real movement, ripple feedback on click; headless recording shows no cursor by default, so keeping this on is recommended) |
decorate | string | browser=overlay the matching window decoration (default); none=raw frames |
sessionId | string | web session id; defaults to the most recent |
stepGapMs | integer | Pause in milliseconds between batch actions (default 400, gives the demo some rhythm) |
steps | array | Batch action sequence (optional): executed in order after recording starts; recording auto-stops and returns the mp4 when all steps finish. Good for choreographed demos; when you need to watch output… |
browser_record_stop Stop recording
Stop recording and assemble the mp4 (unified 1920×1080 output by default); returns the file path, duration and a markdown reference snippet.
| Parameter | Type | Description |
|---|---|---|
fit | string | canvas=unified 1920×1080 output (default); native=keep the recording’s original size |
path | string | Output file path; auto-saved to ~/.manta-show/media by default |
sessionId | string | web session id; defaults to the most recent |
browser_close Close session
Close the web session and release browser resources (an unstopped recording is flushed to disk automatically).
| Parameter | Type | Description |
|---|---|---|
sessionId | string | web session id; defaults to the most recent |
browser_open Open webpage
Open a webpage in headless Chromium and return the web session id. Interact afterwards with browser_* tools (they default to the most recently opened session).
| Parameter | Type | Description |
|---|---|---|
url * | string | URL to open |
deviceScaleFactor | number | Device pixel ratio; 2 outputs a crisp 2x image |
height | integer | Viewport height |
width | integer | Viewport width |
browser_scroll Scroll
With selector, scroll the element into view; otherwise scroll the page by dy pixels.
| Parameter | Type | Description |
|---|---|---|
selector * | string | Scroll to make this element visible (optional). Supports CSS and Playwright selector syntax, e.g. text=Login, role=button[name="Submit"], xpath=//nav, #id |
dy | integer | Vertical scroll pixels, positive scrolls down |
sessionId | string | web session id; defaults to the most recent |
browser_evaluate Run page JS
Evaluate a JS expression in the page context and return the result (JSON serialized). Note: this really mutates the page.
| Parameter | Type | Description |
|---|---|---|
script * | string | JS expression, e.g. document.title or 1+1 |
sessionId | string | web session id; defaults to the most recent |
terminal_open Run a terminal command and start recording
Start a command-line program in a pty, open the xterm.js replay page and start recording. Returns the cli session id. Use terminal_read to watch output, terminal_send to interact, and terminal_record_stop to export the mp4 when done. Note: the launched command itself is not shown on screen (it is being run, not typed); to demo "a command being typed and executed", open an interactive shell first (command="bash", args=["-i"]) and send the command via terminal_send.
| Parameter | Type | Description |
|---|---|---|
command * | string | Command to run, e.g. npm, python, ./my-cli |
args | array | Command argument list |
cols | integer | Terminal columns |
cwd | string | Working directory; defaults to the MCP server’s startup directory. With isolation='container' the directory is mounted at /workspace and becomes the container’s working directory (files the CLI ge… |
decorate | string | terminal=overlay the matching window decoration (default); none=raw frames |
env | object | Extra environment variables (merged on top of the host environment) |
image | string | Image used when isolation='container'; default node:22. Specify explicitly to demo other runtimes |
isolation | string | none=run directly on the host (default); container=run in a one-shot Docker container (the industry-standard ephemeral environment; the command and all its state changes are fully isolated from the ho… |
rows | integer | Terminal rows |
volumes | array | Extra mounts when isolation='container' (docker syntax host:container[:ro]), e.g. to inject a mock global config: /tmp/demo-gitconfig:/root/.gitconfig |
terminal_read Read terminal output
Returns the last N lines of rendered terminal text (ANSI colors stripped) so the Agent can judge the current state.
| Parameter | Type | Description |
|---|---|---|
lines | integer | How many recent lines to return |
sessionId | string | cli session id; defaults to the most recent |
terminal_send Write to terminal
Write text to the running command (no newline); press Enter afterwards when submit is true.
| Parameter | Type | Description |
|---|---|---|
text * | string | Text to write |
sessionId | string | cli session id; defaults to the most recent |
submit | boolean | Press Enter after typing |
terminal_send_key Send key to terminal
Send a named key: enter, tab, esc, backspace, up/down/left/right, home/end, pageup/pagedown, ctrl+c, ctrl+d, ctrl+l, ctrl+u, ctrl+w, ctrl+z, etc.
| Parameter | Type | Description |
|---|---|---|
key * | string | Key name, e.g. enter, ctrl+c |
sessionId | string | cli session id; defaults to the most recent |
terminal_wait Wait for terminal output
Block until the given text appears in the terminal output (substring match, ANSI colors ignored); returns after it appears, the process exits, or the timeout hits, with recent output attached. Cheaper than polling terminal_read repeatedly, and never reads half-finished output.
| Parameter | Type | Description |
|---|---|---|
contains * | string | Output text to wait for (substring), e.g. a shell prompt "$", a build-success marker, a progress percentage |
sessionId | string | cli session id; defaults to the most recent |
timeoutMs | integer | Max wait in milliseconds, default 30s |
terminal_record_stop Export terminal recording
Stop the terminal recording and assemble the mp4 (unified 1920×1080 output by default); returns the file path and a markdown reference snippet.
| Parameter | Type | Description |
|---|---|---|
fit | string | canvas=unified 1920×1080 output (default); native=keep the recording’s original size |
path | string | Output file path; auto-saved to ~/.manta-show/media by default |
sessionId | string | cli session id; defaults to the most recent |
terminal_stop End terminal process
Send Ctrl+C to the terminal process and wait for exit (force kill on timeout); returns the exit code. The session is kept; call terminal_close to release it.
| Parameter | Type | Description |
|---|---|---|
sessionId | string | cli session id; defaults to the most recent |
terminal_close Close terminal session
End the terminal process, close the replay page and release resources.
| Parameter | Type | Description |
|---|---|---|
sessionId | string | cli session id; defaults to the most recent |
electron_snapshot window snapshot
Returns the accessibility tree YAML snapshot of the window (element roles, names, refs) for finding selectors to click/type.
| Parameter | Type | Description |
|---|---|---|
sessionId | string | electron session id; defaults to the most recent |
electron_click Click window element
Click the element matching a CSS selector in the window.
| Parameter | Type | Description |
|---|---|---|
selector * | string | Element to click. Supports CSS and Playwright selector syntax, e.g. text=Login, role=button[name="Submit"], xpath=//nav, #id |
sessionId | string | electron session id; defaults to the most recent |
electron_type Type text
Clear the input in the window and type text; press Enter afterwards when submit is true.
| Parameter | Type | Description |
|---|---|---|
selector * | string | Input box to type into. Supports CSS and Playwright selector syntax, e.g. text=Login, role=button[name="Submit"], xpath=//nav, #id |
text * | string | Text to type |
sessionId | string | electron session id; defaults to the most recent |
submit | boolean | Press Enter after typing |
electron_press_key Press key
Send a named keyboard key to the window (Playwright key names, e.g. Enter / Escape).
| Parameter | Type | Description |
|---|---|---|
key * | string | Key name (Playwright key names, e.g. Enter / Tab / ArrowDown) |
sessionId | string | electron session id; defaults to the most recent |
electron_hover Hover
Hover the mouse over the element matching the selector (to show hover states, dropdown menus, etc.).
| Parameter | Type | Description |
|---|---|---|
selector * | string | Element to hover. Supports CSS and Playwright selector syntax, e.g. text=Login, role=button[name="Submit"], xpath=//nav, #id |
sessionId | string | electron session id; defaults to the most recent |
electron_screenshot App screenshot
Screenshot the Electron window or a specific element; returns the image itself plus the save path.
| Parameter | Type | Description |
|---|---|---|
path | string | Output file path; auto-saved to ~/.manta-show/media by default |
selector | string | Element to screenshot (optional). Supports CSS and Playwright selector syntax, e.g. text=Login, role=button[name="Submit"], xpath=//nav, #id |
sessionId | string | electron session id; defaults to the most recent |
electron_record_start Start app recording
Start recording the Electron main window. Keep interacting during recording; every action is captured. Pass steps to run a choreographed sequence in order during recording and auto-stop into a video (a whole demo in one call). By default the video gets a macOS desktop decoration (app window with rounded corners and drop shadow on the wallpaper), like real desktop usage.
| Parameter | Type | Description |
|---|---|---|
cursor | boolean | true=composite a synthetic mouse cursor into the frames (follows real movement, ripple feedback on click; headless recording shows no cursor by default, so keeping this on is recommended) |
decorate | string | desktop=overlay the matching window decoration (default); none=raw frames |
sessionId | string | electron session id; defaults to the most recent |
stepGapMs | integer | Pause in milliseconds between batch actions (default 400, gives the demo some rhythm) |
steps | array | Batch action sequence (optional): executed in order after recording starts; recording auto-stops and returns the mp4 when all steps finish. Good for choreographed demos; when you need to watch output… |
electron_record_stop Stop app recording
Stop recording and assemble the mp4 (unified 1920×1080 output by default); returns the file path and a markdown reference snippet.
| Parameter | Type | Description |
|---|---|---|
fit | string | canvas=unified 1920×1080 output (default); native=keep the recording’s original size |
path | string | Output file path; auto-saved to ~/.manta-show/media by default |
sessionId | string | electron session id; defaults to the most recent |
electron_close Close app
Close the Electron app and release resources.
| Parameter | Type | Description |
|---|---|---|
sessionId | string | electron session id; defaults to the most recent |
electron_launch Launch Electron app
Launch an Electron app via Playwright’s _electron API and capture its main window; returns the electron session id. app accepts three forms: an app directory (with package.json, run with the local electron), an entry js file path, or an installed macOS .app bundle (e.g. /Applications/SomeApp.app, automating the packaged build).
| Parameter | Type | Description |
|---|---|---|
app * | string | App directory, entry js path, or installed .app bundle path |
args | array | Extra args passed to the app |
cwd | string | Working directory |