# mcp-server

Connects your ThoughtSpot instance to AI coding agents via HTTP MCP. It handles OAuth authorization and queries live analytics data in chat.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 34
- Author: thoughtspot
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/thoughtspot/mcp-server
- Updated: 2026-10-24
- HTML: https://affpapa.org/en/nevibecode/mcp/thoughtspot-mcp-server

## What it does

The server exposes ThoughtSpot data to your assistant through the `https://agent.thoughtspot.app/mcp` endpoint. For clients lacking dynamic client registration, you create credentials manually at `agent.thoughtspot.app/clients`. `Oauth Client Id` and `Oauth Client Secret` appear only during generation; losing them means creating a new client from scratch.

You can attach a fixed ThoughtSpot URL directly to the registered client so users skip entering it during sign-in. For multi-domain deployments, the `INSTANCE_ALLOWLIST_BY_HOST` environment variable accepts a JSON map to restrict instances per hostname. An invalid JSON value triggers a 500 error instead of disabling validation.

## Requirements
- Remote server: `https://agent.thoughtspot.app/mcp`

## Install

### Claude Code (native platform)

**Platform CLI: remote server**
```bash
claude mcp add --transport http mcp-server https://agent.thoughtspot.app/mcp
```

### Codex

**Platform CLI: remote server**
```bash
codex mcp add thoughtspot-mcp-server --url https://agent.thoughtspot.app/mcp
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "thoughtspot-mcp-server": {
            "url": "https://agent.thoughtspot.app/mcp"
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "thoughtspot-mcp-server": {
            "type": "http",
            "url": "https://agent.thoughtspot.app/mcp"
        }
    }
}
```

### Gemini CLI

**Platform CLI: remote server**
```bash
gemini mcp add -t http thoughtspot-mcp-server https://agent.thoughtspot.app/mcp
```

## When to use it
- query ThoughtSpot analytics directly from the AI chat
- configure OAuth authorization for ThoughtSpot instances
- restrict instance access by hostname using an allowlist

## Example prompts
- Fetch the latest sales numbers from ThoughtSpot
- Run a ThoughtSpot query to check active accounts this month

## Similar
- [World Monitor](https://affpapa.org/en/nevibecode/mcp/world-monitor.md) — MCP server · ★ 89408
- [Scrapling MCP Server](https://affpapa.org/en/nevibecode/mcp/scrapling-mcp-server.md) — MCP server · ★ 89433
- [MCP Toolbox for Databases](https://affpapa.org/en/nevibecode/mcp/googleapis-mcp-toolbox-for-databases.md) — MCP server · ★ 16717
- [PostHog MCP Server](https://affpapa.org/en/nevibecode/mcp/posthog-mcp-server.md) — MCP server · ★ 40409
- [dbx](https://affpapa.org/en/nevibecode/mcp/dbx.md) — MCP server · ★ 27669
- [Metabase](https://affpapa.org/en/nevibecode/mcp/metabase.md) — MCP server · ★ 49845

## Other versions with the same name
- [mcp-server · heyputer](https://affpapa.org/en/nevibecode/mcp/mcp-server.md) — ★ 43872
- [mcp-server · mapbox](https://affpapa.org/en/nevibecode/mcp/mapbox-mcp-server.md) — ★ 363
- [mcp-server · packmindhub](https://affpapa.org/en/nevibecode/mcp/packmindhub-mcp-server.md) — ★ 319
- [mcp-server · bingowon](https://affpapa.org/en/nevibecode/mcp/bingowon-mcp-server.md) — ★ 121
- [mcp-server · ui5](https://affpapa.org/en/nevibecode/mcp/ui5-mcp-server.md) — ★ 104

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
