StdIO connection management for MCP implementations API Documentation
from mcp_use.task_managers.stdio import StdioConnectionManager
method
server_paramsmcp.client.stdio.StdioServerParametersrequired The parameters for the stdio server errlogTextIO The error log stream
def __init__(server_params: mcp.client.stdio.StdioServerParameters, errlog: TextIO = <_io.TextIOWrapper name='<stderr>' mode='w' encoding='utf-8'>):
Was this page helpful?