View the source code for this module on GitHub: https://github.com/mcp-use/mcp-use/blob/main/mcp_use/config.py
create_connector_from_config
function
create_connector_from_config
Create a connector based on server configuration.
This function can be called with just the server_config parameter:
create_connector_from_config(server_config)ReturnsThe server configuration sectionWhether to use sandboxed execution mode for running MCP servers.Optional sandbox configuration options.Optional sampling callback function.Callback functionParameter valueCallback functionMiddleware instance
SignatureA configured connector instance