Skip to content

demo: upgrade Streamable HTTP client to BRAF V600E end-to-end workflow#194

Merged
imaurer merged 1 commit intomainfrom
streamable-http-demo-workflow
Mar 11, 2026
Merged

demo: upgrade Streamable HTTP client to BRAF V600E end-to-end workflow#194
imaurer merged 1 commit intomainfrom
streamable-http-demo-workflow

Conversation

@imaurer
Copy link
Collaborator

@imaurer imaurer commented Mar 11, 2026

Summary

  • Replaces the minimal connectivity smoke check in demo/streamable_http_client.py with a real three-step biomedical workflow: discovery → variant evidence → clinical trials (BRAF V600E / melanoma)
  • Updates docs/getting-started/remote-http.md with a "Runnable demo" section describing the workflow
  • Updates analysis/technical/overview.md to describe the demo artifact accurately
  • Adds contract tests asserting the new demo markers and overview section
  • Adds unit tests for scenario selection and step structure

Details

The demo now runs three steps over the remote MCP shell tool:

  1. biomcp search all --gene BRAF --disease melanoma (discovery, counts-only)
  2. biomcp get variant "BRAF V600E" civic oncokb clinvar (variant evidence)
  3. 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 passed
  • make test-contracts — 37 passed
  • Live end-to-end: ./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

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
@imaurer imaurer merged commit a24b071 into main Mar 11, 2026
2 checks passed
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