- /mcp reconnect mid-session → ❌ doesn't re-deliver env to the subprocess
Resolved 💬 4 comments Opened Mar 27, 2026 by avadisabelle Closed Jun 25, 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?
- had some server api fixed with various things
- claude says "- /mcp reconnect mid-session → ❌ doesn't re-deliver env to the subprocess"
What Should Happen?
- the /mcp , reconnect should re-deliver env to the subprocess
"env": {
"VERITAS_ENV_FILE": "/workspace/repos/jgwill/veritas/.env"
}
Error Messages/Logs
Steps to Reproduce
- Create an mcp that needs a correct variable but does not have it when you launch claude-code with the --mcp-config
- once claude-code is launch, try to run the tool and expect it to fail
- update the .env with adequate variable (that will make the MCP or logics working)
- use /mcp reconnect in the claude-code session
- Expect it to fail again. When fixed, we expect that to work
Claude Model
Opus
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.1.85 (Claude Code)
Platform
Anthropic API
Operating System
Ubuntu/Debian Linux
Terminal/Shell
Other
Additional Information
_No response_
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗