I had a number of unsuccessful rounds trying to fix this issue with sonnet, but then changed to opus and it found the fix. [mcp-inspector-cors-fix.md](https://github.com/user-attachments/files/27478309/mcp-inspector-cors-fix.md) [MCPServer.IdHTTPServer.pas.zip](https://github.com/user-attachments/files/27478331/MCPServer.IdHTTPServer.pas.zip)
I had a number of unsuccessful rounds trying to fix this issue with sonnet, but then changed to opus and it found the fix.
mcp-inspector-cors-fix.md
MCPServer.IdHTTPServer.pas.zip