{
"mcpServers": {
"ThoughtSpot": {
"command": "npx",
"args": [
"mcp-remote",
"https://agent.thoughtspot.app/mcp?api-version={YYYY-MM-DD}" // replace YYYY-MM-DD with an actual date string
]
}
}
}
Connecting MCP Server to clients
- Before you begin
- OAuth client registration
- Using ThoughtSpot Spotter with ChatGPT and Claude
- Connecting clients that support remote MCP servers
- Connecting MCP Server to Gemini Enterprise
- Connecting Microsoft Copilot
- Connecting MCP Server to local MCP clients
- Verifying integration
- Troubleshooting connection errors
- Using the ThoughtSpot skill with skill-aware clients
- Switching between Orgs
- Additional resources
If your application already has an AI-native experience or supports MCP-aware agents and LLMs, you can integrate ThoughtSpot analytics directly into your app’s agentic experience by connecting the ThoughtSpot Spotter MCP Server to your client.
In this plug-and-play integration, your application’s chat interface and LLM orchestrate conversation sessions. The MCP Server exposes ThoughtSpot’s analytics capabilities as tools, which your agent or LLM can invoke as needed. This approach allows you to bring ThoughtSpot analytics into your own AI-native experience and use it as a data and analytics provider through the MCP Server, while your system controls user interaction and orchestration logic.
When your MCP client is connected to the ThoughtSpot Spotter MCP Server, the AI agent/LLM can:
-
Automatically discover ThoughtSpot MCP tools.
-
Call the MCP tools to determine the data context and answer data questions.
-
Create a Liveboard with the visualizations generated during the interaction.
Before you begin🔗
Before you begin, review the following prerequisites:
-
Ensure that your setup has access to a ThoughtSpot application instance with 10.11.0.cl or a later release. For MCP Server with Spotter 3 capabilities, ensure that your ThoughtSpot instance is 26.2.0.cl or later.
-
Ensure that users have the necessary permissions to view data from relevant models and tables in ThoughtSpot. Existing row-level security (RLS) and column-level security (CLS) rules on tables are enforced automatically in data source responses. Creating charts or dashboards from a conversation session requires data download and content creation privileges.
OAuth client registration🔗
How the OAuth client is registered depends on the MCP client:
-
If the client supports Dynamic Client Registration (DCR), the OAuth client is registered automatically.
-
If the client does not support dynamic registration or requires static client credentials, register an OAuth client manually. Then enter the OAuth client ID and client secret in the client when you add ThoughtSpot as an MCP connector. To register a client, go to ThoughtSpot MCP OAuth Client Registration. The generated client details are shown only once and cannot be retrieved later.
When you register the OAuth client, add your ThoughtSpot instance URL in the instance URL field. This ensures that users are not prompted to enter the instance URL during the OAuth flow, and the OAuth redirect returns correctly to your ThoughtSpot environment after login.
Using ThoughtSpot Spotter with ChatGPT and Claude🔗
The ThoughtSpot Spotter MCP Server is available directly from the ChatGPT and Claude marketplaces. If you want to use ThoughtSpot Spotter with ChatGPT or Claude, you can install it directly from these marketplaces instead of manually configuring it.
Installation differs by platform:
- ChatGPT
-
ThoughtSpot Spotter is available as an App in the ChatGPT App Store. Search for ThoughtSpot Spotter in the ChatGPT App Store and follow ChatGPT’s installation instructions.
- Claude
-
ThoughtSpot Spotter is available as a Connector in Claude’s Connectors marketplace. Search for ThoughtSpot Spotter in Claude’s Connectors marketplace and follow Claude’s installation instructions.
Once installed, you can use ThoughtSpot Spotter to query your ThoughtSpot instance directly within ChatGPT or Claude.
Connecting clients that support remote MCP servers🔗
To connect a client that supports remote MCP servers natively, add the Spotter MCP Server endpoint to your client’s configuration settings.
Most clients authenticate users through OAuth. This method lets you use your existing IdP or SSO configuration for ThoughtSpot login. When a user connects, the client redirects the user to ThoughtSpot to sign in. After a successful login, the client stores the issued OAuth tokens and includes them with each MCP tool call. The Spotter MCP Server then calls ThoughtSpot on behalf of that user.
For OAuth clients, the following options are available:
-
https://agent.thoughtspot.app/mcp?api-version=latest
This URL always points to the latest version. -
https://agent.thoughtspot.app/mcp
This URL resolves to the latest version. -
https://agent.thoughtspot.app/mcp?api-version={YYYY-MM-DD}
If you want to pin a specific version, use this URL format. -
https://agent.thoughtspot.app/mcp-latest
This path-based URL always points to the latest version. Use it with clients such as Microsoft Copilot that do not support query parameters in the MCP Server URL. For more information, see Connecting Microsoft Copilot.
|
Important
|
The |
For more information about how to register a remote MCP Server, see your client’s documentation.
Connecting MCP Server to Gemini Enterprise🔗
Gemini Enterprise connects to the ThoughtSpot Spotter MCP Server through a custom MCP server data store. Gemini Enterprise doesn’t support Dynamic Client Registration (DCR), so you must register a static OAuth client with ThoughtSpot and enter its client ID and secret in the Google Cloud console.
Before you begin, make sure that your ThoughtSpot instance meets the requirements listed in Before you begin. You also need a Gemini Enterprise app and a Google Cloud project that meets Google’s requirements for custom MCP server data stores. For more information, see Set up your custom MCP server data store in the Gemini Enterprise documentation.
Registering an OAuth client for Gemini Enterprise🔗
To register an OAuth client for Gemini:
-
Enter the following values in the registration form:
Field Value Redirect URI
https://vertexaisearch.cloud.google.com/oauth-redirectToken Endpoint Auth Method
client_secret_basicGrant Types
authorization_code,refresh_tokenResponse Types
codeScope
Leave blank.
ThoughtSpot Instance URL
Optional. If you leave this field blank, users are prompted for their ThoughtSpot instance URL when they authorize the connection.
-
Submit the form.
-
Copy the client ID and client secret, and store them securely.
|
Important
|
The client details are shown only once and can’t be retrieved later. If you lose them, register a new client. |
Adding the MCP Server to Gemini Enterprise🔗
Create a custom MCP server data store in your Gemini Enterprise app by following the instructions in Set up your custom MCP server data store. When you configure the data store, select OAuth 2.0 authentication and enter the following values:
| Field | Value |
|---|---|
MCP Server URL |
|
Authorization URL |
|
Token URL |
|
Client ID | The client ID you copied when you registered the OAuth client. |
Client Secret | The client secret you copied when you registered the OAuth client. |
When the data store is active, users in your Gemini Enterprise app can authorize the ThoughtSpot connection with their own ThoughtSpot credentials and ask data questions in Gemini. Each user sees only the data that their ThoughtSpot permissions allow.
To verify the connection in Gemini Enterprise:
-
Open your Gemini Enterprise app.
-
If prompted, authorize the ThoughtSpot data store and sign in to ThoughtSpot.
-
Ask a question about your data, for example,
What data sources do I have access to in ThoughtSpot? -
Verify that Gemini calls the ThoughtSpot tools and returns results from your ThoughtSpot instance.
For connection or authentication errors, see Troubleshooting connection errors.
Connecting Microsoft Copilot🔗
You can add the ThoughtSpot Spotter MCP Server as a tool when you create an agent in Microsoft Copilot Studio.
|
Important
|
Microsoft Copilot does not honor query parameters in the MCP Server URL. Therefore, the |
Registering the OAuth client using dynamic discovery🔗
To connect Microsoft Copilot to the Spotter MCP Server:
-
While creating an agent in Copilot Studio, add a tool and select Model Context Protocol.
-
In the Add a Model Context Protocol server dialog, enter a server name, a description, and the MCP Server URL:
https://agent.thoughtspot.app/mcp-latest -
Under Authentication, select OAuth 2.0. By default, Type is set to Dynamic discovery. Keep this setting if you want Copilot Studio to discover the MCP Server and connect through OAuth.
If you want to pre-populate the ThoughtSpot instance URL when authenticating with the MCP Server, register the OAuth client manually instead. -
Click Create.
Then, complete the steps in Completing authentication in Copilot Studio.
Registering the OAuth client manually🔗
Copilot Studio does not provide a redirect URI until you save the MCP Server configuration. However, registering an OAuth client in ThoughtSpot requires a redirect URI. To resolve this, register the client with a placeholder redirect URI first, and update it later. For general information about registering an OAuth client, see OAuth client registration.
-
Go to ThoughtSpot MCP OAuth Client Registration, and register a client with a placeholder redirect URI, for example,
https://example.com. Enter your ThoughtSpot instance URL in the registration form. -
Store the generated client ID and client secret in a safe place. The client details are shown only once and cannot be retrieved later.
-
In the Add a Model Context Protocol server dialog in Copilot Studio, set Authentication to OAuth 2.0 and Type to Manual, and enter the following details:
-
Client ID and Client secret: The values generated during registration.
-
Authorization URL:
https://agent.thoughtspot.app/authorize -
Token URL template:
https://agent.thoughtspot.app/token -
Refresh URL:
https://agent.thoughtspot.app/token -
Scopes: Optional.
-
-
Click Create. Copilot Studio generates a redirect URL.
-
On the ThoughtSpot MCP OAuth Client Registration page, use Update redirect URIs for an existing client to remove the placeholder redirect URI and add the redirect URL that Copilot Studio generated.
After you update the redirect URI, the ThoughtSpot instance URL you provided during registration is pre-populated when users sign in.
Then, complete the steps in Completing authentication in Copilot Studio.
Completing authentication in Copilot Studio🔗
To complete the OAuth flow:
-
Sign in to ThoughtSpot to complete the OAuth flow.
-
When you ask the agent to query ThoughtSpot for the first time, Copilot Studio might prompt you to connect again from the Connection Manager. Click Connect.
-
Click Submit, and then click Retry.
To confirm that the integration works, see verify your integration.
Connecting MCP Server to local MCP clients🔗
For MCP clients that do not natively support configuring a remote MCP Server URL, you must use the mcp-remote component. For desktop clients that rely on local MCP components, ensure that Node.js version 22 or later is installed on the machine where the client runs.
Verifying integration🔗
After the MCP Server is connected, some clients show ThoughtSpot Data Sources under a Resources or Datasets section.
To verify the integration:
-
Start a chat session with the agent and verify the response.
-
Verify that MCP tools are being called to generate responses. See the MCP tool reference guide for information about tool calls.
-
Try the dashboard creation request and verify whether a Liveboard is added to your ThoughtSpot application.
Troubleshooting connection errors🔗
- MCP Server is not connected
-
-
Verify that the MCP Server is reachable.
-
Ensure that you have access to a ThoughtSpot instance.
-
Ensure that there are no configuration errors.
-
If the issue persists, verify the logs and contact ThoughtSpot Support for assistance.
-
- Authentication failure
-
If user authentication fails, or if the server returns HTTP 500, 401, or 403 status codes:
-
Verify whether the MCP Server endpoint and ThoughtSpot host are correctly configured in your client and are reachable.
-
Check whether the user session has expired. Log in to your ThoughtSpot application to start a new session.
-
Verify whether the user has the necessary privileges to view data or create content.
-
Using the ThoughtSpot skill with skill-aware clients🔗
Some LLM clients, such as Claude, support skills. A skill is a packaged set of instructions that an agent loads on demand to perform a task more reliably. ThoughtSpot provides a companion skill, analyzing-data-with-thoughtspot, that helps skill-aware clients use the MCP tools more effectively. For example, it routes questions intelligently, shows progress while the agent works, and surfaces ThoughtSpot’s own visualizations instead of generating new charts.
The skill is optional and is installed separately from the connector. Connecting the ThoughtSpot Spotter connector (or configuring the MCP Server) gives your client access to the available tools. Installing the skill doesn’t provide the tools themselves; instead, it helps the client understand when and how to orchestrate those tools effectively. You can use the MCP Server without the skill, but clients that support skills generally produce better results when both the connector and the skill are installed.
Adding the skill🔗
To add the skill:
-
Get the ThoughtSpot skill (
analyzing-data-with-thoughtspot) from the ThoughtSpot MCP Server repository. -
Add the skill in your client, following the client’s documentation for installing and enabling skills.
Verifying the skill🔗
To verify the skill, start a chat session and ask a data question. Check that the ThoughtSpot MCP tools are called to generate the response. For information about tool calls, see the MCP tool reference guide.
Switching between Orgs🔗
If the user has access to multiple ThoughtSpot Orgs, the ThoughtSpot Spotter MCP Server defaults to the last Org the user was logged into.
To switch Orgs mid-session without re-authentication, use the list_orgs and switch_org MCP tools:
-
Call
list_orgsto retrieve the Orgs your account can access, along with each Org’s ID and display name. -
Call
switch_orgwith theorg_idof the Org you want to switch to. The MCP Server switches your active Org immediately. Any subsequent tool calls in the session run in the context of the new Org.
For more information, see list_orgs and switch_org.
|
Note
|
The |
Additional resources🔗
-
For information about the MCP Server features and architecture, see MCP Server integration.
-
To view the MCP Server code, go to the MCP Server GitHub repository.