From 7256ee370191c89958cf5d6565f6714868bf7c31 Mon Sep 17 00:00:00 2001 From: Zheng Xi Zhou Date: Thu, 24 Apr 2025 16:30:35 +0800 Subject: [PATCH] docs(readme): Fix syntax error and improve formatting (#263) The commit fixes a syntax error in the `npx` command by removing an extra backtick. It also improves the formatting by adding line breaks before code blocks to enhance readability. --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b4a6e3f..d901479 100644 --- a/README.md +++ b/README.md @@ -132,7 +132,7 @@ And then in MCP client config, set the `url` to the SSE endpoint: When running in a remote server, you can use the `--host` flag to bind the server to `0.0.0.0` to make it accessible from outside. ```bash -npx @playwright/mcp@latest --port 8931 --host 0.0.0.0` +npx @playwright/mcp@latest --port 8931 --host 0.0.0.0 ``` In MCP client config, `$server-ip` is the IP address of the server: @@ -150,6 +150,7 @@ In MCP client config, `$server-ip` is the IP address of the server: ### Docker **NOTE:** The Docker implementation only supports headless chromium at the moment. + ```js { "mcpServers": { @@ -190,6 +191,7 @@ X Y coordinate space, based on the provided screenshot. ### Build with Docker You can build the Docker image yourself. + ``` docker build -t mcp/playwright . ```