surfbird-mcp
v0.1.2Self-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.
| Parameter | Type | Description |
|---|---|---|
url * | string | page URL to visit |
surf_content
Fetch a page and return {title, url, html} — the full rendered DOM after JS execution.
| Parameter | Type | Description |
|---|---|---|
url * | string | page 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.
| Parameter | Type | Description |
|---|---|---|
url * | string | page URL to visit |
surf_screenshot
Render a page and return a PNG screenshot.
| Parameter | Type | Description |
|---|---|---|
url * | string | page URL to visit |
fullPage | boolean | |
height | integer | |
width | integer |
surf_pdf
Render a page and return it as a PDF document (base64).
| Parameter | Type | Description |
|---|---|---|
url * | string | page URL to visit |
format | string | |
landscape | boolean |
surf_evaluate
Open a page and evaluate a JavaScript expression in its context. Returns the JSON-serializable result. Example: 'document.querySelectorAll("a").length'.
| Parameter | Type | Description |
|---|---|---|
script * | string | JS expression/function evaluated in page context |
url * | string | page 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.
| Parameter | Type | Description |
|---|---|---|
action * | string | REST action to apply to each url |
urls * | array | |
script | string | required when action=evaluate |
surf_health
Check whether the Surfbird engine is up.