豆豆友情提示:这是一个非官方 GitHub 代理镜像,主要用于网络测试或访问加速。请勿在此进行登录、注册或处理任何敏感信息。进行这些操作请务必访问官方网站 github.com。 Raw 内容也通过此代理提供。
Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ npm run build
### Testing with @modelcontextprotocol/inspector

```sh
npx @modelcontextprotocol/inspector node build/src/index.js
npx @modelcontextprotocol/inspector node /build/src/bin/chrome-devtools-mcp.js
```

### Testing with an MCP client
Expand All @@ -79,7 +79,7 @@ Add the MCP server to your client's config.
"mcpServers": {
"chrome-devtools": {
"command": "node",
"args": ["/path-to/build/src/index.js"]
"args": ["/path-to/build/src/bin/chrome-devtools-mcp.js"]
}
}
}
Expand All @@ -95,7 +95,7 @@ Usually VS Code automatically detects and forwards `6274` but fails to detect `6
To write debug logs to `log.txt` in the working directory, run with the following commands:

```sh
npx @modelcontextprotocol/inspector node build/src/index.js --log-file=/your/desired/path/log.txt
npx @modelcontextprotocol/inspector node /build/src/bin/chrome-devtools-mcp.js --log-file=/your/desired/path/log.txt
```

You can use the `DEBUG` environment variable as usual to control categories that are logged.
Expand Down
Loading