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

Setup for VSCode not working on Windows #1139

@SvenBudak

Description

@SvenBudak

Description of the bug

When I try to add this functionality using code --add-mcp as described in the documentation, I get an Invalid JSON error.

Reproduction

Open terminal in VS Code and type:

code --add-mcp '{"name":"io.github.ChromeDevTools/chrome-devtools-mcp","command":"npx","args":["-y","chrome-devtools-mcp"],"env":{}}'

And i receive:

Invalid JSON '{name:io.github.ChromeDevTools/chrome-devtools-mcp,command:npx,args:[-y,chrome-devtools-mcp],env:{}}': SyntaxError: Expected property name or '}' in JSON at position 1 (line 1 column 2)

Expectation

No response

MCP configuration

No response

Chrome DevTools MCP version

I try to install... so i think there is no MCP version yet...

Chrome version

No response

Coding agent version

No response

Model version

No response

Chat log

No response

Node version

v22.14.0

Operating system

Windows

Extra checklist

  • I want to provide a PR to fix this bug

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions