From 5a676b9f4b86040e892620a27abaf6f8ecbb3639 Mon Sep 17 00:00:00 2001 From: jackwener Date: Sun, 15 Mar 2026 22:12:59 +0800 Subject: [PATCH] docs: clarify that both env var and MCP config are required for token --- README.md | 2 +- README.zh-CN.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index eb720ee..64d9273 100644 --- a/README.md +++ b/README.md @@ -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): diff --git a/README.zh-CN.md b/README.zh-CN.md index 9389e8f..523931e 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -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 等):