Skip to main content
Glama

validate_quantconnect_auth

Verify QuantConnect authentication settings to ensure configuration integrity. Returns a dictionary with validation results for secure trading strategy execution.

Instructions

Validate current QuantConnect authentication configuration.

Returns: Dictionary containing authentication validation results

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler function that implements the core logic of the 'validate_quantconnect_auth' tool. It retrieves the auth instance, calls validate_authentication on it, and returns the validation status.
    @mcp.tool() async def validate_quantconnect_auth() -> Dict[str, Any]: """ Validate current QuantConnect authentication configuration. Returns: Dictionary containing authentication validation results """ try: auth = get_auth_instance() if auth is None: return { "status": "error", "error": "Authentication not configured", "message": "Use configure_quantconnect_auth to set up credentials first", "authenticated": False, } # Validate authentication is_valid, message = await auth.validate_authentication() return { "status": "success" if is_valid else "error", "authenticated": is_valid, "message": message, "user_id": auth.user_id, "organization_id": auth.organization_id, "has_organization": auth.organization_id is not None, } except Exception as e: return { "status": "error", "error": str(e), "message": "Failed to validate authentication", "authenticated": False, }
  • The call to register_auth_tools which registers the validate_quantconnect_auth tool (among others) to the MCP server instance.
    register_auth_tools(mcp)

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/taylorwilsdon/quantconnect-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server