# Claude ai desktop 集成 playwright

**URL:** <https://www.isharkfly.com/t/claude-ai-desktop-playwright/17535>\
**Category:** DevOps\
**Tags:** claude, playwright, ai\
**Created:** [July 10, 2025, 6:56pm UTC](https://www.isharkfly.com/t/claude-ai-desktop-playwright/17535 "2025-07-10T18:56:35Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![hex](https://www.isharkfly.com/user_avatar/www.isharkfly.com/hex/32/21953_2.png) [@hex](https://www.isharkfly.com/u/hex)\
**Post date:** [July 10, 2025, 6:56pm UTC](https://www.isharkfly.com/t/claude-ai-desktop-playwright/17535/1 "2025-07-10T18:56:35Z")

</div>

如在 claude ai desktop 中如果提示访问网站，有下面的提示内容则说明 claude ai desktop 和 playwright 的集成已处理好了。

 ![2025-07-10_14-34-25](https://cdn.isharkfly.com/com-isharkfly-www/discourse-uploads/original/3X/2/f/2fc331b467f39e5f63068b55462f9a47bf75dfa4.png)

或能看到下面的配置。

 ![2025-07-10_14-55-11](https://cdn.isharkfly.com/com-isharkfly-www/discourse-uploads/original/3X/b/e/be04eb8ca1c974f84a0cc21a2bd1d52d705feebd.jpeg)

## 集成方法

修改配置后，需要重启 claude ai desktop。

同时本地计算机中还需要安装 node 环境。

通过修改配置文件就可以完成集成。

 ![2025-07-10_14-55-56](https://cdn.isharkfly.com/com-isharkfly-www/discourse-uploads/original/3X/e/c/ec79429bd2ed3abbcd8b45e9abcec6bbeb316acf.jpeg)

配置文件内容：

```auto
{
  "mcpServers": {
    "playwright": {
      "command": "npx",
      "args": [
        "@playwright/mcp@latest"
      ]
    }
  }
}

```

具体的访问配置路径：

同时还可以看到后台的运行状态。

---

_[View the full topic](https://www.isharkfly.com/t/claude-ai-desktop-playwright/17535)._
