surfbird-mcp

v0.1.2
io.github.terry2010/surfbird-mcp Checked 18 hours ago Published 17 days ago

Self-hosted Kitesurf headless browser: markdown, screenshots, PDF, evaluate, batch.

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

surf_markdown

Fetch a page and return the article body as clean markdown (Readability + turndown). Best for articles, docs, blogs.

ParameterTypeDescription
url *stringpage URL to visit

surf_content

Fetch a page and return {title, url, html} — the full rendered DOM after JS execution.

ParameterTypeDescription
url *stringpage URL to visit

surf_source

Fetch a page and return {title, url, html} — the ORIGINAL response body, i.e. what 'view source' shows, before any JS runs. Use surf_content for the post-JS rendered DOM instead.

ParameterTypeDescription
url *stringpage URL to visit

surf_screenshot

Render a page and return a PNG screenshot.

ParameterTypeDescription
url *stringpage URL to visit
fullPageboolean
heightinteger
widthinteger

surf_pdf

Render a page and return it as a PDF document (base64).

ParameterTypeDescription
url *stringpage URL to visit
formatstring
landscapeboolean

surf_evaluate

Open a page and evaluate a JavaScript expression in its context. Returns the JSON-serializable result. Example: 'document.querySelectorAll("a").length'.

ParameterTypeDescription
script *stringJS expression/function evaluated in page context
url *stringpage URL to visit

surf_batch

Run one action over many urls in a single call — sequential server-side, failures don't abort the batch. Actions: markdown, content, source, evaluate. For RSS-digest / bulk-fetch workloads.

ParameterTypeDescription
action *stringREST action to apply to each url
urls *array
scriptstringrequired when action=evaluate

surf_health

Check whether the Surfbird engine is up.