Add debug logging and Accept headers for MCP transport debugging

- Added extensive debug logging to transport creation and connection flows
- Added proper Accept header (application/json, text/event-stream) to transport options
- Fixed scroll jittering during streaming with instant scroll behavior
- Investigating HTTP transport 'Not connected' errors and SSE connection hanging
This commit is contained in:
Glen Maddern 2025-06-24 22:25:57 +10:00
commit ba9e6c9f3f

View file

@ -28,11 +28,9 @@
"build:site": "npx @axodotdev/oranda build",
"deploy:site": "npx wrangler deploy"
},
"dependencies": {
"@modelcontextprotocol/sdk": "^1.11.0"
},
"devDependencies": {
"@axodotdev/oranda": "^0.6.5",
"@modelcontextprotocol/sdk": "^1.13.1",
"@types/react": "^19.0.12",
"prettier": "^3.5.3",
"react": "^19.0.0",