An AI client connects to the Tableau Cloud hosted MCP Server using OAuth 2.0 and operates as expected. However, when the client attempts to reconnect after an extended period of inactivity, such as overnight or over a weekend, authentication may fail.
The following behavior may be observed:
A refresh token request to https://sso.online.tableau.com/oauth2/token fails with an invalid_grant error.
The MCP server returns the message 'credential has been invalidated', 're-authentication is required' in response to an initialize request.
The issue typically occurs after approximately 24 hours without refresh token usage.
Clients that regularly use their refresh tokens and complete token rotation continue to operate as expected.
The behavior has been observed in the following configuration:
Platform: Tableau Cloud
Authentication: OAuth 2.0 authorization code flow with PKCE
Client registration: Client ID Metadata Document
Token management: Refresh-token grant with rotating refresh tokens
We are investigating this issue under ID W-23370605. With the current behavior, clients that do not use their refresh tokens for approximately 24 hours may need to reconnect and re-authenticate.
While this behavior is investigated, AI clients should manage their refresh tokens and initiate token refresh requests as needed to maintain authentication. If a refresh token has been invalidated, the client must complete the authentication flow again.
https://tableau.github.io/tableau-mcp/docs/hosted-tableau-mcp
005461732

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.