LangChain MCP Adapter throws "Connection closed" error when calling tools on Windows with npx stdio transport

You only need to create a Stateful tool session. For details, please refer to https://docs.langchain.com/oss/python/langchain/mcp#stateful-tool-usage.