DataDesigner/packages/data-designer-engine/tests/engine
Nabin Mulepati e4857f62fa
feat: add Streamable HTTP transport support for remote MCP providers (#358)
* feat: add Streamable HTTP transport support for remote MCP providers (#357)

Add `streamable_http` as a supported transport type for `MCPProvider`,
enabling connections to MCP servers that use the Streamable HTTP protocol
(e.g. Tavily remote endpoints). Previously only SSE transport was supported,
causing silent 5-minute timeouts when connecting to incompatible endpoints.

- Expand `MCPProvider.provider_type` to `Literal["sse", "streamable_http"]`
  (default remains `"sse"` for backwards compatibility)
- Route `streamable_http` providers through `streamablehttp_client` from
  the MCP SDK in `MCPIOService._get_or_create_session()`
- Handle variable-length context manager results from MCP transport clients
- Add `DataDesigner.list_mcp_tool_names()` for discovering available tools
- Update CLI form builder and controller to support the new transport option
- Add tests for streamable_http config, session creation, and form builder

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* updates

* simplify import

* address greptile comments

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-04 08:11:54 -07:00
..
analysis chore: Improve CLI startup with lazy heavy import cleanup (#330) 2026-02-18 16:24:15 -05:00
column_generators feat: auto-detect ImageContext format for image-to-image generation (#342) 2026-02-20 15:54:42 -05:00
dataset_builders feat: add allow_resize for 1:N and N:1 generation patterns (#286) 2026-02-18 18:39:31 -03:00
mcp feat: add Streamable HTTP transport support for remote MCP providers (#358) 2026-03-04 08:11:54 -07:00
models chore: Improve CLI startup with lazy heavy import cleanup (#330) 2026-02-18 16:24:15 -05:00
processing feat: add processor plugin support (#299) 2026-02-25 16:40:01 -03:00
registry chore: add publish script and update license headers (#253) 2026-01-28 08:47:34 -05:00
resources chore: Improve CLI startup with lazy heavy import cleanup (#330) 2026-02-18 16:24:15 -05:00
sampling_gen chore: Improve CLI startup with lazy heavy import cleanup (#330) 2026-02-18 16:24:15 -05:00
storage chore: Improve CLI startup with lazy heavy import cleanup (#330) 2026-02-18 16:24:15 -05:00
validators chore: Improve CLI startup with lazy heavy import cleanup (#330) 2026-02-18 16:24:15 -05:00
conftest.py chore: Improve CLI startup with lazy heavy import cleanup (#330) 2026-02-18 16:24:15 -05:00
test_compiler.py refactor: slim package refactor into three subpackages (#240) 2026-01-27 13:53:20 -05:00
test_configurable_task.py chore: Improve CLI startup with lazy heavy import cleanup (#330) 2026-02-18 16:24:15 -05:00
test_dataset_metadata.py refactor: slim package refactor into three subpackages (#240) 2026-01-27 13:53:20 -05:00
test_engine_errors.py chore: add publish script and update license headers (#253) 2026-01-28 08:47:34 -05:00
test_model_provider.py feat: MCP (Model Context Protocol) tool calling integration for LLM columns (#248) 2026-02-02 09:41:58 -05:00
test_secret_resolver.py chore: add publish script and update license headers (#253) 2026-01-28 08:47:34 -05:00
test_validation.py fix: make DropColumnsProcessorConfig idempotent and support reasoning columns (#334) 2026-02-19 17:21:42 -03:00