from swarms.tools.mcp_client_call import ( get_mcp_tools_sync, ) from swarms.schemas.mcp_schemas import MCPConnection import json if __name__ == "__main__": tools = get_mcp_tools_sync( server_path="http://0.0.0.0:8000/sse", format="openai", connection=MCPConnection( url="http://0.0.0.0:8000/sse", headers={"Authorization": "Bearer 1234567890"}, timeout=10, ), ) print(json.dumps(tools, indent=4)) print(type(tools))