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

Commit c7948cf

Browse files
authored
fix: wrap .mcp.json config in mcpServers key (#1246)
## Summary - The `.mcp.json` file was missing the required `mcpServers` wrapper key, causing MCP clients (e.g., Claude Code) to fail parsing with a schema validation error. - Wraps the existing config inside `mcpServers` to match the expected MCP configuration schema. ## Test plan - [x] Run `claude /doctor` — config parse error is resolved 🤖 Generated with [Claude Code](https://claude.com/claude-code)
1 parent cea963b commit c7948cf

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.mcp.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
{
2-
"chrome-devtools": {
3-
"command": "npx",
4-
"args": ["chrome-devtools-mcp@latest"]
2+
"mcpServers": {
3+
"chrome-devtools": {
4+
"command": "npx",
5+
"args": ["chrome-devtools-mcp@latest"]
6+
}
57
}
68
}

0 commit comments

Comments
 (0)