mcp

v0.0.9
@manta-show/mcp Checked 4 days ago Published 1 month ago

MCP 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.

ParameterTypeDescription
sessionIdstringweb session id; defaults to the most recent

browser_click Click page element

Click the element matching a CSS selector in the page.

ParameterTypeDescription
selector *stringElement to click. Supports CSS and Playwright selector syntax, e.g. text=Login, role=button[name="Submit"], xpath=//nav, #id
sessionIdstringweb 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.

ParameterTypeDescription
selector *stringInput box to type into. Supports CSS and Playwright selector syntax, e.g. text=Login, role=button[name="Submit"], xpath=//nav, #id
text *stringText to type
sessionIdstringweb session id; defaults to the most recent
submitbooleanPress Enter after typing

browser_press_key Press key

Send a named keyboard key to the page (Playwright key names, e.g. Enter / Escape).

ParameterTypeDescription
key *stringKey name (Playwright key names, e.g. Enter / Tab / ArrowDown)
sessionIdstringweb 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.).

ParameterTypeDescription
selector *stringElement to hover. Supports CSS and Playwright selector syntax, e.g. text=Login, role=button[name="Submit"], xpath=//nav, #id
sessionIdstringweb 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.

ParameterTypeDescription
fullPagebooleanCapture the full scrollable page (applies when no selector)
pathstringOutput file path; auto-saved to ~/.manta-show/media by default
selectorstringElement to screenshot (optional). Supports CSS and Playwright selector syntax, e.g. text=Login, role=button[name="Submit"], xpath=//nav, #id
sessionIdstringweb 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.

ParameterTypeDescription
cursorbooleantrue=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)
decoratestringbrowser=overlay the matching window decoration (default); none=raw frames
sessionIdstringweb session id; defaults to the most recent
stepGapMsintegerPause in milliseconds between batch actions (default 400, gives the demo some rhythm)
stepsarrayBatch 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.

ParameterTypeDescription
fitstringcanvas=unified 1920×1080 output (default); native=keep the recording’s original size
pathstringOutput file path; auto-saved to ~/.manta-show/media by default
sessionIdstringweb 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).

ParameterTypeDescription
sessionIdstringweb 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).

ParameterTypeDescription
url *stringURL to open
deviceScaleFactornumberDevice pixel ratio; 2 outputs a crisp 2x image
heightintegerViewport height
widthintegerViewport width

browser_navigate Navigate

Navigate the current web session to a new URL.

ParameterTypeDescription
url *stringURL to open
sessionIdstringweb session id; defaults to the most recent

browser_scroll Scroll

With selector, scroll the element into view; otherwise scroll the page by dy pixels.

ParameterTypeDescription
selector *stringScroll to make this element visible (optional). Supports CSS and Playwright selector syntax, e.g. text=Login, role=button[name="Submit"], xpath=//nav, #id
dyintegerVertical scroll pixels, positive scrolls down
sessionIdstringweb 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.

ParameterTypeDescription
script *stringJS expression, e.g. document.title or 1+1
sessionIdstringweb 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.

ParameterTypeDescription
command *stringCommand to run, e.g. npm, python, ./my-cli
argsarrayCommand argument list
colsintegerTerminal columns
cwdstringWorking 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…
decoratestringterminal=overlay the matching window decoration (default); none=raw frames
envobjectExtra environment variables (merged on top of the host environment)
imagestringImage used when isolation='container'; default node:22. Specify explicitly to demo other runtimes
isolationstringnone=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…
rowsintegerTerminal rows
volumesarrayExtra 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.

ParameterTypeDescription
linesintegerHow many recent lines to return
sessionIdstringcli 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.

ParameterTypeDescription
text *stringText to write
sessionIdstringcli session id; defaults to the most recent
submitbooleanPress 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.

ParameterTypeDescription
key *stringKey name, e.g. enter, ctrl+c
sessionIdstringcli 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.

ParameterTypeDescription
contains *stringOutput text to wait for (substring), e.g. a shell prompt "$", a build-success marker, a progress percentage
sessionIdstringcli session id; defaults to the most recent
timeoutMsintegerMax 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.

ParameterTypeDescription
fitstringcanvas=unified 1920×1080 output (default); native=keep the recording’s original size
pathstringOutput file path; auto-saved to ~/.manta-show/media by default
sessionIdstringcli 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.

ParameterTypeDescription
sessionIdstringcli session id; defaults to the most recent

terminal_close Close terminal session

End the terminal process, close the replay page and release resources.

ParameterTypeDescription
sessionIdstringcli 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.

ParameterTypeDescription
sessionIdstringelectron session id; defaults to the most recent

electron_click Click window element

Click the element matching a CSS selector in the window.

ParameterTypeDescription
selector *stringElement to click. Supports CSS and Playwright selector syntax, e.g. text=Login, role=button[name="Submit"], xpath=//nav, #id
sessionIdstringelectron 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.

ParameterTypeDescription
selector *stringInput box to type into. Supports CSS and Playwright selector syntax, e.g. text=Login, role=button[name="Submit"], xpath=//nav, #id
text *stringText to type
sessionIdstringelectron session id; defaults to the most recent
submitbooleanPress Enter after typing

electron_press_key Press key

Send a named keyboard key to the window (Playwright key names, e.g. Enter / Escape).

ParameterTypeDescription
key *stringKey name (Playwright key names, e.g. Enter / Tab / ArrowDown)
sessionIdstringelectron 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.).

ParameterTypeDescription
selector *stringElement to hover. Supports CSS and Playwright selector syntax, e.g. text=Login, role=button[name="Submit"], xpath=//nav, #id
sessionIdstringelectron 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.

ParameterTypeDescription
pathstringOutput file path; auto-saved to ~/.manta-show/media by default
selectorstringElement to screenshot (optional). Supports CSS and Playwright selector syntax, e.g. text=Login, role=button[name="Submit"], xpath=//nav, #id
sessionIdstringelectron 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.

ParameterTypeDescription
cursorbooleantrue=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)
decoratestringdesktop=overlay the matching window decoration (default); none=raw frames
sessionIdstringelectron session id; defaults to the most recent
stepGapMsintegerPause in milliseconds between batch actions (default 400, gives the demo some rhythm)
stepsarrayBatch 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.

ParameterTypeDescription
fitstringcanvas=unified 1920×1080 output (default); native=keep the recording’s original size
pathstringOutput file path; auto-saved to ~/.manta-show/media by default
sessionIdstringelectron session id; defaults to the most recent

electron_close Close app

Close the Electron app and release resources.

ParameterTypeDescription
sessionIdstringelectron 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).

ParameterTypeDescription
app *stringApp directory, entry js path, or installed .app bundle path
argsarrayExtra args passed to the app
cwdstringWorking directory