> ## Documentation Index
> Fetch the complete documentation index at: https://docs.insforge.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# MCP setup

> Wire your editor's MCP client to InsForge.

## Overview

The InsForge MCP server gives your AI coding assistant direct access to your backend: database queries, schema management, storage, and more.

Follow the instructions below for your AI client. Don't see your tool? Browse the [agent directory](https://insforge.dev/agents) for the full list of tested integrations.

## Prerequisites

* An **AI coding assistant** (Cursor, Claude Code, GitHub Copilot, etc.)
* An **InsForge project** - [create one here](https://insforge.dev) if you haven't already

## Local MCP Configuration (Recommended)

If you prefer to configure MCP locally, select your AI coding assistant below:

<AccordionGroup>
  <Accordion title="Cursor">
    ### Installation

    You can one-click install the MCP server in Cursor by clicking the "Add to Cursor" button in the screenshot below:

    <img src="https://mintcdn.com/insforge-468ccf39/-gcWtB6vS2JMKYEI/images/mcp-setup/connect-project.png?fit=max&auto=format&n=-gcWtB6vS2JMKYEI&q=85&s=4ef0e69172a5b685170cea8adec6b0c3" alt="Connect Project" width="1246" height="1434" data-path="images/mcp-setup/connect-project.png" />

    Alternatively, you can install the InsForge MCP server manually:

    1. Open **Cursor Settings**
    2. Go to **Tools & MCP**
    3. Click **New MCP Server (Add a Custom MCP Server)**

    <Frame>
      <video src="https://mintcdn.com/insforge-468ccf39/ioq-HbhhvPKTChxw/images/mcp-setup/Cursor-MCP-1.mp4?fit=max&auto=format&n=ioq-HbhhvPKTChxw&q=85&s=ec15b20e709d8536d3d09666e89364e7" autoPlay muted loop playsInline data-path="images/mcp-setup/Cursor-MCP-1.mp4" />
    </Frame>

    4. Paste the MCP JSON from your InsForge project
    5. Save the configuration file
    6. You should see a green dot, indicating InsForge is installed successfully

    <Frame>
      <video src="https://mintcdn.com/insforge-468ccf39/ioq-HbhhvPKTChxw/images/mcp-setup/Cursor-MCP-2.mp4?fit=max&auto=format&n=ioq-HbhhvPKTChxw&q=85&s=177e1e5dbdc0cdfbd8248f8d442722e5" autoPlay muted loop playsInline data-path="images/mcp-setup/Cursor-MCP-2.mp4" />
    </Frame>

    ### Verify Installation

    To verify the connection, start a new chat session in **Cursor** and send this prompt to your agent:

    ```
    I'm using InsForge as my backend platform, call InsForge MCP's fetch-docs tool to
    learn about InsForge instructions.
    ```

    If the connection is successful, you will see the **Connected** status indicator on your InsForge dashboard (top right corner).

    <video controls autoPlay muted loop playsInline width="100%" src="https://mintcdn.com/insforge-468ccf39/ioq-HbhhvPKTChxw/images/mcp-setup/Cursor-MCP-3.mp4?fit=max&auto=format&n=ioq-HbhhvPKTChxw&q=85&s=bf99a7adcb00c864413df17464d9794b" data-path="images/mcp-setup/Cursor-MCP-3.mp4" />
  </Accordion>

  <Accordion title="Claude Code">
    ### Installation

    Add the InsForge MCP server to your **Claude Code**:

    1. Select **Claude Code** in the dropdown list

    2. Copy and paste the following installation command in your terminal

           <img src="https://mintcdn.com/insforge-468ccf39/fNI11NfWIUSxQDZ4/images/mcp-setup/claude-code-connect.png?fit=max&auto=format&n=fNI11NfWIUSxQDZ4&q=85&s=f4710fd707714996fd26934458e5b841" alt="Claude Code Connect" width="637" height="728" data-path="images/mcp-setup/claude-code-connect.png" />

    3. Run the command

    <Frame>
      <video src="https://mintcdn.com/insforge-468ccf39/ioq-HbhhvPKTChxw/images/mcp-setup/CC-MCP-1.mp4?fit=max&auto=format&n=ioq-HbhhvPKTChxw&q=85&s=1ce35e7b4049008f1be4b5a2b069956d" autoPlay muted loop playsInline data-path="images/mcp-setup/CC-MCP-1.mp4" />
    </Frame>

    ### Verify Installation

    To verify the connection, start a new chat session in **Claude Code** and send this prompt to your agent:

    ```
    I'm using InsForge as my backend platform, call InsForge MCP's fetch-docs tool to
    learn about InsForge instructions.
    ```

    If the connection is successful, you will see the **MCP Connected** status indicator on your InsForge dashboard (top right corner).

    <video controls autoPlay muted loop playsInline width="100%" src="https://mintcdn.com/insforge-468ccf39/ioq-HbhhvPKTChxw/images/mcp-setup/CC-MCP-2.mp4?fit=max&auto=format&n=ioq-HbhhvPKTChxw&q=85&s=2853f145fde1384ce7b33e031a5916fd" data-path="images/mcp-setup/CC-MCP-2.mp4" />
  </Accordion>

  <Accordion title="GitHub Copilot">
    ### Installation

    Add the InsForge MCP server to your **GitHub Copilot**:

    1. Select **Copilot** in the dropdown list

    2. Open the terminal and paste the following installation command in your **GitHub Copilot** terminal

           <img src="https://mintcdn.com/insforge-468ccf39/fNI11NfWIUSxQDZ4/images/mcp-setup/copilot-1.png?fit=max&auto=format&n=fNI11NfWIUSxQDZ4&q=85&s=221c86348072caab475659fb65a2188e" alt="Copilot Setup" width="639" height="729" data-path="images/mcp-setup/copilot-1.png" />

    3. Run the command

           <img src="https://mintcdn.com/insforge-468ccf39/fNI11NfWIUSxQDZ4/images/mcp-setup/copilot-2.png?fit=max&auto=format&n=fNI11NfWIUSxQDZ4&q=85&s=99a7f3f7e10a96e2605ff8a33014b9a9" alt="Copilot Install" width="2570" height="1328" data-path="images/mcp-setup/copilot-2.png" />

    ### Verify Installation

    To verify the connection, start a new chat session in **Copilot** and send this prompt to your agent:

    ```
    I'm using InsForge as my backend platform, call InsForge MCP's fetch-docs tool to
    learn about InsForge instructions.
    ```

    If the connection is successful, you will see the **MCP Connected** status indicator on your InsForge dashboard (top right corner).

    <img src="https://mintcdn.com/insforge-468ccf39/-gcWtB6vS2JMKYEI/images/mcp-setup/mcp-connected.png?fit=max&auto=format&n=-gcWtB6vS2JMKYEI&q=85&s=e801673f8bb2f67c08e7cca11595bf14" alt="MCP Connected" width="470" height="44" data-path="images/mcp-setup/mcp-connected.png" />
  </Accordion>

  <Accordion title="Google Antigravity">
    ### Installation

    Add the InsForge MCP server to your **Antigravity**:

    1. Select **Antigravity** in the dropdown list

    2. Copy and paste the following installation command in your **Antigravity** terminal

           <img src="https://mintcdn.com/insforge-468ccf39/wwfpEGfpasa8WQ2v/images/mcp-setup/antigravity-1.png?fit=max&auto=format&n=wwfpEGfpasa8WQ2v&q=85&s=4735cea56722391aa50ba551bb069565" alt="Antigravity Setup" width="627" height="720" data-path="images/mcp-setup/antigravity-1.png" />

    3. Run the command

    <Frame>
      <video src="https://mintcdn.com/insforge-468ccf39/ioq-HbhhvPKTChxw/images/mcp-setup/Antigravity-MCP.mp4?fit=max&auto=format&n=ioq-HbhhvPKTChxw&q=85&s=713f4d34514b5bcbade8d7793d551d3e" autoPlay muted loop playsInline data-path="images/mcp-setup/Antigravity-MCP.mp4" />
    </Frame>

    ### Verify Installation

    To verify the connection, start a new chat session in **Antigravity** and send this prompt to your agent:

    ```
    I'm using InsForge as my backend platform, call InsForge MCP's fetch-docs tool to
    learn about InsForge instructions.
    ```

    If the connection is successful, you will see the **MCP Connected** status indicator on your InsForge dashboard (top right corner).

    <img src="https://mintcdn.com/insforge-468ccf39/-gcWtB6vS2JMKYEI/images/mcp-setup/mcp-connected.png?fit=max&auto=format&n=-gcWtB6vS2JMKYEI&q=85&s=e801673f8bb2f67c08e7cca11595bf14" alt="MCP Connected" width="470" height="44" data-path="images/mcp-setup/mcp-connected.png" />
  </Accordion>

  <Accordion title="Kiro">
    ### Installation

    Add the InsForge MCP server to your **Kiro**:

    1. Select **Kiro** in the dropdown list

    2. Copy and paste the following installation command in your **Kiro** terminal

           <img src="https://mintcdn.com/insforge-468ccf39/5PTkTfA4J4SdXhFA/images/mcp-setup/kiro-1.png?fit=max&auto=format&n=5PTkTfA4J4SdXhFA&q=85&s=67abb6d17cddbba5fbca379434d40adb" alt="Kiro Setup" width="628" height="721" data-path="images/mcp-setup/kiro-1.png" />

    3. Run the command

    <Frame>
      <video src="https://mintcdn.com/insforge-468ccf39/ioq-HbhhvPKTChxw/images/mcp-setup/Kiro-MCP.mp4?fit=max&auto=format&n=ioq-HbhhvPKTChxw&q=85&s=edd8a983c31a5d90c50d8b4563604721" autoPlay muted loop playsInline data-path="images/mcp-setup/Kiro-MCP.mp4" />
    </Frame>

    ### Verify Installation

    To verify the connection, start a new chat session in **Kiro** and send this prompt to your agent:

    ```
    I'm using InsForge as my backend platform, call InsForge MCP's fetch-docs tool to
    learn about InsForge instructions.
    ```

    If the connection is successful, you will see the **MCP Connected** status indicator on your InsForge dashboard (top right corner).

    <img src="https://mintcdn.com/insforge-468ccf39/-gcWtB6vS2JMKYEI/images/mcp-setup/mcp-connected.png?fit=max&auto=format&n=-gcWtB6vS2JMKYEI&q=85&s=e801673f8bb2f67c08e7cca11595bf14" alt="MCP Connected" width="470" height="44" data-path="images/mcp-setup/mcp-connected.png" />
  </Accordion>

  <Accordion title="Codex">
    ### Installation

    Add the InsForge MCP server to your **Codex**:

    1. Select **Codex** in the dropdown list

    2. Copy and paste the following installation command in your terminal

           <img src="https://mintcdn.com/insforge-468ccf39/5PTkTfA4J4SdXhFA/images/mcp-setup/codex-1.png?fit=max&auto=format&n=5PTkTfA4J4SdXhFA&q=85&s=2068920d304e6c480f50fdcd2f31bb53" alt="Codex Setup" width="632" height="725" data-path="images/mcp-setup/codex-1.png" />

    3. Run the command

    <Frame>
      <video src="https://mintcdn.com/insforge-468ccf39/ioq-HbhhvPKTChxw/images/mcp-setup/Codex-MCP.mp4?fit=max&auto=format&n=ioq-HbhhvPKTChxw&q=85&s=cd10c47b913ef5e4c1315299a91cc44a" autoPlay muted loop playsInline data-path="images/mcp-setup/Codex-MCP.mp4" />
    </Frame>

    ### Verify Installation

    To verify the connection, start a new chat session in **Codex** and send this prompt to your agent:

    ```
    I'm using InsForge as my backend platform, call InsForge MCP's fetch-docs tool to
    learn about InsForge instructions.
    ```

    If the connection is successful, you will see the **MCP Connected** status indicator on your InsForge dashboard (top right corner).

    <img src="https://mintcdn.com/insforge-468ccf39/-gcWtB6vS2JMKYEI/images/mcp-setup/mcp-connected.png?fit=max&auto=format&n=-gcWtB6vS2JMKYEI&q=85&s=e801673f8bb2f67c08e7cca11595bf14" alt="MCP Connected" width="470" height="44" data-path="images/mcp-setup/mcp-connected.png" />
  </Accordion>

  <Accordion title="Cline">
    ### Installation

    Add the InsForge MCP server to your **Cline**:

    1. Select **Cline** in the dropdown list

    2. Copy and paste the following installation command in your **Cline** terminal

           <img src="https://mintcdn.com/insforge-468ccf39/fNI11NfWIUSxQDZ4/images/mcp-setup/cline-1.png?fit=max&auto=format&n=fNI11NfWIUSxQDZ4&q=85&s=dab0c00ea8e9fce316e779848106c00d" alt="Cline Setup" width="632" height="727" data-path="images/mcp-setup/cline-1.png" />

    3. Run the command

           <img src="https://mintcdn.com/insforge-468ccf39/fNI11NfWIUSxQDZ4/images/mcp-setup/cline-2.png?fit=max&auto=format&n=fNI11NfWIUSxQDZ4&q=85&s=e37c81b5d4aed0ae1b60eba94761d2b5" alt="Cline Install" width="2578" height="1302" data-path="images/mcp-setup/cline-2.png" />

    ### Verify Installation

    To verify the connection, start a new chat session in **Cline** and send this prompt to your agent:

    ```
    I'm using InsForge as my backend platform, call InsForge MCP's fetch-docs tool to
    learn about InsForge instructions.
    ```

    If the connection is successful, you will see the **MCP Connected** status indicator on your InsForge dashboard (top right corner).

    <img src="https://mintcdn.com/insforge-468ccf39/-gcWtB6vS2JMKYEI/images/mcp-setup/mcp-connected.png?fit=max&auto=format&n=-gcWtB6vS2JMKYEI&q=85&s=e801673f8bb2f67c08e7cca11595bf14" alt="MCP Connected" width="470" height="44" data-path="images/mcp-setup/mcp-connected.png" />
  </Accordion>

  <Accordion title="Windsurf">
    ### Installation

    Add the InsForge MCP server to your **Windsurf**:

    1. Select **Windsurf** in the dropdown list

    2. Copy and paste the following installation command in your Windsurf terminal

           <img src="https://mintcdn.com/insforge-468ccf39/lHUVwtL3JwYSI6Gh/images/mcp-setup/windsurf-1.png?fit=max&auto=format&n=lHUVwtL3JwYSI6Gh&q=85&s=91a6056a1e8088b515156f56490c4343" alt="Windsurf Setup" width="630" height="732" data-path="images/mcp-setup/windsurf-1.png" />

    3. Run the command

    ### Verify Installation

    To verify the connection, start a new chat session in **Windsurf** and send this prompt to your agent:

    ```
    I'm using InsForge as my backend platform, call InsForge MCP's fetch-docs tool to
    learn about InsForge instructions.
    ```

    If the connection is successful, you will see the **MCP Connected** status indicator on your InsForge dashboard (top right corner).

    <img src="https://mintcdn.com/insforge-468ccf39/-gcWtB6vS2JMKYEI/images/mcp-setup/mcp-connected.png?fit=max&auto=format&n=-gcWtB6vS2JMKYEI&q=85&s=e801673f8bb2f67c08e7cca11595bf14" alt="MCP Connected" width="470" height="44" data-path="images/mcp-setup/mcp-connected.png" />
  </Accordion>

  <Accordion title="Trae">
    ### Installation

    Add the InsForge MCP server to your **Trae**:

    1. Select **Trae** in the dropdown list

    2. Copy and paste the following installation command in your **Trae** terminal

           <img src="https://mintcdn.com/insforge-468ccf39/lHUVwtL3JwYSI6Gh/images/mcp-setup/trae-1.png?fit=max&auto=format&n=lHUVwtL3JwYSI6Gh&q=85&s=a5e5faf52df23ee7f1d3efab722d299d" alt="Trae Setup" width="630" height="727" data-path="images/mcp-setup/trae-1.png" />

    3. Run the command

           <img src="https://mintcdn.com/insforge-468ccf39/lHUVwtL3JwYSI6Gh/images/mcp-setup/trae-2.png?fit=max&auto=format&n=lHUVwtL3JwYSI6Gh&q=85&s=259dd8b31ce81cddd11c01c0b01f92bf" alt="Trae Install" width="3024" height="1890" data-path="images/mcp-setup/trae-2.png" />

    Alternatively, Trae offers a first-party integration with InsForge, allowing you to install InsForge directly from Trae's official MCP marketplace:

    1. Open Trae's **Settings** → navigate to **MCP**

    2. Click on **Add** and then select **Add from Marketplace**

    3. Search "InsForge" and add it from the marketplace

           <img src="https://mintcdn.com/insforge-468ccf39/lHUVwtL3JwYSI6Gh/images/mcp-setup/trae-3.png?fit=max&auto=format&n=lHUVwtL3JwYSI6Gh&q=85&s=6719b557c7caad564b2eb3f3ce642cb1" alt="Trae Marketplace" width="3024" height="1890" data-path="images/mcp-setup/trae-3.png" />

    4. For required credentials API\_KEY and API\_BASE\_URL, you can find it in your InsForge's **Settings**, under the **Connect** tab

           <img src="https://mintcdn.com/insforge-468ccf39/lHUVwtL3JwYSI6Gh/images/mcp-setup/trae-4.png?fit=max&auto=format&n=lHUVwtL3JwYSI6Gh&q=85&s=727db2b107ce3a9cfb2180dea3982c25" alt="Trae Credentials" width="1292" height="1043" data-path="images/mcp-setup/trae-4.png" />

    ### Verify Installation

    To verify the connection, start a new chat in **Trae** and send this prompt to your agent:

    ```
    I'm using InsForge as my backend platform, call InsForge MCP's fetch-docs tool to
    learn about InsForge instructions.
    ```

    If the connection is successful, you will see the **MCP Connected** status indicator on your InsForge dashboard (top right corner).

    <img src="https://mintcdn.com/insforge-468ccf39/-gcWtB6vS2JMKYEI/images/mcp-setup/mcp-connected.png?fit=max&auto=format&n=-gcWtB6vS2JMKYEI&q=85&s=e801673f8bb2f67c08e7cca11595bf14" alt="MCP Connected" width="470" height="44" data-path="images/mcp-setup/mcp-connected.png" />
  </Accordion>

  <Accordion title="Qoder">
    ### Installation

    Add the InsForge MCP server to your **Qoder**:

    1. Select **Qoder** in the dropdown list

    2. Copy and paste the following installation command in your **Qoder** terminal

           <img src="https://mintcdn.com/insforge-468ccf39/lHUVwtL3JwYSI6Gh/images/mcp-setup/qoder-1.png?fit=max&auto=format&n=lHUVwtL3JwYSI6Gh&q=85&s=37c6bc50f023b31739367445da1fd38b" alt="Qoder Setup" width="635" height="723" data-path="images/mcp-setup/qoder-1.png" />

    3. Run the command

    ### Verify Installation

    To verify the connection, start a new chat session in **Qoder** and send this prompt to your agent:

    ```
    I'm using InsForge as my backend platform, call InsForge MCP's fetch-docs tool to
    learn about InsForge instructions.
    ```

    If the connection is successful, you will see the **MCP Connected** status indicator on your InsForge dashboard (top right corner).

    <img src="https://mintcdn.com/insforge-468ccf39/-gcWtB6vS2JMKYEI/images/mcp-setup/mcp-connected.png?fit=max&auto=format&n=-gcWtB6vS2JMKYEI&q=85&s=e801673f8bb2f67c08e7cca11595bf14" alt="MCP Connected" width="470" height="44" data-path="images/mcp-setup/mcp-connected.png" />
  </Accordion>

  <Accordion title="Roo Code">
    ### Installation

    Add the InsForge MCP server to your **Roo Code**:

    1. Select **Roo Code** in the dropdown list

    2. Copy and paste the following installation command in your **Roo Code** terminal

           <img src="https://mintcdn.com/insforge-468ccf39/lHUVwtL3JwYSI6Gh/images/mcp-setup/roocode-1.png?fit=max&auto=format&n=lHUVwtL3JwYSI6Gh&q=85&s=412db91485b669f7b98f532436954648" alt="Roo Code Setup" width="635" height="723" data-path="images/mcp-setup/roocode-1.png" />

    3. Run the command

    ### Verify Installation

    To verify the connection, start a new chat session in **Roo Code** and send this prompt to your agent:

    ```
    I'm using InsForge as my backend platform, call InsForge MCP's fetch-docs tool to
    learn about InsForge instructions.
    ```

    If the connection is successful, you will see the **MCP Connected** status indicator on your InsForge dashboard (top right corner).

    <img src="https://mintcdn.com/insforge-468ccf39/-gcWtB6vS2JMKYEI/images/mcp-setup/mcp-connected.png?fit=max&auto=format&n=-gcWtB6vS2JMKYEI&q=85&s=e801673f8bb2f67c08e7cca11595bf14" alt="MCP Connected" width="470" height="44" data-path="images/mcp-setup/mcp-connected.png" />
  </Accordion>

  <Accordion title="OpenCode">
    ### Installation

    Add the InsForge MCP server to your **OpenCode**:

    1. Select **OpenCode** in the dropdown list

    2. Copy and paste the following installation command in your terminal

           <img src="https://mintcdn.com/insforge-468ccf39/-gcWtB6vS2JMKYEI/images/mcp-setup/connect-project.png?fit=max&auto=format&n=-gcWtB6vS2JMKYEI&q=85&s=4ef0e69172a5b685170cea8adec6b0c3" alt="Connect Project" width="1246" height="1434" data-path="images/mcp-setup/connect-project.png" />

    3. Run the command

    ### Verify Installation

    To verify the connection, start a new chat session in **OpenCode** and send this prompt to your agent:

    ```
    I'm using InsForge as my backend platform, call InsForge MCP's fetch-docs tool to
    learn about InsForge instructions.
    ```

    If the connection is successful, you will see the **MCP Connected** status indicator on your InsForge dashboard (top right corner).

    <img src="https://mintcdn.com/insforge-468ccf39/-gcWtB6vS2JMKYEI/images/mcp-setup/mcp-connected.png?fit=max&auto=format&n=-gcWtB6vS2JMKYEI&q=85&s=e801673f8bb2f67c08e7cca11595bf14" alt="MCP Connected" width="470" height="44" data-path="images/mcp-setup/mcp-connected.png" />
  </Accordion>

  <Accordion title="MCP JSON">
    ### Installation

    Add the InsForge MCP server to your coding agent with MCP JSON:

    1. Select **MCP JSON** in the dropdown list
    2. Copy and paste the following **MCP JSON** configuration in your agent

           <img src="https://mintcdn.com/insforge-468ccf39/lHUVwtL3JwYSI6Gh/images/mcp-setup/mcp-json-1.png?fit=max&auto=format&n=lHUVwtL3JwYSI6Gh&q=85&s=c9ffc9491236a1cf8fcf637e8c22cca1" alt="MCP JSON Setup" width="633" height="931" data-path="images/mcp-setup/mcp-json-1.png" />

    ### Verify Installation

    To verify the connection, start a new chat session and send this prompt to your agent:

    ```
    I'm using InsForge as my backend platform, call InsForge MCP's fetch-docs tool to
    learn about InsForge instructions.
    ```

    If the connection is successful, you will see the **MCP Connected** status indicator on your InsForge dashboard (top right corner).

    <img src="https://mintcdn.com/insforge-468ccf39/-gcWtB6vS2JMKYEI/images/mcp-setup/mcp-connected.png?fit=max&auto=format&n=-gcWtB6vS2JMKYEI&q=85&s=e801673f8bb2f67c08e7cca11595bf14" alt="MCP Connected" width="470" height="44" data-path="images/mcp-setup/mcp-connected.png" />
  </Accordion>
</AccordionGroup>

## Remote MCP

The fastest way to get started is with Remote MCP. A single command attempts installation and will try to handle authentication and project binding, but it may still prompt you for manual authentication or project binding steps if the automatic flow cannot complete.

Run the following command in your terminal:

```bash theme={null}
npx add-mcp https://mcp.insforge.dev/mcp
```

<Note>
  The `add-mcp` command works for most coding agents, but not all. Currently it supports:
  Claude Code, Claude Desktop, Codex, Cursor, Gemini CLI, Goose, GitHub Copilot, OpenCode, VS Code, Zed.
</Note>

After running the command, the system will automatically generate a configuration file for your coding agent.

### Connect and Bind Project

Some MCP clients will automatically prompt you to login during setup, while others may require manual authentication or project binding steps if the automatic flow cannot complete. Either way, authentication will open a browser window where you can login to your InsForge account and grant organization/project access to the MCP client.

<AccordionGroup>
  <Accordion title="Cursor">
    You can find the configuration file in `.cursor/mcp.json` as below:

    ```json theme={null}
    {
      "mcpServers": {
        "insforge": {
          "url": "https://mcp.insforge.dev/mcp"
        }
      }
    }
    ```

    In menu **Preferences → Cursor Settings → Tools & MCP**, you should see InsForge MCP server is added successfully.
    InsForge MCP server is on the status of "Needs authentication", you can click the `connect` button to authenticate.
  </Accordion>

  <Accordion title="Claude Code">
    After installation, you will find the configuration file in `.mcp.json` as below:

    ```json theme={null}
    {
      "mcpServers": {
        "insforge": {
          "type": "http",
          "url": "https://mcp.insforge.dev/mcp"
        }
      }
    }
    ```

    Then in a regular terminal (not the IDE extension) run:

    ```sh theme={null}
    claude /mcp
    ```

    Select the "insforge" server, then "Authenticate" to begin the authentication flow.
  </Accordion>

  <Accordion title="GitHub Copilot">
    After installation, you will find the configuration file in `.vscode/mcp.json` as below:

    ```json theme={null}
    {
      "servers": {
        "insforge": {
          "type": "http",
          "url": "https://mcp.insforge.dev/mcp"
        }
      }
    }
    ```
  </Accordion>

  <Accordion title="Google Antigravity">
    Add this configuration to `~/.gemini/antigravity/mcp_config.json`:

    ```json theme={null}
    {
      "mcpServers": {
        "insforge": {
          "serverUrl": "https://mcp.insforge.dev/mcp"
        }
      }
    }
    ```

    Then restart Antigravity, it will auto authenticate.
  </Accordion>

  <Accordion title="Gemini">
    After installation, you will find the configuration file in `.gemini/settings.json` as below:

    ```json theme={null}
    {
      "mcpServers": {
        "insforge": {
          "type": "http",
          "url": "https://mcp.insforge.dev/mcp"
        }
      }
    }
    ```

    Start the Gemini CLI and run the following command to authenticate the server:

    ```sh theme={null}
    /mcp auth insforge
    ```
  </Accordion>

  <Accordion title="Codex">
    <Note>
      If you are using Codex for the first time, you may need to enable the rmcp feature. To do so, add the following into your `~/.codex/config.toml` file:

      ```toml theme={null}
      [beta]
      rmcp = true
      ```
    </Note>

    After installation, you will find the configuration file in `.codex/config.toml` as below:

    ```toml theme={null}
    [mcp_servers.insforge]
    type = "http"
    url = "https://mcp.insforge.dev/mcp"
    ```

    Then authenticate:

    ```sh theme={null}
    codex mcp login insforge
    ```

    Finally, run /mcp inside Codex to verify authentication.

    Alternatively, you can run the following command to install the MCP server:

    ```sh theme={null}
    codex mcp add insforge --url https://mcp.insforge.dev/mcp
    ```
  </Accordion>

  <Accordion title="Cline">
    You can install the InsForge MCP server to your **Cline** by running the following command in your terminal:

    ```bash theme={null}
    npx -y @smithery/cli mcp add devel/insforge --client cline
    ```

    Alternatively, you can follow the official [Cline documentation](https://docs.cline.bot/mcp/connecting-to-a-remote-server) to add the InsForge MCP server with parameters:

    * Server Name: `insforge`
    * Server URL: `https://mcp.insforge.dev/mcp`
    * Transport Type: `Streamable HTTP`

    After adding the server, you’ll see an error message asking to authenticate. Click the “Authenticate” button that appears to authenticate.
  </Accordion>

  <Accordion title="Windsurf">
    Add this configuration to `~/.codeium/windsurf/mcp_config.json`:

    ```json theme={null}
    {
      "mcpServers": {
        "insforge": {
          "command": "npx",
          "args": [
            "-y",
            "mcp-remote",
            "https://mcp.insforge.dev/mcp"
          ]
        }
      }
    }
    ```

    Windsurf does not currently support remote MCP servers over HTTP transport. You need to use the mcp-remote package as a proxy.
  </Accordion>

  <Accordion title="Roo Code">
    You can install the InsForge MCP server to your **Roo Code** by running the following command in your terminal:

    ```bash theme={null}
    npx -y @smithery/cli mcp add devel/insforge --client roocode
    ```
  </Accordion>

  <Accordion title="OpenCode">
    After installation, you will find the configuration file in `./opencode.json` as below:

    ```json theme={null}
    {
      "mcp": {
        "insforge": {
          "type": "remote",
          "url": "https://mcp.insforge.dev/mcp",
          "enabled": true
        }
      }
    }
    ```

    Then run the following command to authenticate:

    ```sh theme={null}
    opencode mcp auth insforge
    ```

    This will open your browser to complete the OAuth authentication flow.
  </Accordion>
</AccordionGroup>

### Verify Installation

To verify the connection, start a new chat session in your AI coding assistant and send this prompt:

```
I'm using InsForge as my backend platform, call InsForge MCP's fetch-docs tool to
learn about InsForge instructions.
```

If the connection is successful, you will see the **MCP Connected** status indicator on your InsForge dashboard (top right corner).

<img src="https://mintcdn.com/insforge-468ccf39/-gcWtB6vS2JMKYEI/images/mcp-setup/mcp-connected.png?fit=max&auto=format&n=-gcWtB6vS2JMKYEI&q=85&s=e801673f8bb2f67c08e7cca11595bf14" alt="MCP Connected" width="470" height="44" data-path="images/mcp-setup/mcp-connected.png" />

## Troubleshooting

<Accordion title="Changes not taking effect">
  Most AI clients require a full restart after MCP config changes. Close and reopen the application.
</Accordion>
