You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/ROOT/pages/mcp-integration.adoc
+17-15Lines changed: 17 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,13 +40,15 @@ The `getRelevantQuestions` tool to fetch relevant data questions for a given dat
40
40
* `getAnswer` to execute the queries and fetch data +
41
41
The `getAnswer` tool generates answers and insights for a given data context.
42
42
* `createLiveboard` to create a Liveboard in ThoughtSpot +
43
-
The `createLiveboard` tool calls the Liveboard creation workflow and creates a Liveboard with the answers generated from user's query.
43
+
The `createLiveboard` tool calls the Liveboard creation workflow and creates a Liveboard with the answers generated from the user's query.
44
+
45
+
////
44
46
* `getDataSourceSuggestions` to get data source suggestions +
45
47
Based on the type of data that users want to fetch, `getDataSourceSuggestions` gets a list of data source recommendations. Currently, `getDataSourceSuggestions` is not exposed as an MCP tool and is available as an MCP `resource`. To get data source suggestions, the user or MCP client must have at least view access to ThoughtSpot data sources.
46
-
48
+
////
47
49
48
50
MCP client/ LLM agent::
49
-
The external system or application environment with AI Agent, Claude, OpenAI, or a custom chatbot that acts as a user interface and orchestrates interaction with ThoughtSpot MCP Server
51
+
The external system or application environment with AI Agent, Claude, OpenAI, or a custom chatbot that acts as a user interface and orchestrates interaction with the ThoughtSpot MCP Server.
50
52
This is the model or system that processes the user’s natural language input, determines which tool to call, and integrates the tool results into its final output.
51
53
52
54
////
@@ -57,11 +59,11 @@ Integration requires configuration, typically via a config file, to specify serv
57
59
Authentication and security settings::
58
60
59
61
* Access to ThoughtSpot instance: +
60
-
For MCP Server connection, users require access to a ThoughtSpot instance. For tool invocation, the MCP server must accept authenticated requests and the LLM tool specification must carry those credentials or headers. +
61
-
ThoughtSpot administrators can use the SSO framework with SAML or OAuth token-based authentication methods to authenticate and sign in the users. +
62
+
For MCP Server connection, users require access to a ThoughtSpot instance. For tool invocation, the MCP server must accept authenticated requests, and the LLM tool specification must carry those credentials or headers. +
63
+
ThoughtSpot administrators can use the SSO framework with SAML or OAuth token-based authentication methods to authenticate and sign in users. +
62
64
* SAML redirect settings: +
63
65
For SAML SSO users, the SAML redirect domain configuration is required to ensure that users are redirected to an allowed and trusted domain after they are authenticated. +
64
-
* To get answers to their data queries, your application users require at least view access to ThoughtSpot data sources. To generate an Answer or to create Liveboard, users require data download privilege.
66
+
* To get answers to their data queries, your application users require at least view access to ThoughtSpot data sources. To generate an Answer or to create a Liveboard, users require the data download privilege.
65
67
* CSP and CORS settings: +
66
68
To secure communication between the MCP client and the ThoughtSpot instance, administrators must add the MCP Server URL to CSP (Content Security Policy) and CORS (Cross-Origin Resource Sharing) allowlists in ThoughtSpot.
67
69
* Client connection configuration: +
@@ -75,7 +77,7 @@ The MCP Server integration with an agentic framework or LLM clients enables the
75
77
. User sends a query to get data from a specific ThoughtSpot data model context.
76
78
. The LLM / AI agent receives the request and sends it to the MCP server endpoint with the user's query.
77
79
. The MCP server responds with the available tools.
78
-
. The LLM / AI Agent determines the appropriate MCP tool to call. Based on the user's query or prompt, the MCP tools are invoked. For example, to get information for a specific data context from ThoughtSpot, break down the user's query into relevant questions or create an artifact in ThoughtSpot programmatically.
80
+
. The LLM / AI Agent determines the appropriate MCP tool to call. Based on the user's query or prompt, the MCP tools are invoked. For example, to get information for a specific data context from ThoughtSpot, break down the user's query into relevant questions or programmatically create an artifact in ThoughtSpot.
79
81
. The MCP server processes the request and returns the result.
80
82
. The agent receives the response, constructs the output, and presents it to the user.
81
83
. User receives the response. The user can refine the analysis with follow-up queries for further exploration or ask a new question. +
@@ -107,7 +109,7 @@ To enable secure communication between the MCP Server and your ThoughtSpot insta
107
109
////
108
110
=== Configure security settings on ThoughtSpot
109
111
110
-
To allow the secure communication between the MCP Server and your ThoughtSpot instance, configure the following settings:
112
+
To allow secure communication between the MCP Server and your ThoughtSpot instance, configure the following settings:
111
113
112
114
. On your ThoughtSpot instance, navigate to *Develop* > *Customizations* > *Security Settings*.
113
115
. Add the MCP Server domain to CSP and CORS allowlists.
@@ -116,7 +118,7 @@ To allow the secure communication between the MCP Server and your ThoughtSpot in
116
118
117
119
=== Connect your client to the MCP Server
118
120
119
-
If using a client that supports remote MCPs natively such as Claude AI, use the following MCP server URL:
121
+
If using a client that supports remote MCPs natively, such as Claude AI, use the following MCP server URL:
120
122
----
121
123
https://agent.thoughtspot.app/mcp
122
124
----
@@ -126,11 +128,11 @@ For OpenAI ChatGPT Deep Research, use the following URL:
126
128
https://agent.thoughtspot.app/openai/mcp
127
129
----
128
130
129
-
For MCP clients such as Claude Desktop, Windsurf, Cursor, that do not support remote MCP Server, you must xref:mcp-integration.adoc#_connecting_other_mcp_clients_claude_desktop[add the MCP server configuration to your MCP client settings].
131
+
For MCP clients such as Claude Desktop, Windsurf, and Cursor that do not support a remote MCP Server, you must xref:mcp-integration.adoc#_connecting_other_mcp_clients_claude_desktop[add the MCP server configuration to your MCP client settings].
130
132
131
133
=== Call MCP tools via LLM APIs
132
134
133
-
ThoughtSpot remote MCP Server acts as a wrapper over the ThoughtSpot APIs, making them available as tools for agent frameworks or LLMs such as Claude or OpenAI. It exposes specific tools to get relevant questions, answer, datasource suggestions, or create a Liveboard, which can be invoked by the LLMs in response to a user's query or prompt.
135
+
ThoughtSpot remote MCP Server acts as a wrapper over the ThoughtSpot APIs, making them available as tools for agent frameworks or LLMs such as Claude or OpenAI. It exposes specific tools that can be invoked by the LLMs in response to a user's query or prompt.
134
136
135
137
To enable tool calling:
136
138
@@ -148,7 +150,7 @@ For information about calling MCP tools using LLM APIs and methods, see these se
148
150
* xref:mcp-integration.adoc#_gemini_api[Gemini API and function calling]
149
151
150
152
==== Claude MCP connector
151
-
Claude’s MCP connector feature enables you to connect to remote MCP Servers directly from the Messages API.
153
+
The Claude’s MCP connector allows you to connect to remote MCP Servers directly from the Messages API.
152
154
153
155
To connect to the ThoughtSpot remote MCP Server, specify the following properties in the API request:
154
156
@@ -161,7 +163,7 @@ __String__. The URL of the remote MCP Server endpoint. Must start with `https://
161
163
** `name` +
162
164
__String__. A unique identifier/label for the MCP Server. It will be used in the MCP tool call blocks to identify the server and to disambiguate tools to the LLM.
163
165
** `authorization_token` +
164
-
__String__. OAuth authorization token (`TS_AUTH_TOKEN`) along with the ThoughtSpot application instance URL. In the following example, authorization token is prefixed, and the ThoughtSpot host URL is added with the `@` symbol.
166
+
__String__. OAuth authorization token (`TS_AUTH_TOKEN`) along with the ThoughtSpot application instance URL. In the following example, the authorization token is added as a prefix, and the ThoughtSpot host URL is added with the `@` symbol.
165
167
166
168
* `messages` +
167
169
In the `messages` array, specify a natural language question in `content` and the user role in `role`.
@@ -336,7 +338,7 @@ For additional information, refer to the following resources:
336
338
337
339
=== For clients that do not support the remote MCP server
338
340
339
-
For clients such as Claude Desktop, Windsurf, Cursor, which do not support remote MCP servers, add the following configuration to your MCP client settings:
341
+
For clients such as Claude Desktop, Windsurf, and Cursor, which do not support remote MCP servers, add the following configuration to your MCP client settings:
0 commit comments