diff --git a/README.md b/README.md index f47fd3f..69ef3a1 100644 --- a/README.md +++ b/README.md @@ -72,6 +72,12 @@ And, so that `opencli` commands can use it directly in the terminal, export it i export PLAYWRIGHT_MCP_EXTENSION_TOKEN="" ``` +After configuring, run `opencli doctor` to verify your token is correctly set up across all locations: + +```bash +opencli doctor +``` + ## Quick Start ### Install via npm (recommended) diff --git a/README.zh-CN.md b/README.zh-CN.md index f83eb94..6d89019 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -72,6 +72,12 @@ OpenCLI 通过 Playwright MCP Bridge 扩展与你的浏览器通信。 export PLAYWRIGHT_MCP_EXTENSION_TOKEN="<你的-token>" ``` +配置完成后,运行 `opencli doctor` 检测你的 Token 是否在所有位置都正确配置: + +```bash +opencli doctor +``` + ## 快速开始 ### npm 全局安装(推荐)