# Set up SpotterCode

> For the complete documentation index, see [llms.txt](https://developers.thoughtspot.com/docs/llms.txt)

Source: https://developers.thoughtspot.com/docs/tutorials/spottercode-embed/set-up-spottercode

# Set up SpotterCode

This guide uses a Claude Code environment as an example. The setup takes one of two paths, depending on your Claude account.

### If you have Claude AI (web) access

1.  In Claude AI, go to **Customize** > **Connectors**.
    
2.  Click the **+** icon and select **Add custom connector**.
    
3.  Enter the server URL:
    
    ```text
    https://spottercode.thoughtspot.app/mcp
    ```
    
4.  Click **Add**.
    
    This syncs to Claude Code automatically; no separate configuration is needed.
    

### If you have Claude Code only

Run the following command from the CLI in your project directory:

```bash
claude mcp add --transport http SpotterCode https://spottercode.thoughtspot.app/mcp
```

### Verify the connection

Open a chat in your project and ask a scoped question to confirm SpotterCode is connected:

```text
"Use SpotterCode to confirm you have access to the ThoughtSpot developer docs and REST API reference."
```

Your browser does not support the video tag.

### Cursor and VS Code

The same pattern applies in Cursor or VS Code:

-   **Cursor**: One-click install from the Cursor Marketplace, or add the server URL in **Settings** > **Tools and MCP**.
    
-   **VS Code**: Add the server via the Extensions view or your workspace `mcp.json`, with GitHub Copilot (or a similar chat agent extension) installed.
    

The prompting workflow in the following steps is identical once either editor is connected.

[← Previous]({{navprefix}}/tutorials/spottercode-embed/intro) [Next →]({{navprefix}}/tutorials/spottercode-embed/embed-liveboard-view)