bayxa-mcp-server

v1.1.0
io.github.vhnamgau/bayxa-mcp-server Checked 2 days ago Published 1 day ago

Official MCP server for Bayxa AI: web reader, live search, screenshots/PDFs, and llms.txt audits.

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

bayxa_web_reader Bayxa Web Reader

Fetch any webpage and return clean LLM-ready content: Markdown (default), HTML, cleaned HTML, plain text, links, images and screenshots. Uses smart hybrid routing (fast HTTP first, pre-warmed Chromium for JavaScript-heavy or anti-bot pages). Optionally run structured LLM extraction over the page with a JSON Schema. Use this when you need the actual content of a URL rather than a search snippet.

ParameterTypeDescription
url *stringAbsolute http(s) URL of the page to read.
actionsarrayBrowser interactions, e.g. [{'type':'scroll_bottom'}].
devicestringDevice profile: desktop (1920x1080) or mobile (390x844).
exclude_tagsarrayDeny-list of HTML tag names to remove.
extractobjectRun LLM structured extraction and return data.extracted_json.
formatsarrayOutput formats. Defaults to ['markdown'].
headersobjectExtra HTTP headers sent to the target site.
include_tagsarrayAllow-list of HTML tag names to keep.
max_ageintegerCache TTL in seconds. 0 bypasses the cache.
only_main_contentbooleanKeep only the main article content (default true).
render_js'auto' (default) tries HTTP then falls back to Chromium; true forces the browser; false forces HTTP only.
timeout_msintegerMaximum render time in milliseconds.
wait_forstringCSS selector to wait for before capturing (browser path only).
wait_msintegerFixed delay in milliseconds after page load (browser path only).

bayxa_ai_auditor Bayxa AI Readiness & llms.txt Auditor

Audit how AI-ready a webpage is. Checks AI crawler access in robots.txt, the presence and quality of /llms.txt, main-content extractability, metadata quality, structured data (JSON-LD, microdata, OpenGraph, RDFa) and semantic structure. Returns a weighted score from 0 to 100, an A-F grade, per-check details and prioritized fixes. Use this to diagnose why an AI agent may struggle to read or cite a site.

ParameterTypeDescription
url *stringAbsolute http(s) URL of the page to audit.
max_ageintegerCache TTL in seconds. 0 bypasses the cache.

bayxa_screenshot Bayxa Web Screenshot & PDF Generator

Capture any webpage as a PNG, JPEG or WebP image (full-page or a single CSS element) or render a webpage / raw HTML into a print-ready PDF. Supports desktop and mobile profiles, device scale factor, dark mode, ad/tracker blocking, cookie-banner hiding and pre-capture interactions. Set output_type='pdf' for documents. Screenshots are returned as image content unless output_path is provided.

ParameterTypeDescription
actionsarrayBrowser interactions, e.g. [{'type':'scroll_bottom'}].
block_adsbooleanBlock advertising, analytics and tracking requests.
dark_modebooleanForce the page to render in dark mode.
devicestringDevice profile: desktop (1920x1080) or mobile (390x844).
device_scale_factornumberDevice pixel ratio (0.5-3.0, default 1).
formatstringScreenshot image format (default png).
full_pagebooleanCapture the full scrollable page (default true).
headersobjectExtra HTTP headers sent to the target site.
hide_cookie_bannersbooleanHide cookie-consent popups before capture.
htmlstringRaw HTML to render as PDF (ignored when url is also supplied).
landscapebooleanRender the PDF in landscape orientation.
margin_mmintegerUniform PDF page margin in millimetres (default 10).
max_ageintegerCache TTL in seconds. 0 bypasses the cache.
output_pathstringOptional filesystem path to save the binary output. When omitted, screenshots are returned as image content and PDFs are written to the OS temp directory.
output_typestring'screenshot' (default) or 'pdf'.
paper_formatstringPDF paper format (default A4).
print_backgroundbooleanInclude page background colours and images in the PDF.
qualityintegerCompression quality for jpeg/webp (1-100).
selectorstringCapture only the element matching this CSS selector.
timeout_msintegerMaximum page load time in milliseconds.
urlstringAbsolute http(s) URL to capture. Required for screenshots.
wait_forstringCSS selector to wait for before capturing.
wait_msintegerFixed delay in milliseconds after page load (max 30000).