In a perfect world, this library allows some kind of OAuthAuthorizationCodeAuthenticator, which not only should read from the OpenAPI OAuth 2.0 security segment to get the required values, such as these, but also allows for interactive authentication through prompting with the MCP server, allowing for each end-user to use their own credentials. This is equivalent to using a swagger ui or scalar ui, where you can interactively generate your oauth tokens and use them (in the browser front-end generated by the UI tooling).
I also requested this in a similar project, see gunpal5/QuickMCP#9