demo: upgrade Streamable HTTP client to BRAF V600E end-to-end workflow#194
Merged
demo: upgrade Streamable HTTP client to BRAF V600E end-to-end workflow#194
Conversation
Replace the minimal connectivity smoke check with a real three-step biomedical workflow: discovery → variant evidence → clinical trials. - demo/streamable_http_client.py: rewrite with BRAF/melanoma scenario (search all, get variant evidence, variant trials), structured headers, concise output via --counts-only, named scenario system for future extensibility - docs/getting-started/remote-http.md: add "Runnable demo" section describing the three-step workflow - analysis/technical/overview.md: update "Remote HTTP Demo Artifact" section to describe the workflow instead of the old version call - tests/test_docs_changelog_refresh.py: add contract assertions for new demo markers and overview section - tests/test_streamable_http_demo.py: unit tests for scenario selection and step structure
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
demo/streamable_http_client.pywith a real three-step biomedical workflow: discovery → variant evidence → clinical trials (BRAF V600E / melanoma)docs/getting-started/remote-http.mdwith a "Runnable demo" section describing the workflowanalysis/technical/overview.mdto describe the demo artifact accuratelyDetails
The demo now runs three steps over the remote MCP
shelltool:biomcp search all --gene BRAF --disease melanoma(discovery, counts-only)biomcp get variant "BRAF V600E" civic oncokb clinvar(variant evidence)biomcp variant trials "BRAF V600E" --limit 5(clinical trials)A named-scenario system (
--scenario braf-melanoma) is in place for future extensibility, with clear error messaging for unknown scenario names. Output is kept concise for use in docs or demo recordings.Test plan
uv run pytest tests/test_streamable_http_demo.py -v— 2 passedmake test-contracts— 37 passed./target/release/biomcp serve-http --host 127.0.0.1 --port 8080+uv run --script demo/streamable_http_client.py http://127.0.0.1:8080