URGENT: Claude Code CLI MCP reload broken for 6+ months - blocking all MCP development
Status Closed — not planned
Maintainer reply None cached
Workaround ✓ Mentioned in thread ↓
Activity 11 comments · opened Sep 4, 2025 · closed Jan 10, 2026
Critical Issue: MCP Server Development Blocked
This issue has been reported multiple times (#3095, #2756) since June 2025 with no resolution. It's completely blocking MCP server development with Claude Code CLI.
The Problem
- MCP servers don't reload when code changes - Python modules stay cached in memory
/mcpdisconnect/reconnect doesn't work - Doesn't actually reload the Python modules- Must fully restart Claude Code CLI - Losing entire conversation context every time
- Every single code change requires full restart - Making development nearly impossible
Impact
- Cannot effectively develop MCP servers with Claude Code CLI
- Wastes hours daily on restarts
- Forces developers to abandon CLI for Desktop or give up entirely
- This is a REGRESSION - Claude Desktop has working hot reload
Current Workarounds (All Inadequate)
- Exit and restart with
claude --continue(loses context) - Kill Python processes (doesn't work - CLI restarts with cached modules)
- Use sys.modules tricks (unreliable with dependencies)
Why This Matters
Claude Code CLI is advertised as a development tool, but it's unusable for MCP development - one of its key features. Meanwhile, Claude Desktop has multiple hot reload solutions (mcp-hot-reload, mcpmon, etc.).
Requested Fix
Add a proper MCP reload command that:
- Kills the Python MCP process
- Clears all cached modules
- Restarts with fresh code
- Maintains conversation context
Or at minimum, make /mcp actually restart the process instead of just reconnecting.
Timeline
This has been broken for 6+ months since June 2025. The community needs this fixed urgently.
Testing MCP servers with Claude Code CLI currently requires:
- Write code
- Save file
- Exit Claude completely
- Restart with
claude --continue - Reconnect MCP
- Test change
- Repeat for EVERY change
This is not sustainable for development.
11 Comments
Additional note: If there's a different way to properly reload MCP servers in Claude Code CLI that I'm missing, please let me know ASAP. I've tried:
/mcpdisconnect and reconnect (doesn't reload Python modules)claude mcp removethenclaude mcp add(corrupts config over time)If there's a proper workflow for MCP development with Claude Code CLI that actually allows code changes to be reflected without full restart, please document it.
Currently spending more time restarting than coding.
Found 3 possible duplicate issues:
This issue will be automatically closed as a duplicate in 3 days.
🤖 Generated with Claude Code
This issue should remain OPEN until there is an actual fix implemented.
Similar issues closed without solution:
Impact:
This is a critical development blocker that has been affecting MCP developers for over 6 months. Closing this as a duplicate without fixing the underlying issue just hides the problem.
Current state:
/mcpdisconnect/reconnect command does not reload Python modulesclaude --continueWhat we need:
An actual MCP reload mechanism that:
Please do not close this issue until a working solution is implemented and documented. The community has been asking for this basic development feature since June 2025.
Specific Solution Required
For me and other MCP developers, a real solution would be:
A single command that Claude Code CLI can execute itself (either as a slash command or internally) that:
The Critical Point:
Claude Code CLI should be able to do this ITSELF - either through:
/mcp-reloadthat Claude can executeCurrent Reality:
As far as we've found, there is NO WAY for Claude Code CLI to reload MCP servers without:
claude --continueWhy This Matters:
When Claude is helping develop an MCP server, it needs to be able to test changes immediately. Currently, Claude can:
This makes Claude Code CLI essentially unusable for MCP development. We need a command that Claude itself can execute to reload MCP servers without human intervention.
Please implement a proper reload mechanism that works within the active session. This has been the #1 blocker for MCP development for over 6 months.
Specific Solution Required
First, I want to thank the Anthropic team for their incredible hard work on Claude Code CLI. It's an amazing tool that has transformed how we develop software. I truly appreciate all the effort that goes into making Claude as capable as it is.
However, this MCP reload issue must be addressed now for those of us using Claude Code CLI to develop MCP servers.
A real solution would be:
A single command that Claude Code CLI can execute itself (either as a slash command or internally) that:
What is NOT a Solution:
These are not acceptable because they defeat the entire purpose of having Claude assist with development.
The Critical Point:
Claude Code CLI must be able to do this ITSELF - either through:
/mcp-reloadthat Claude can executeCurrent Reality:
As far as we've found, there is NO WAY for Claude Code CLI to reload MCP servers without:
claude --continueWhy This Matters:
When Claude is helping develop an MCP server, it needs to be able to test changes immediately. Currently, Claude can:
This makes Claude Code CLI essentially unusable for MCP development. We need a command that Claude itself can execute to reload MCP servers without human intervention.
I know you're all working hard and have many priorities, but please understand that this has been the #1 blocker for MCP development for over 6 months. Those of us trying to build MCP servers with Claude Code CLI need this addressed urgently.
Thank you for your time and for all the amazing work you do. Looking forward to a solution that makes MCP development viable with Claude Code CLI.
CORRECTION - Critical Clarification
I need to correct my previous comment. When I mentioned a slash command, that's NOT what we need.
What We Need:
Claude Code CLI must be able to reload MCP servers BY ITSELF internally - not through user-executed slash commands.
The Problem with Slash Commands:
/mcp-reloadstill require THE USER to type them ✗The ACTUAL Solution Required:
Claude Code CLI needs an internal mechanism that Claude can trigger programmatically:
Why This is Critical:
When Claude is developing an MCP server, it should be able to:
All without the user having to type anything or execute any commands.
To Be Clear:
The solution must be something Claude Code CLI can do internally, on its own, without any user involvement. Otherwise, it defeats the entire purpose of having Claude assist with MCP development.
Thank you for your patience as we clarify this critical requirement.
Sounds like someone should build an MCP server to manage the MCP servers in CC.
But seriously, I support this issue. It's a pain because CC does a great job at helping to code the MCP well. I was able to substantially simplify an MCP server that I created that forces mildly complex git management for agents and assistants. In fact CC fixed some issues I was being lazy about.
Works well when it works, but CC doesn't want to respect the running MCP, much less reload changes without significant manual intervention.
My battle is:
I'm testing this against UI agent tools too, so I will report back if it's helpful for comparison.
How I solved that problem:
This issue has been inactive for 30 days. If the issue is still occurring, please comment to let us know. Otherwise, this issue will be automatically closed in 30 days for housekeeping purposes.
This issue has been automatically closed due to 60 days of inactivity. If you're still experiencing this issue, please open a new issue with updated information.
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.