python-sdk icon indicating copy to clipboard operation
python-sdk copied to clipboard

[Question] Does stdio MCP client session support concurrent tool retrieval or invocation?

Open kalelsun opened this issue 8 months ago • 0 comments

Hi,

Thanks for the great work on this SDK!

I have a question regarding the stdio MCP client. In particular:

  • Does a single Stdio Client Session support concurrent operations?
    • Specifically, can I concurrently call get_tool() or call_tool() from multiple tasks or coroutines?

I'm building a client that needs to handle multiple tool invocations in parallel, and I want to make sure it's safe to do so with Stdio Client Session.

Thanks in advance!

kalelsun avatar May 28 '25 02:05 kalelsun