# Connect your AI assistant

> Add the Stacksync MCP server to Claude, ChatGPT, Codex, Cursor, VS Code, Windsurf, Gemini CLI and other MCP clients

Source: https://docs.stacksync.com/mcp/connect

<div data-with-frame="true">
  <figure>
    <img src="/https/docs.stacksync.com/images/mcp/connect-your-ai-client.webp" alt="The Connect tab of the MCP page in the Stacksync app, with the list of AI clients, the setup steps for Claude and the Copy button next to the MCP server URL." width="1319" height="700" loading="lazy" decoding="async" />
  </figure>
</div>

This single connection provides both [Stacksync platform management](/mcp/platform) and [Stacksync MCP Gateway](/mcp/gateway). You do not need to add a second server for gateway access.

Add the Stacksync MCP server to your AI assistant with the server URL below, then sign in with your Stacksync login. You can also copy the URL from the **Connect** tab of the **MCP** page in the Stacksync app.

```
https://mcp.stacksync.com/mcp
```

<Tabs items="[&#x22;Claude&#x22;,&#x22;Claude Code&#x22;,&#x22;ChatGPT&#x22;,&#x22;Codex&#x22;,&#x22;Cursor&#x22;,&#x22;VS Code&#x22;,&#x22;Windsurf&#x22;,&#x22;Gemini CLI&#x22;,&#x22;Other&#x22;]">
  <Tab value="Claude">
    In Claude on the web or desktop:

    1. Open **Customize → Connectors**, select **+ Add**, then **Add custom connector**.
    2. Name the connector `Stacksync` and enter the server URL `https://mcp.stacksync.com/mcp`.
    3. Select **Connect**, sign in to Stacksync and choose your default workspace.

    On Team and Enterprise plans, an owner first adds the connector in **Organization settings → Connectors**. Members then connect to it individually.
  </Tab>

  <Tab value="Claude Code">
    ```bash
    claude mcp add --transport http stacksync https://mcp.stacksync.com/mcp
    ```

    Add `--scope user` to make the server available in every project. Start Claude Code, run `/mcp`, select `stacksync` and complete the sign-in in your browser.
  </Tab>

  <Tab value="ChatGPT">
    On ChatGPT Plus, Pro, Business, Enterprise and Edu plans:

    1. Open **Settings → Apps → Advanced settings** and turn on **Developer mode**. On Business and Enterprise plans, an administrator may need to allow it.
    2. Select **Create app**, name it `Stacksync`, enter the server URL `https://mcp.stacksync.com/mcp` and choose **OAuth**.
    3. Sign in to Stacksync, then enable Stacksync from the tools menu in any chat.
  </Tab>

  <Tab value="Codex">
    ```bash
    codex mcp add stacksync --url https://mcp.stacksync.com/mcp
    codex mcp login stacksync
    ```
  </Tab>

  <Tab value="Cursor">
    [Add to Cursor](cursor://anysphere.cursor-deeplink/mcp/install?name=stacksync\&config=eyJ1cmwiOiJodHRwczovL21jcC5zdGFja3N5bmMuY29tL21jcCJ9), or add the server to `~/.cursor/mcp.json`:

    ```json
    {
      "mcpServers": {
        "stacksync": {
          "url": "https://mcp.stacksync.com/mcp"
        }
      }
    }
    ```

    Then select **Connect** next to `stacksync` in Cursor's MCP settings and sign in.
  </Tab>

  <Tab value="VS Code">
    ```bash
    code --add-mcp '{"name":"stacksync","type":"http","url":"https://mcp.stacksync.com/mcp"}'
    ```

    Or add the server to `.vscode/mcp.json` in your project:

    ```json
    {
      "servers": {
        "stacksync": {
          "type": "http",
          "url": "https://mcp.stacksync.com/mcp"
        }
      }
    }
    ```

    Then open Copilot Chat in **Agent** mode, start `stacksync` from the tools picker and sign in.
  </Tab>

  <Tab value="Windsurf">
    In the Cascade panel, open the **…** menu, select **Open MCP config file** (`mcp_config.json`) and add:

    ```json
    {
      "mcpServers": {
        "stacksync": {
          "serverUrl": "https://mcp.stacksync.com/mcp"
        }
      }
    }
    ```

    Save the file. Cascade opens the Stacksync sign-in the first time it uses the server.
  </Tab>

  <Tab value="Gemini CLI">
    ```bash
    gemini mcp add --transport http stacksync https://mcp.stacksync.com/mcp
    ```

    Then run `/mcp auth stacksync` and sign in to Stacksync.
  </Tab>

  <Tab value="Other">
    Any MCP client that supports streamable HTTP and OAuth connects with the server URL `https://mcp.stacksync.com/mcp`.

    For clients that only run local servers, use [`mcp-remote`](https://www.npmjs.com/package/mcp-remote):

    ```json
    {
      "mcpServers": {
        "stacksync": {
          "command": "npx",
          "args": ["-y", "mcp-remote", "https://mcp.stacksync.com/mcp"]
        }
      }
    }
    ```
  </Tab>
</Tabs>

## Check the connection

Ask your assistant: *"List my Stacksync workspaces."* It answers with the Stacksync workspaces you belong to.

To see every assistant you have signed in, open the **Sessions** tab of the **MCP** page. [Learn more about sign-in and sessions](/mcp/authentication).