Configuration for stdio transport connections to MCP servers.
StdioConnection()The executable to run to start the server.
Command line arguments to pass to the executable.
The environment to use when spawning the process.
If not specified or set to None, a subset of the default environment variables from the current process will be used.
Please refer to the MCP SDK documentation for details on which environment variables are included by default. The behavior varies by operating system.
The working directory to use when spawning the process.
The text encoding used when sending/receiving messages to the server.
Default is 'utf-8'.
The text encoding error handler.
See https://docs.python.org/3/library/codecs.html#codec-base-classes for explanations of possible values.
Default is 'strict', which raises an error on encoding/decoding errors.
Additional keyword arguments to pass to the ClientSession.