ThoughtSpot MCP Server
RemoteAbout ThoughtSpot MCP Server
ThoughtSpot MCP Server connects ThoughtSpot Spotter to MCP clients, providing tools to query and retrieve data from a ThoughtSpot instance. It handles authentication and returns live answers from instance data.
Key features
- 01Query and retrieve ThoughtSpot data
- 02Connect to instances and handle authentication
- 03Support manual OAuth client registration
- 04Restrict allowed instances by hostname
Use cases
- 01Query ThoughtSpot data from an MCP client
- 02Retrieve relevant data from an instance
- 03Configure OAuth for clients without dynamic registration
- 04Limit authorized instances by hostname
MCP support
The MCP server exposes tools for querying and retrieving ThoughtSpot data to MCP clients. OAuth client details can be configured in the client.
Configuration
Remote servers need no local install. Pick your client, then copy the config or install in one click.
https://agent.thoughtspot.app/mcpclaude mcp add --transport http thoughtspot https://agent.thoughtspot.app/mcp{"mcpServers":{"thoughtspot":{"type":"http","url":"https://agent.thoughtspot.app/mcp"}}}Open in Cursor{"servers":{"thoughtspot":{"type":"http","url":"https://agent.thoughtspot.app/mcp"}}}Open in VS Code{"mcpServers":{"thoughtspot":{"type":"http","url":"https://agent.thoughtspot.app/mcp"}}}{"mcpServers":{"thoughtspot":{"serverUrl":"https://agent.thoughtspot.app/mcp"}}}Run commands in a terminal; paste JSON into the client’s MCP config and restart. Servers that need sign-in will prompt on first connect.
https://agent.thoughtspot.app/mcphttps://agent.thoughtspot.app/ssehttps://agent.thoughtspot.app/bearer/mcpAuth requiredhttps://agent.thoughtspot.app/bearer/sseAuth requiredTools
Details
From the project README
ThoughtSpot MCP Server
ThoughtSpot Spotter MCP Server provides a set of tools for querying and retrieving relevant data from your ThoughtSpot instance. Spotter connects to your ThoughtSpot instance, handles authentication securely, and returns live answers from your own data.
- ThoughtSpot Spotter MCP Server documentation
- Create a free ThoughtSpot account
- What is ThoughtSpot?
- Get support on Discord
- Privacy statement
Table of Contents
Manual client registration
For MCP hosts which do not(yet) support Dynamic client registration, or they require statically adding Oauth Client Id etc. Go to this page, to register a new client and copy the details over. The most relevant values are Oauth Client Id and Oauth Client Secret which should be added when adding ThoughtSpot as an MCP connector in the MCP client (ChatGPT/Claude etc). The generated client details are only available when they are generated and are NOT available later for reference.
Associate with a ThoughtSpot instance
Manual client registration also allows to associate with a specific ThoughtSpot instance, so that your users do not have to enter the Thoughtspot instance URL when doing the authorization flow. While registering the Oauth client add ThoughtSpot URL to the appropriate value.
Restrict instances per domain
When the Worker serves several custom domains, you can limit which ThoughtSpot instances each domain accepts with the INSTANCE_ALLOWLIST_BY_HOST environment variable. Its value is a JSON object that maps a hostname to its allowed instance URLs:
{"mcp.example.com": ["https://instance-a.thoughtspot.cloud", "https://instance-b.thoughtspot.cloud"]}
On a listed hostname:
- The authorization page shows a dropdown of the allowed instances instead of a free-text field.
POST /authorizerejects any other instance with a 400.- MCP requests (
/mcp,/sse,/token/*,/bearer/*) for any other instance get a 403.
Hostnames that aren't listed behave as before. If the value is not valid JSON, the server rejects requests with a 500 instead of lifting the restriction.
Contributing
Local Development
- Install dependencies:
npm install - Set up environment variables:
- Copy
.dev.varsand fill in your ThoughtSpot instance URL and access token.
- Copy
- Start the development server:
npm run dev
Adding New Tools
When adding new MCP tools to the server:
- Define schemas and tools in
src/servers/tool-definitions.ts - Implement handlers in
src/servers/mcp-server.ts - Update version registry in
src/servers/version-registry.ts:- Add new tools to appropriate version(s) in
VERSION_REGISTRY - For new stable features, update
DEFAULT_VERSION - For beta features, add to the
betaversion entry
- Add new tools to appropriate version(s) in
- Add tests for new tools and version configurations
- Update documentation in README.md
Important: The version registry controls which tools are available in each API version. Make sure to add new tools to the correct version configuration to ensure they're accessible to users.
MCP Server, © ThoughtSpot, Inc. 2026
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.