Problem:
After the expiry of the access token, the MCP connection is lost.
Expected Behavior:
A new access token should be obtained automatically using the refresh token.
Proposed Solution:
Implement logic to use the refresh token to get a new access token and restore or sustain the MCP connection without interruption when the current token expires.
Impact:
Improves reliability and user experience when sessions time out due to token expiry.