# Browserless — MCP server on mcp.ai > Connect your Browserless account and use 7 tools for developer tools straight from your AI agent. Connect with your own API key. Browserless is a service that provides headless browser automation, allowing users to run automations on their own sites with browser infrastructure. By: mcp.ai · official Page: https://mcp.ai/browserless ## Connect (MCP protocol) Remote MCP endpoint (HTTP, streamable): https://api.mcp.ai/p_browserless?ms=1787293500000 Add it as a custom/remote MCP connector, then authenticate when prompted. ## REST API (no MCP client required) Every tool is also a REST endpoint, authed with a workspace API key. Discover: GET https://api.mcp.ai/api/browserless/_endpoints # public; lists every endpoint Call: POST https://api.mcp.ai/api/browserless/ Authorization: Bearer sk_live_… # create one at https://mcp.ai/settings/api-keys Content-Type: application/json Body: { …args } → { "ok": true, "tool": "", "result": { … } } ## Developer docs How to use (MCP or REST), markdown: https://mcp.ai/browserless/skill.md Postman collection (v2.1): https://mcp.ai/browserless/postman.json ## Tools - browserless_download_file(code: string, context?: object) — This tool allows downloading files that Chrome has downloaded during the execution of puppeteer code. It sets up a blank page, creates a fresh download directory, injects the provided code, and execut - browserless_execute_custom_function(code: string, context?: object) — A tool that allows executing custom Puppeteer scripts via HTTP requests. This endpoint enables users to run browser automation tasks without managing their own infrastructure. - browserless_fetch_html_content(url: string, best_attempt?: boolean, goto_options?: object, wait_for_event?: object, wait_for_timeout?: integer, wait_for_selector?: object, reject_resource_types?: string[], reject_request_pattern?: string[]) — This tool fetches the complete HTML content of a webpage using Browserless's content API. It's designed to retrieve the full HTML contents of any website, including dynamically generated content. - browserless_generate_pdf(url?: string, html?: string, options?: object, addStyleTag?: object[], bestAttempt?: boolean, gotoOptions?: object, addScriptTag?: object[], waitForSelector?: object, rejectResourceTypes?: string[], rejectRequestPattern?: string[]) — This tool generates a PDF from a specified webpage using browserless's PDF generation API. It allows specifying the URL of the webpage along with parameters such as format, filename, and waitUntil opt - browserless_scrape_content(url: string, elements: object[], gotoOptions?: object, waitForEvent?: object, waitForTimeout?: integer, waitForFunction?: object, waitForSelector?: object) — A tool to extract structured content from a webpage by specifying CSS selectors. The tool navigates to the specified URL, waits for the page to load (including parsing and executing JavaScript), and r - browserless_take_screenshot(url: string, clip_x?: integer, clip_y?: integer, quality?: integer, full_page?: boolean, clip_width?: integer, image_type?: string, clip_height?: integer, omit_background?: boolean) — A tool that captures a screenshot of a webpage using browserless's screenshot API. The tool takes a URL and returns either a PNG or JPEG image. It includes options for full page capture, image type, q - browserless_unblock_protected_content(ttl?: integer, url: string, content?: boolean, cookies?: boolean, screenshot?: boolean, waitForEvent?: object, waitForFunction?: object, waitForSelector?: object, browserWSEndpoint?: boolean) — This tool provides access to content from websites that implement bot protection mechanisms. It is designed to bypass various types of protection (such as CAPTCHA and bot detections) and return the HT ## Example prompts - "What can I do in Browserless?" - "Show me a summary of my Browserless account" ## Links Docs: https://mcp.ai/docs/mcps/browserless Website: https://mcp.ai/mcps/browserless