claude-code - 💡(How to fix) Fix [DOCS] `/doctor` MCP troubleshooting docs omit missing-field and source-file diagnostics added in v2.1.136

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Error Message

| https://code.claude.com/docs/en/commands | 41 | /doctor command summary is generic and does not mention MCP schema error detail |

RAW_BUFFERClick to expand / collapse

Documentation Type

Missing documentation (feature not documented)

Documentation Location

https://code.claude.com/docs/en/debug-your-config

Section/Topic

/doctor configuration diagnostics, especially the "Check resolved settings" and "Check MCP servers" guidance

Current Documentation

The docs currently say:

Run /doctor to validate your configuration files and surface invalid keys or schema errors. Run /status to see which settings sources are active, including whether managed settings are in effect. To understand which scope wins for a given key, see How scopes interact.

Run /mcp to see every configured server, its connection status, and whether you have approved it for the current project.

  • A server that fails to start shows as failed in /mcp. Relative file paths in command or args are a frequent cause, since they resolve against the directory you launched Claude Code from rather than the location of .mcp.json.

What's Wrong or Missing?

As of v2.1.136, /doctor has improved MCP schema diagnostics: it names the missing field and shows which source file contains the invalid MCP entry. The current docs still describe /doctor only at a high level and do not tell users that MCP schema errors are now pinpointed this way.

That leaves a gap for .mcp.json troubleshooting. Users are told to run /doctor for schema errors and /mcp for server status, but they are not told that /doctor can now identify the exact missing field and the file path they need to fix.

Suggested Improvement

Update the /doctor troubleshooting guidance to explicitly mention MCP schema validation details added in v2.1.136.

For example, add a note near the existing /doctor guidance such as:

For invalid MCP configuration, /doctor now reports the missing field and the source file path for the failing entry, which helps distinguish whether the problem is in project .mcp.json, user config, or another scope.

It would also help to cross-reference this from the MCP page near the .mcp.json format and parsing guidance.

Impact

Medium - Makes feature difficult to understand

Additional Context

Affected Pages:

PageLine(s)Context
https://code.claude.com/docs/en/debug-your-config44-54/doctor and MCP troubleshooting guidance omits the new pinpointed MCP schema diagnostics
https://code.claude.com/docs/en/commands41/doctor command summary is generic and does not mention MCP schema error detail
https://code.claude.com/docs/en/mcp473-551.mcp.json format and parse-failure guidance would benefit from a /doctor cross-reference

Total scope: 3 pages affected

This gap is about the MCP configuration debugging improvement shipped in v2.1.136.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING