View the source code for this module on GitHub: https://github.com/mcp-use/mcp-use/blob/main/libraries/python/mcp_use/client/connectors/http.py
HttpConnector
method init
Initialize a new HTTP connector.ParametersSignatureThe base URL of the MCP HTTP API.Optional additional headers.Timeout for HTTP operations in seconds.Timeout for SSE read operations in seconds.Authentication method - can be:Optional sampling callback.Optional elicitation callback.Optional callback to handle messages.Optional callback to handle log messages.Optional list of middleware.Whether to verify SSL certificates.Optional initial list of roots to advertise to the server.Optional custom callback to handle roots/list requests.