Fix reservation_service startup: pin mcp>=1.27.2 for langchain-mcp-adapters 0.3.0#662
Open
pdettori wants to merge 1 commit into
Open
Fix reservation_service startup: pin mcp>=1.27.2 for langchain-mcp-adapters 0.3.0#662pdettori wants to merge 1 commit into
pdettori wants to merge 1 commit into
Conversation
…0.3.0
langchain-mcp-adapters 0.3.0 imports the renamed streamable_http_client
symbol from the mcp SDK. reservation_service pinned no mcp floor, so an
older mcp resolved and the agent crashed at startup with:
ImportError: cannot import name 'streamable_http_client'
from 'mcp.client.streamable_http'
Add an explicit mcp>=1.27.2 floor (mirroring weather_service, which makes
the same adapters bump and passes test-startup) and re-lock. Resolves to
mcp 1.28.1. Supersedes Dependabot #657, which made the adapters bump
without the required mcp floor.
Assisted-By: Claude (Anthropic AI) <noreply@anthropic.com>
Signed-off-by: Paolo Dettori <dettori@us.ibm.com>
esnible
approved these changes
Jul 8, 2026
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
Supersedes Dependabot #657. That PR bumped
langchain-mcp-adaptersto 0.3.0 ina2a/reservation_servicebut the service pinned nomcpfloor, so an oldermcpSDK resolved and the agent crashed at startup:Fix
langchain-mcp-adapters>=0.3.0(matching chore(deps): Bump the minor-and-patch group across 1 directory with 8 updates #657's intent)mcp>=1.27.2floor, mirroringa2a/weather_service(which makes the same adapters bump and passestest-startup)mcp 1.28.1Verification
uv run --locked python -c 'import langchain_mcp_adapters.sessions'→IMPORT_OK(the exact import that was crashing now resolves).Closes #657.
Assisted-By: Claude Code