MCP Headless Gmail Server

gmail_refresh_token

Generate a renewed Gmail access token using a refresh token and client credentials, ensuring continuous API access for email operations without local credentials or browser dependencies.

Instructions

Refresh the access token using the refresh token and client credentials

Input Schema

NameRequiredDescriptionDefault
google_access_tokenNoGoogle OAuth2 access token (optional if expired)
google_client_idYesGoogle OAuth2 client ID for token refresh
google_client_secretYesGoogle OAuth2 client secret for token refresh
google_refresh_tokenYesGoogle OAuth2 refresh token

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "google_access_token": { "description": "Google OAuth2 access token (optional if expired)", "type": "string" }, "google_client_id": { "description": "Google OAuth2 client ID for token refresh", "type": "string" }, "google_client_secret": { "description": "Google OAuth2 client secret for token refresh", "type": "string" }, "google_refresh_token": { "description": "Google OAuth2 refresh token", "type": "string" } }, "required": [ "google_refresh_token", "google_client_id", "google_client_secret" ], "type": "object" }

You must be authenticated.

Other Tools from MCP Headless Gmail Server

Related Tools

ID: rd8xm8mnxn