Skip to content

Commit af05cdc

Browse files
committed
Small improvements
1 parent 82fef59 commit af05cdc

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

src/content/changelog/browser-rendering/2025-05-26-playwright-mcp.mdx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ products:
66
date: 2025-05-26T17:00:00Z
77
---
88

9+
import {
10+
PackageManagers,
11+
} from "~/components";
12+
913
We're excited to share that you can now use the [Playwright MCP](https://github.com/cloudflare/playwright-mcp) server with Browser Rendering.
1014

1115
Once you [deploy the server](/browser-rendering/platform/playwright-mcp/#deploying), you can use any MCP client with it to interact with Browser Rendering. This allows you to run AI models that can automate browser tasks, such as taking screenshots, filling out forms, or scraping data.
@@ -14,9 +18,7 @@ Once you [deploy the server](/browser-rendering/platform/playwright-mcp/#deployi
1418

1519
Playwright MCP is available as an npm package at [`@cloudflare/playwright-mcp`](https://www.npmjs.com/package/@cloudflare/playwright-mcp). To install it, type:
1620

17-
```bash
18-
npm install @cloudflare/playwright-mcp --save-dev
19-
```
21+
<PackageManagers pkg="@cloudflare/playwright-mcp" dev />
2022

2123
Deploying the server is then as easy as:
2224

src/content/docs/browser-rendering/platform/playwright-mcp.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Follow these steps to deploy `@cloudflare/playwright-mcp`:
3131

3232
<PackageManagers pkg="@cloudflare/playwright-mcp" dev />
3333

34-
2. Make sure you have the [browser rendering](https://developers.cloudflare.com/browser-rendering/) and [durable object](https://developers.cloudflare.com/durable-objects/) bindings and [migrations](https://developers.cloudflare.com/durable-objects/reference/durable-objects-migrations/) configured in your wrangler.toml file.
34+
2. Make sure you have the [browser rendering](/browser-rendering/) and [durable object](/durable-objects/) bindings and [migrations](/durable-objects/reference/durable-objects-migrations/) configured in your wrangler.toml file.
3535

3636
<WranglerConfig>
3737

@@ -73,7 +73,7 @@ npx wrangler deploy
7373

7474
The server is now available at `https://[my-mcp-url].workers.dev/sse` and you can use it with any MCP client.
7575

76-
Alternatively, use "[Deploy to Cloudflare](https://developers.cloudflare.com/workers/platform/deploy-buttons/)":
76+
Alternatively, use "[Deploy to Cloudflare](/workers/platform/deploy-buttons/)":
7777

7878
[![Deploy to Cloudflare](https://deploy.workers.cloudflare.com/button)](https://deploy.workers.cloudflare.com/?url=https://github.com/cloudflare/playwright-mcp/tree/main/cloudflare/example)
7979

0 commit comments

Comments
 (0)