Commit 4e906a6
Fix JSON encoding: Disable forward slash escaping
MCP servers cannot handle escaped forward slashes (\/) in paths.
Changed JSONEncoder to use .withoutEscapingSlashes formatting.
This fixes tool execution timeouts where tools/call requests were
sent but servers never responded due to malformed path arguments.
Bug: Path '/Users/...' was encoded as '\/Users\/...' causing 30s timeout
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent c5451f2 commit 4e906a6
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
155 | 155 | | |
156 | 156 | | |
157 | 157 | | |
158 | | - | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
159 | 163 | | |
160 | 164 | | |
161 | 165 | | |
| |||
0 commit comments