snapstack-server

v1.2.3
io.github.bgaze/snapstack-server Checked 4 days ago Published 5 months ago

Local always-on server for SnapStack: browser capture intake + MCP over 127.0.0.1.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

get_screenshots Get screenshots

List the pending browser screenshots as a manifest — NO image data. The stack is the local folder where the SnapStack browser extension pushes captures. Each entry has a stable two-digit "number", the absolute local "path", "width"/"height", and metadata (url, title, capturedAt, format, bytes). Read the file at "path" yourself only if you need the pixels. This tool does NOT delete anything — use clear_screenshots to remove captures. Pass "numbers" to list only specific captures (e.g. [1] or [1,3]); omit to list them all.

ParameterTypeDescription
numbersarrayCapture numbers to include (e.g. [1] or [1,3,5]). Omit to include all.

clear_screenshots Clear screenshots

Delete pending screenshots from the stack. Pass "numbers" to delete only specific captures (e.g. [1] or [2,3]); omit to clear the whole stack. Once the stack is empty, numbering restarts at 01.

ParameterTypeDescription
numbersarrayCapture numbers to delete (e.g. [2,3]). Omit to clear all.

count_screenshots Count screenshots

Return the number of pending screenshots in the stack without retrieving or clearing them.