How can I generate non expiring tokens for Google Drive access?

I am looking for help with google drive MCP connector for Agent builder. Currently Access tokens that are generated via OAuth Playground expire in an hour, I am looking for guidance on creating a token that does not expire, or that automatically updates, so that my agent can access my google drive, whenever needed, without having to update tokens.

Thanks

3 Likes