Commit 5103885
committed
refactor: replace custom HTTP client with official MCP SDK
Deleted custom HTTP test scripts and replaced with proper MCP client
using streamablehttp_client from official SDK.
Deleted:
- start_http_server.sh (custom server wrapper)
- test_http_agentic.sh (bash HTTP client)
- test_http_agentic_tools.py (custom SSE parser)
Added:
- test_http_mcp.py - Uses mcp.client.streamable_http.streamablehttp_client
- Properly follows MCP protocol
- No manual SSE parsing or session management
- Same test cases as STDIO version
Usage:
pip install mcp python-dotenv
python3 test_http_mcp.py1 parent 8be1868 commit 5103885
File tree
7 files changed
+139
-1293
lines changed7 files changed
+139
-1293
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
180 | 180 | | |
181 | 181 | | |
182 | 182 | | |
| 183 | + | |
0 commit comments