Pre-submit Checks
Describe the bug
Warp captures MCP server stderr/stdout to ~/Library/Group Containers/.../dev.warp.Warp-Stable/mcp/*.log but does NOT rotate these logs, unlike Warp's own logs in ~/Library/Logs/warp.log* which are properly rotated.
Result: Verbose MCP servers can fill disk space. In my case: 20GB in 5 days from iMCP heartbeat logging.
To reproduce
- Add verbose MCP server (e.g., iMCP with debug logging)
- Use Warp normally for several days
- Check:
du -sh ~/Library/Group\ Containers/2BBY89MBSN.dev.warp/Library/Application\ Support/dev.warp.Warp-Stable/mcp/
- Observe unbounded log growth
Related: mattt/iMCP#105
Expected behavior
MCP logs should be rotated like Warp's own logs:
- Max file size (e.g., 100MB)
- Keep last N rotations (e.g., 5)
- Automatic cleanup
- Total directory size limit
Comparison:
- ✅ Warp logs:
warp.log, warp.log.old.0, warp.log.old.1, etc. (rotated)
- ❌ MCP logs: No rotation → unbounded growth
Industry practice:
- VS Code rotates LSP server logs
- JetBrains IDEs limit external process logs
Screenshots, videos, and logs
No response
Operating system (OS)
macOS
Operating system and version
15.6.0
Shell Version
zsh 5.9 (arm64-apple-darwin24.0)
Current Warp version
v0.2025.10.01.08.12.stable_02
Regression
No, this bug or issue has existed throughout my experience using Warp
Recent working Warp date
No response
Additional context
Related Issues:
Does this block you from using Warp daily?
Yes, this issue prevents me from using Warp daily.
Is this an issue only in Warp?
Yes, I confirmed that this only happens in Warp, not other terminals.
Warp Internal (ignore): linear-label:b9d78064-c89e-4973-b153-5178a31ee54e
None
Pre-submit Checks
Describe the bug
Warp captures MCP server stderr/stdout to
~/Library/Group Containers/.../dev.warp.Warp-Stable/mcp/*.logbut does NOT rotate these logs, unlike Warp's own logs in~/Library/Logs/warp.log*which are properly rotated.Result: Verbose MCP servers can fill disk space. In my case: 20GB in 5 days from iMCP heartbeat logging.
To reproduce
du -sh ~/Library/Group\ Containers/2BBY89MBSN.dev.warp/Library/Application\ Support/dev.warp.Warp-Stable/mcp/Related: mattt/iMCP#105
Expected behavior
MCP logs should be rotated like Warp's own logs:
Comparison:
warp.log,warp.log.old.0,warp.log.old.1, etc. (rotated)Industry practice:
Screenshots, videos, and logs
No response
Operating system (OS)
macOS
Operating system and version
15.6.0
Shell Version
zsh 5.9 (arm64-apple-darwin24.0)
Current Warp version
v0.2025.10.01.08.12.stable_02
Regression
No, this bug or issue has existed throughout my experience using Warp
Recent working Warp date
No response
Additional context
Related Issues:
Does this block you from using Warp daily?
Yes, this issue prevents me from using Warp daily.
Is this an issue only in Warp?
Yes, I confirmed that this only happens in Warp, not other terminals.
Warp Internal (ignore): linear-label:b9d78064-c89e-4973-b153-5178a31ee54e
None