Claude gives incorrect/incomplete answers about its own config file locations
Resolved 💬 3 comments Opened Mar 9, 2026 by orjan-neti Closed Mar 9, 2026
Summary
When asked where MCP server tokens are stored, Claude confidently stated only one location (~/.claude/settings.json), missing ~/.claude.json entirely. The token was actually found in ~/.claude.json.
What happened
- User asked which file their GitLab MCP token was stored in
- Claude said it was only in
~/.claude/settings.json— incorrect and stated with confidence - User later found the (stale/expired) token in
~/.claude.json - When investigating, Claude launched a documentation-search agent instead of simply reading the two obvious candidate files directly
- The agent returned a confident but inaccurate breakdown of what each file is for
- Claude still did not find the correct answer until the user pointed it out
Why this matters
Claude hallucinating about its own configuration is a higher-trust failure than hallucinating about user code. Users have no way to know they should second-guess Claude about Claude's own settings files. A user following Claude's advice here would never find their token.
Expected behavior
Claude should either:
- Know authoritatively which files can contain MCP configs, or
- Immediately read the candidate files directly rather than speculating or delegating to a doc-search agent
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗