docs: clarify that both env var and MCP config are required for token

This commit is contained in:
jackwener committed 2026-03-15 22:12:59 +08:00
1 parent 797a392250
commit 5a676b9f4b
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -48,7 +48,7 @@ OpenCLI needs a way to communicate with your browser. We highly recommend config
1. Install **[Playwright MCP Bridge](https://chromewebstore.google.com/detail/playwright-mcp-bridge/mmlmfjhmonkocbjadbfplnigmagldckm)** extension in Chrome.
2. Obtain your token by clicking the extension icon in the browser toolbar or from the extension settings page.
**You must configure this token in BOTH your MCP configuration and system environment variables.**
**You must configure this token in BOTH your MCP configuration AND system environment variables.**
First, add it to your MCP client config (e.g. Claude/Cursor):
+1 -1
View File
@@ -48,7 +48,7 @@ OpenCLI 通过 Chrome 浏览器 + [Playwright MCP Bridge](https://github.com/nic
1. 安装 **[Playwright MCP Bridge](https://chromewebstore.google.com/detail/playwright-mcp-bridge/mmlmfjhmonkocbjadbfplnigmagldckm)** 扩展
2. 在浏览器插件栏点击该插件,或者在插件设置页获取你的 Extension Token。
**你必须将这个 Token 同时配置到你的 MCP 配置文件以及环境变量中。**
**你必须将这个 Token 同时配置到你的 MCP 配置文件以及环境变量中(两者缺一不可)。**
首先,配置你的 MCP 客户端(如 Claude/Cursor 等):