Update welcome.html
This commit is contained in:
@@ -127,21 +127,13 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
.info-box {
|
|
||||||
background-color: var(--color-code-bg);
|
|
||||||
border-left: 4px solid var(--color-link);
|
|
||||||
padding: 1rem;
|
|
||||||
margin-bottom: 1rem;
|
|
||||||
border-radius: 4px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.step-number {
|
.step-number {
|
||||||
color: var(--color-link);
|
color: var(--color-link);
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
font-size: 1.125rem;
|
font-size: 1.125rem;
|
||||||
margin-right: 0.75rem;
|
margin-right: 0.75rem;
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
line-height: 1;
|
line-height: 1.6;
|
||||||
}
|
}
|
||||||
|
|
||||||
.step {
|
.step {
|
||||||
@@ -170,26 +162,21 @@
|
|||||||
<h2>Getting Started with Playwriter MCP</h2>
|
<h2>Getting Started with Playwriter MCP</h2>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
Playwriter MCP enables Playwright to connect to your existing Chrome
|
Control your browser via extension instead of spawning a full new
|
||||||
instance without requiring Chrome to be started in CDP mode. This
|
Chrome window. Uses less context window by running Playwright CDP
|
||||||
allows AI assistants and automation tools to interact with your
|
protocol directly. Collaborate with your agent and help get it
|
||||||
browser seamlessly through the Model Context Protocol.
|
unstuck when needed.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<div class="info-box">
|
|
||||||
<strong>Prerequisites:</strong> You need Node.js installed on your
|
|
||||||
system to run the Playwriter MCP server.
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<h3>Quick Start</h3>
|
<h3>Quick Start</h3>
|
||||||
|
|
||||||
<div class="step">
|
<div class="step">
|
||||||
<span class="step-number">1</span>
|
<span class="step-number">1</span>
|
||||||
<div class="step-content">
|
<div class="step-content">
|
||||||
<strong>Navigate to any webpage</strong>
|
<strong>Pin this extension on Chrome toolbar</strong>
|
||||||
<p>
|
<p>
|
||||||
Open a tab with the website you want to control via MCP. This
|
Click the puzzle icon in your Chrome toolbar and pin the
|
||||||
could be any URL you want to automate or interact with.
|
Playwriter MCP extension for easy access.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -209,27 +196,24 @@
|
|||||||
<div class="step">
|
<div class="step">
|
||||||
<span class="step-number">3</span>
|
<span class="step-number">3</span>
|
||||||
<div class="step-content">
|
<div class="step-content">
|
||||||
<strong>Run the Playwriter MCP server</strong>
|
<strong>Add the MCP to your agent</strong>
|
||||||
<p>
|
<p>
|
||||||
Open your terminal and run the following command to start the MCP
|
Add the following configuration to your MCP client settings (e.g.,
|
||||||
server:
|
Claude Desktop's <code>claude_desktop_config.json</code>):
|
||||||
</p>
|
</p>
|
||||||
<pre><code>npx playwriter</code></pre>
|
<pre><code>{
|
||||||
|
"mcpServers": {
|
||||||
|
"playwriter": {
|
||||||
|
"command": "npx",
|
||||||
|
"args": [
|
||||||
|
"playwriter"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}</code></pre>
|
||||||
<p>
|
<p>
|
||||||
This will start the relay server that bridges the extension with
|
This will enable your AI assistant to control the browser through
|
||||||
your MCP client.
|
the extension.
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="step">
|
|
||||||
<span class="step-number">4</span>
|
|
||||||
<div class="step-content">
|
|
||||||
<strong>Connect your MCP client</strong>
|
|
||||||
<p>
|
|
||||||
Your MCP client (like Claude Desktop or other AI assistants) can
|
|
||||||
now connect to the browser and control it using Playwright
|
|
||||||
commands.
|
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user