python-sdk
python-sdk copied to clipboard
[Question] Does stdio MCP client session support concurrent tool retrieval or invocation?
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 Sessionsupport concurrent operations?- Specifically, can I concurrently call
get_tool()orcall_tool()from multiple tasks or coroutines?
- Specifically, can I concurrently call
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!