[BUG] Unused MCP server name replaces session title in status bar
Resolved 💬 2 comments Opened Mar 17, 2026 by joallard Closed Apr 15, 2026
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
When an MCP server is configured in ~/.claude.json, its name is shown in the status bar of every Claude Code session. This replaces any useful session metadata — the status bar just reads eg "Claude Code (consult-llm-mcp)" with no other information. The MCP server name becomes the only identifying feature of every session.
What Should Happen?
The status bar should show useful session metadata (working directory, task context, etc.). A configured MCP server — especially one that isn't being used — should not dominate or replace the session title.
Error Messages/Logs
Steps to Reproduce
Steps to reproduce
- Add an MCP server to
~/.claude.jsonundermcpServers - Start multiple Claude Code sessions
- Every session's status bar shows the MCP server name instead of useful session-identifying information
Claude Model
None
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.1.77
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
iTerm2
Additional Information
Related: #29368, #7830, #11085
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗