Skip to content

Simplify streamable HTTP demo script#202

Merged
imaurer merged 1 commit intomainfrom
simplify-streamable-http-demo
Mar 12, 2026
Merged

Simplify streamable HTTP demo script#202
imaurer merged 1 commit intomainfrom
simplify-streamable-http-demo

Conversation

@imaurer
Copy link
Collaborator

@imaurer imaurer commented Mar 12, 2026

Summary

  • Replace the multi-scenario, argparse-driven demo/streamable_http_client.py with a single focused script that shows one short BRAF/melanoma workflow over Streamable HTTP
  • Remove health checks, scenario registries, and framework scaffolding; the script is now 61 lines and readable top-to-bottom
  • Add optional positional URL argument via resolve_base_url() helper; default remains http://127.0.0.1:8080
  • Update demo/README.md and docs/getting-started/remote-http.md to match the simplified interface
  • Update test coverage in tests/test_streamable_http_demo.py and related docs-contract tests

Test plan

  • pytest tests/test_streamable_http_demo.py tests/test_docs_changelog_refresh.py -v — 16 passed
  • cargo test — all Rust unit tests pass
  • uv run --quiet --script demo/streamable_http_client.py runs successfully against a live biomcp serve-http instance (tested locally on port 8080)

Replace the multi-scenario, argparse-driven demo with a single focused
script that shows one short BRAF/melanoma workflow over Streamable HTTP.
Remove health checks, scenario registries, and framework scaffolding.
Add resolve_base_url() helper for optional positional URL argument.
Update demo README, remote-http docs, and test coverage to match.
@imaurer imaurer merged commit d3a8c1e into main Mar 12, 2026
3 checks passed
@imaurer imaurer deleted the simplify-streamable-http-demo branch March 13, 2026 20:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant