Skip to main content
Glama

MCP Headless Gmail Server

gmail_refresh_token

Refresh expired Google OAuth2 access tokens using refresh tokens and client credentials, enabling continuous API access for MCP Headless Gmail Server operations.

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" }

Other Tools from MCP Headless Gmail Server

Related Tools

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/baryhuang/mcp-headless-gmail'

If you have feedback or need assistance with the MCP directory API, please join our Discord server