Skip to content

Commit a56b53c

Browse files
Update mcp-integration.adoc
1 parent 0d43fc9 commit a56b53c

File tree

1 file changed

+17
-15
lines changed

1 file changed

+17
-15
lines changed

modules/ROOT/pages/mcp-integration.adoc

Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,15 @@ The `getRelevantQuestions` tool to fetch relevant data questions for a given dat
4040
* `getAnswer` to execute the queries and fetch data +
4141
The `getAnswer` tool generates answers and insights for a given data context.
4242
* `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+
////
4446
* `getDataSourceSuggestions` to get data source suggestions +
4547
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+
////
4749

4850
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.
5052
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.
5153

5254
////
@@ -57,11 +59,11 @@ Integration requires configuration, typically via a config file, to specify serv
5759
Authentication and security settings::
5860

5961
* 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. +
6264
* SAML redirect settings: +
6365
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.
6567
* CSP and CORS settings: +
6668
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.
6769
* Client connection configuration: +
@@ -75,7 +77,7 @@ The MCP Server integration with an agentic framework or LLM clients enables the
7577
. User sends a query to get data from a specific ThoughtSpot data model context.
7678
. The LLM / AI agent receives the request and sends it to the MCP server endpoint with the user's query.
7779
. 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.
7981
. The MCP server processes the request and returns the result.
8082
. The agent receives the response, constructs the output, and presents it to the user.
8183
. 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
107109
////
108110
=== Configure security settings on ThoughtSpot
109111
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:
111113
112114
. On your ThoughtSpot instance, navigate to *Develop* > *Customizations* > *Security Settings*.
113115
. 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
116118

117119
=== Connect your client to the MCP Server
118120

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:
120122
----
121123
https://agent.thoughtspot.app/mcp
122124
----
@@ -126,11 +128,11 @@ For OpenAI ChatGPT Deep Research, use the following URL:
126128
https://agent.thoughtspot.app/openai/mcp
127129
----
128130

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].
130132

131133
=== Call MCP tools via LLM APIs
132134

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.
134136

135137
To enable tool calling:
136138

@@ -148,7 +150,7 @@ For information about calling MCP tools using LLM APIs and methods, see these se
148150
* xref:mcp-integration.adoc#_gemini_api[Gemini API and function calling]
149151

150152
==== 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.
152154

153155
To connect to the ThoughtSpot remote MCP Server, specify the following properties in the API request:
154156

@@ -161,7 +163,7 @@ __String__. The URL of the remote MCP Server endpoint. Must start with `https://
161163
** `name` +
162164
__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.
163165
** `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.
165167

166168
* `messages` +
167169
In the `messages` array, specify a natural language question in `content` and the user role in `role`.
@@ -324,7 +326,7 @@ const response = await ai.models.generateContent({
324326
});
325327
console.log(response.text)
326328
327-
// Close the connection
329+
// Close the connection,
328330
await client.close();
329331
----
330332

@@ -336,7 +338,7 @@ For additional information, refer to the following resources:
336338

337339
=== For clients that do not support the remote MCP server
338340

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:
340342

341343
[source,JSON]
342344
----

0 commit comments

Comments
 (0)