MCPVault

domshell_screenshot

MCP tool from DOMShell by apireno

screenshot (capture tab as PNG image)

How to use it

domshell_screenshot is exposed by the DOMShell MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the domshell_screenshot tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.

Install DOMShell

$npx @apireno/domshell --allow-write --token my-secret-token
FULL DOMSHELL LISTING

Other tools in DOMShell (37)

domshell_back

back (browser history back)

domshell_call

call <funcName> [args] (call a global JS function)

domshell_cat

cat <name>

domshell_cd

cd <path> (~, ~/tabs/, /, ..)

domshell_click

click <name>

domshell_close

close [tab-id] (close a tab)

domshell_diff

diff [--json] (compare tree against pre-action snapshot)

domshell_each

each [--pattern FILTER] <cmd> (cross-tab operations)

domshell_eval

eval <expression> (read-only JS evaluation, no --allow-write needed)

domshell_execute

(any command)

domshell_extract_links

extractlinks [name] [-n N] (all links as text)

domshell_extract_table

extracttable <name> [--format csv] (table → markdown/CSV)

domshell_find

find [pattern] [--type ROLE/alias] [--meta] [--text] [-n N] (type accepts fuzzy aliases: input, dropdown, nav, etc.)

domshell_focus

focus <name>

domshell_for

for <source> : <template> (iterate over output lines, {} replaced)

domshell_forward

forward (browser history forward)

domshell_functions

functions [pattern] [--json] (list callable page functions)

domshell_grep

grep [-r] [-n N] [--content] <pattern> (section discovery)

domshell_here

here (jump to active tab)

domshell_js

js <code> (arbitrary JavaScript execution)

domshell_ls

ls [options] (DOM or browser level)

domshell_navigate

navigate <url> (current tab)

domshell_open

open <url> (new tab)

domshell_pwd

pwd

domshell_read

read [name] [--meta] [--text] [-d N] (structured subtree)

domshell_refresh

refresh

domshell_script

script list\

domshell_scroll

scroll [down\

domshell_select

select <name> <value> (dropdown selection)

domshell_submit

submit <input> <value> [--submit btn] (atomic form fill)

domshell_tabs

tabs (list all tabs)

domshell_text

text [name] [-n N] [--links] (bulk text; links=true inlines URLs)

domshell_tree

tree [depth]

domshell_type

type <text>

domshell_wait

wait <pattern> [--type ROLE] [--timeout N] (wait for element)

domshell_watch

watch <cmd> [--interval N] [--times N] [--until-change] (periodic re-execution)

domshell_whoami

whoami