# Cloudflare Browser Rendering

> Cloudflare Browser Rendering enables developers to programmatically control and interact with headless browser instances running on Cloudflare’s global ne…

Cloudflare Browser Rendering enables developers to programmatically control and interact with headless browser instances running on Cloudflare’s global network, facilitating tasks such as automating browser interactions, capturing screenshots, generating PDFs, and extracting data from web pages.

This is a first-class FlyMyAI MCP. Agents **discover it automatically** via tool search and call the actions below on demand - you never wire it up by hand. See the [Composio catalog](https://docs.flymy.ai/mcp/composio.md) for how discovery works.

## Connect

**Cloudflare Browser Rendering** authenticates with an API key. Generate the credential in your Cloudflare Browser Rendering account, then paste it into FlyMyAI the first time an agent uses a Cloudflare Browser Rendering action.

[Get your Cloudflare Browser Rendering credential →](https://developers.cloudflare.com/fundamentals/api/get-started/create-token)

### Fields to fill in FlyMyAI

| Field | Details |
| --- | --- |
| `Cloudflare Account ID` | The unique identifier for your Cloudflare account. _(required)_ |
| `Cloudflare API Token` | The API token with 'Browser Rendering - Edit' permissions. _(required)_ |

## Actions

Every action this integration exposes. Agents pick the right one from the task; you do not call them by name.

| Action | What it does | Required inputs |
| --- | --- | --- |
| `CLOUDFLARE_BROWSER_RENDERING_CAPTURE_SCREENSHOT` | Tool to capture a webpage screenshot. Use when you need a visual snapshot of a URL or HTML with optional viewport and clipping. | `account_id` |
| `CLOUDFLARE_BROWSER_RENDERING_LIST_ACCOUNTS` | Tool to list all Cloudflare accounts accessible. Use to retrieve a valid account_id for further browser rendering actions. | - |
| `CLOUDFLARE_BROWSER_RENDERING_SCRAPE_HTML_ELEMENTS` | Tool to scrape HTML elements for text, HTML, attributes, and box metrics. Use when you need detailed data of matched selectors after rendering a page. | `account_id`, `elements` |
| `CLOUDFLARE_BROWSER_RENDERING_TAKE_WEBPAGE_SNAPSHOT` | Tool to capture rendered HTML and screenshot of a webpage. Use when you need both DOM content and an image in one request with custom loading and capture settings. | `account_id` |

## Links

- [Cloudflare Browser Rendering website](https://developers.cloudflare.com/browser-rendering/)
- [Get API key / credential](https://developers.cloudflare.com/fundamentals/api/get-started/create-token)
- [Browse the full Composio catalog](https://docs.flymy.ai/mcp/composio.md)
