debug: Initializing HTTP transport to https://api.githubcopilot.com/mcp/


debug: Environment: {"NODE_OPTIONS":"not set","UV_THREADPOOL_SIZE":"default","HTTP_PROXY":"not set","HTTPS_PROXY":"not set","NO_PROXY":"not set"}


debug: Client created, setting up request handler


debug: Starting connection with timeout of 30000ms


debug: Testing basic HTTP connectivity to https://api.githubcopilot.com/mcp/


debug: Parsed URL: host=api.githubcopilot.com, port=default, protocol=https:


debug:
HTTP Connection failed after 648ms: Streamable HTTP error: Error POSTing to endpoint: bad request: Authorization header is badly formatted
 (code: 400, errno: none)


error:
Error: Streamable HTTP error: Error POSTing to endpoint: bad request: Authorization header is badly formatted

    at send (/$bunfs/root/claude:1495:35100)
    at processTicksAndRejections (native:7:39)


debug: Connection failed after 649ms: Streamable HTTP error: Error POSTing to endpoint: bad request: Authorization header is badly formatted


error: Connection failed: Streamable HTTP error: Error POSTing to endpoint: bad request: Authorization header is badly formatted