fix: correct anyio stream creation syntax#1188
fix: correct anyio stream creation syntax#1188S-Naved wants to merge 2 commits intomodelcontextprotocol:mainfrom
Conversation
- Remove invalid subscript syntax from anyio.create_memory_object_stream call
|
What is the issue? What version of anyio and mcp? |
|
When I build the local MCP it's showing me an error: |
|
The minimum anyio version is 4.5.0. Bump that package, please. |
Fixes TypeError during session initialization by correcting the syntax for
anyio.create_memory_object_streamcall. The invalid subscript syntax ([...]) was causing server startup failures.Changes
[...]fromanyio.create_memory_object_stream[...](0)callVerification