Skip to content

Commit e860cb8

Browse files
author
Jérémy Christillin
committed
Merge main into add-mseep-badge
2 parents 3a78ab9 + 8cab8a3 commit e860cb8

File tree

1 file changed

+34
-1
lines changed

1 file changed

+34
-1
lines changed

README.md

Lines changed: 34 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -610,6 +610,39 @@ claude mcp list
610610

611611
## 🐛 Troubleshooting
612612

613+
### Claude Code Crashes / Interruptions
614+
615+
**Symptoms:**
616+
- Claude shows "Interrupted: What should Claude do instead?"
617+
- MCP tools execute but Claude stops working
618+
- Commands succeed but Claude freezes
619+
620+
**Solution:** v3.1.1 includes automatic fixes:
621+
- ✅ Output auto-truncated to prevent context overflow
622+
- ✅ Timeout increased to 2 minutes (default), max 5 minutes
623+
- ✅ Standardized error responses
624+
625+
**Performance Tuning** (add to `.env`):
626+
```bash
627+
# Reduce output size (default: 10000 characters)
628+
MCP_SSH_MAX_OUTPUT_LENGTH=5000
629+
630+
# Increase timeout for slow commands (default: 120000ms)
631+
MCP_SSH_DEFAULT_TIMEOUT=180000
632+
633+
# Use compact JSON to save tokens (default: false)
634+
MCP_SSH_COMPACT_JSON=true
635+
```
636+
637+
**For large outputs:**
638+
```bash
639+
# Instead of: cat huge-log.txt
640+
# Use: tail -n 100 huge-log.txt
641+
# Or: grep ERROR huge-log.txt | tail -n 50
642+
```
643+
644+
See [docs/TROUBLESHOOTING.md](docs/TROUBLESHOOTING.md) for complete guide.
645+
613646
### MCP Tools Not Available
614647

615648
1. Ensure MCP is installed: `claude mcp list`
@@ -618,7 +651,7 @@ claude mcp list
618651

619652
### Connection Failed
620653

621-
1. Test connection: `python tools/test-connection.py [server_name]`
654+
1. Test connection: `ssh-manager server test [server_name]`
622655
2. Verify network connectivity
623656
3. Check firewall rules
624657
4. Ensure SSH service is running on remote server

0 commit comments

Comments
 (0)