> ## 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.

# Configura MCP para Cursor, Claude, Windsurf y más

> Conecta Cursor, Claude, Windsurf y otros editores a InsForge mediante MCP para que los agentes de IA puedan consultar tu base de datos, autenticación, almacenamiento y funciones.

## Resumen

El servidor MCP de InsForge le da a tu asistente de codificación con IA acceso directo a tu backend: consultas de base de datos, gestión de esquemas, almacenamiento y más.

Sigue las instrucciones a continuación para tu cliente de IA. ¿No ves tu herramienta? Consulta el [directorio de agentes](https://insforge.dev/agents) para ver la lista completa de integraciones probadas.

## Requisitos previos

* Un **asistente de codificación con IA** (Cursor, Claude Code, GitHub Copilot, etc.)
* Un **proyecto de InsForge** - [crea uno aquí](https://insforge.dev) si aún no tienes uno

## Configuración local de MCP (recomendado)

Si prefieres configurar MCP localmente, selecciona tu asistente de codificación con IA a continuación:

<AccordionGroup>
  <Accordion title="Cursor">
    ### Instalación

    Puedes instalar el servidor MCP en Cursor con un solo clic, haciendo clic en el botón "Add to Cursor" de la captura de pantalla a continuación:

    <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" />

    Alternativamente, puedes instalar el servidor MCP de InsForge manualmente:

    1. Abre **Cursor Settings**
    2. Ve a **Tools & MCP**
    3. Haz clic en **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. Pega el JSON de MCP de tu proyecto de InsForge
    5. Guarda el archivo de configuración
    6. Deberías ver un punto verde, que indica que InsForge se instaló correctamente

    <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>

    ### Verificar la instalación

    Para verificar la conexión, inicia una nueva sesión de chat en **Cursor** y envía este mensaje a tu agente:

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

    Si la conexión se realiza correctamente, verás el indicador de estado **Connected** en tu panel de InsForge (esquina superior derecha).

    <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">
    ### Instalación

    Agrega el servidor MCP de InsForge a tu **Claude Code**:

    1. Selecciona **Claude Code** en la lista desplegable

    2. Copia y pega el siguiente comando de instalación en tu 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. Ejecuta el comando

    <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>

    ### Verificar la instalación

    Para verificar la conexión, inicia una nueva sesión de chat en **Claude Code** y envía este mensaje a tu agente:

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

    Si la conexión se realiza correctamente, verás el indicador de estado **MCP Connected** en tu panel de InsForge (esquina superior derecha).

    <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">
    ### Instalación

    Agrega el servidor MCP de InsForge a tu **GitHub Copilot**:

    1. Selecciona **Copilot** en la lista desplegable

    2. Abre la terminal y pega el siguiente comando de instalación en tu terminal de **GitHub Copilot**

           <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. Ejecuta el comando

           <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" />

    ### Verificar la instalación

    Para verificar la conexión, inicia una nueva sesión de chat en **Copilot** y envía este mensaje a tu agente:

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

    Si la conexión se realiza correctamente, verás el indicador de estado **MCP Connected** en tu panel de InsForge (esquina superior derecha).

    <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">
    ### Instalación

    Agrega el servidor MCP de InsForge a tu **Antigravity**:

    1. Selecciona **Antigravity** en la lista desplegable

    2. Copia y pega el siguiente comando de instalación en tu terminal de **Antigravity**

           <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. Ejecuta el comando

    <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>

    ### Verificar la instalación

    Para verificar la conexión, inicia una nueva sesión de chat en **Antigravity** y envía este mensaje a tu agente:

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

    Si la conexión se realiza correctamente, verás el indicador de estado **MCP Connected** en tu panel de InsForge (esquina superior derecha).

    <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">
    ### Instalación

    Agrega el servidor MCP de InsForge a tu **Kiro**:

    1. Selecciona **Kiro** en la lista desplegable

    2. Copia y pega el siguiente comando de instalación en tu terminal de **Kiro**

           <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. Ejecuta el comando

    <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>

    ### Verificar la instalación

    Para verificar la conexión, inicia una nueva sesión de chat en **Kiro** y envía este mensaje a tu agente:

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

    Si la conexión se realiza correctamente, verás el indicador de estado **MCP Connected** en tu panel de InsForge (esquina superior derecha).

    <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">
    ### Instalación

    Agrega el servidor MCP de InsForge a tu **Codex**:

    1. Selecciona **Codex** en la lista desplegable

    2. Copia y pega el siguiente comando de instalación en tu 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. Ejecuta el comando

    <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>

    ### Verificar la instalación

    Para verificar la conexión, inicia una nueva sesión de chat en **Codex** y envía este mensaje a tu agente:

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

    Si la conexión se realiza correctamente, verás el indicador de estado **MCP Connected** en tu panel de InsForge (esquina superior derecha).

    <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">
    ### Instalación

    Agrega el servidor MCP de InsForge a tu **Cline**:

    1. Selecciona **Cline** en la lista desplegable

    2. Copia y pega el siguiente comando de instalación en tu terminal de **Cline**

           <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. Ejecuta el comando

           <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" />

    ### Verificar la instalación

    Para verificar la conexión, inicia una nueva sesión de chat en **Cline** y envía este mensaje a tu agente:

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

    Si la conexión se realiza correctamente, verás el indicador de estado **MCP Connected** en tu panel de InsForge (esquina superior derecha).

    <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">
    ### Instalación

    Agrega el servidor MCP de InsForge a tu **Windsurf**:

    1. Selecciona **Windsurf** en la lista desplegable

    2. Copia y pega el siguiente comando de instalación en tu terminal de Windsurf

           <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. Ejecuta el comando

    ### Verificar la instalación

    Para verificar la conexión, inicia una nueva sesión de chat en **Windsurf** y envía este mensaje a tu agente:

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

    Si la conexión se realiza correctamente, verás el indicador de estado **MCP Connected** en tu panel de InsForge (esquina superior derecha).

    <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">
    ### Instalación

    Agrega el servidor MCP de InsForge a tu **Trae**:

    1. Selecciona **Trae** en la lista desplegable

    2. Copia y pega el siguiente comando de instalación en tu terminal de **Trae**

           <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. Ejecuta el comando

           <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" />

    Alternativamente, Trae ofrece una integración propia con InsForge, que te permite instalar InsForge directamente desde el marketplace oficial de MCP de Trae:

    1. Abre **Settings** de Trae → navega a **MCP**

    2. Haz clic en **Add** y luego selecciona **Add from Marketplace**

    3. Busca "InsForge" y agrégalo desde el 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. Para las credenciales requeridas API\_KEY y API\_BASE\_URL, puedes encontrarlas en tu **Settings** de InsForge, en la pestaña **Connect**

           <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" />

    ### Verificar la instalación

    Para verificar la conexión, inicia un nuevo chat en **Trae** y envía este mensaje a tu agente:

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

    Si la conexión se realiza correctamente, verás el indicador de estado **MCP Connected** en tu panel de InsForge (esquina superior derecha).

    <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">
    ### Instalación

    Agrega el servidor MCP de InsForge a tu **Qoder**:

    1. Selecciona **Qoder** en la lista desplegable

    2. Copia y pega el siguiente comando de instalación en tu terminal de **Qoder**

           <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. Ejecuta el comando

    ### Verificar la instalación

    Para verificar la conexión, inicia una nueva sesión de chat en **Qoder** y envía este mensaje a tu agente:

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

    Si la conexión se realiza correctamente, verás el indicador de estado **MCP Connected** en tu panel de InsForge (esquina superior derecha).

    <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">
    ### Instalación

    Agrega el servidor MCP de InsForge a tu **Roo Code**:

    1. Selecciona **Roo Code** en la lista desplegable

    2. Copia y pega el siguiente comando de instalación en tu terminal de **Roo Code**

           <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. Ejecuta el comando

    ### Verificar la instalación

    Para verificar la conexión, inicia una nueva sesión de chat en **Roo Code** y envía este mensaje a tu agente:

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

    Si la conexión se realiza correctamente, verás el indicador de estado **MCP Connected** en tu panel de InsForge (esquina superior derecha).

    <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">
    ### Instalación

    Agrega el servidor MCP de InsForge a tu **OpenCode**:

    1. Selecciona **OpenCode** en la lista desplegable

    2. Copia y pega el siguiente comando de instalación en tu 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. Ejecuta el comando

    ### Verificar la instalación

    Para verificar la conexión, inicia una nueva sesión de chat en **OpenCode** y envía este mensaje a tu agente:

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

    Si la conexión se realiza correctamente, verás el indicador de estado **MCP Connected** en tu panel de InsForge (esquina superior derecha).

    <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">
    ### Instalación

    Agrega el servidor MCP de InsForge a tu agente de codificación con MCP JSON:

    1. Selecciona **MCP JSON** en la lista desplegable
    2. Copia y pega la siguiente configuración de **MCP JSON** en tu agente

           <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" />

    ### Verificar la instalación

    Para verificar la conexión, inicia una nueva sesión de chat y envía este mensaje a tu agente:

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

    Si la conexión se realiza correctamente, verás el indicador de estado **MCP Connected** en tu panel de InsForge (esquina superior derecha).

    <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>

## MCP remoto

La forma más rápida de empezar es con MCP remoto. Un solo comando intenta la instalación e intentará gestionar la autenticación y la vinculación del proyecto, pero puede que aun así te pida pasos manuales de autenticación o vinculación de proyecto si el flujo automático no puede completarse.

Ejecuta el siguiente comando en tu terminal:

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

<Note>
  El comando `add-mcp` funciona para la mayoría de los agentes de codificación, pero no para todos. Actualmente admite:
  Claude Code, Claude Desktop, Codex, Cursor, Gemini CLI, Goose, GitHub Copilot, OpenCode, VS Code, Zed.
</Note>

Después de ejecutar el comando, el sistema generará automáticamente un archivo de configuración para tu agente de codificación.

### Conectar y vincular el proyecto

Algunos clientes MCP te pedirán iniciar sesión automáticamente durante la configuración, mientras que otros pueden requerir pasos manuales de autenticación o vinculación de proyecto si el flujo automático no puede completarse. De cualquier forma, la autenticación abrirá una ventana del navegador donde podrás iniciar sesión en tu cuenta de InsForge y conceder acceso de organización/proyecto al cliente MCP.

<AccordionGroup>
  <Accordion title="Cursor">
    Encontrarás el archivo de configuración en `.cursor/mcp.json` como se muestra a continuación:

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

    En el menú **Preferences → Cursor Settings → Tools & MCP**, deberías ver que el servidor MCP de InsForge se agregó correctamente.
    El servidor MCP de InsForge está en el estado "Needs authentication"; puedes hacer clic en el botón `connect` para autenticarte.
  </Accordion>

  <Accordion title="Claude Code">
    Después de la instalación, encontrarás el archivo de configuración en `.mcp.json` como se muestra a continuación:

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

    Luego, en una terminal normal (no en la extensión del IDE), ejecuta:

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

    Selecciona el servidor "insforge" y luego "Authenticate" para iniciar el flujo de autenticación.
  </Accordion>

  <Accordion title="GitHub Copilot">
    Después de la instalación, encontrarás el archivo de configuración en `.vscode/mcp.json` como se muestra a continuación:

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

  <Accordion title="Google Antigravity">
    Agrega esta configuración a `~/.gemini/antigravity/mcp_config.json`:

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

    Luego reinicia Antigravity; se autenticará automáticamente.
  </Accordion>

  <Accordion title="Gemini">
    Después de la instalación, encontrarás el archivo de configuración en `.gemini/settings.json` como se muestra a continuación:

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

    Inicia la Gemini CLI y ejecuta el siguiente comando para autenticar el servidor:

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

  <Accordion title="Codex">
    <Note>
      Si es la primera vez que usas Codex, es posible que debas habilitar la función rmcp. Para ello, agrega lo siguiente a tu archivo `~/.codex/config.toml`:

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

    Después de la instalación, encontrarás el archivo de configuración en `.codex/config.toml` como se muestra a continuación:

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

    Luego autentícate:

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

    Finalmente, ejecuta /mcp dentro de Codex para verificar la autenticación.

    Alternativamente, puedes ejecutar el siguiente comando para instalar el servidor MCP:

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

  <Accordion title="Cline">
    Puedes instalar el servidor MCP de InsForge en tu **Cline** ejecutando el siguiente comando en tu terminal:

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

    Alternativamente, puedes seguir la [documentación oficial de Cline](https://docs.cline.bot/mcp/connecting-to-a-remote-server) para agregar el servidor MCP de InsForge con los siguientes parámetros:

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

    Después de agregar el servidor, verás un mensaje de error que solicita autenticarte. Haz clic en el botón "Authenticate" que aparece para autenticarte.
  </Accordion>

  <Accordion title="Windsurf">
    Agrega esta configuración a `~/.codeium/windsurf/mcp_config.json`:

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

    Windsurf actualmente no admite servidores MCP remotos mediante transporte HTTP. Debes usar el paquete mcp-remote como proxy.
  </Accordion>

  <Accordion title="Roo Code">
    Puedes instalar el servidor MCP de InsForge en tu **Roo Code** ejecutando el siguiente comando en tu terminal:

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

  <Accordion title="OpenCode">
    Después de la instalación, encontrarás el archivo de configuración en `./opencode.json` como se muestra a continuación:

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

    Luego ejecuta el siguiente comando para autenticarte:

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

    Esto abrirá tu navegador para completar el flujo de autenticación OAuth.
  </Accordion>
</AccordionGroup>

### Verificar la instalación

Para verificar la conexión, inicia una nueva sesión de chat en tu asistente de codificación con IA y envía este mensaje:

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

Si la conexión se realiza correctamente, verás el indicador de estado **MCP Connected** en tu panel de InsForge (esquina superior derecha).

<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" />

## Solución de problemas

<Accordion title="Los cambios no surten efecto">
  La mayoría de los clientes de IA requieren un reinicio completo después de cambios en la configuración de MCP. Cierra y vuelve a abrir la aplicación.
</Accordion>
