Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix multiple MCPClient cleanup: separate async contexts to avoid cancel scope errors#9

Open
askdevai-bot wants to merge 1 commit intoaskbudi:main from
askdevai-bot:mcp-client-fix
Open

Fix multiple MCPClient cleanup: separate async contexts to avoid cancel scope errors #9
askdevai-bot wants to merge 1 commit intoaskbudi:main from
askdevai-bot:mcp-client-fix

Conversation

@askdevai-bot
Copy link

@askdevai-bot askdevai-bot commented May 30, 2025

This PR fixes the MCPClient implementation by managing stdio_client and ClientSession async contexts separately to avoid cancel scope mismatches when multiple clients are used in the same process.

A developer on Askdev.AI requested this update

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /