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

# Windsurf

> Connect Windsurf to the Danube MCP Server

## Setup

<Steps>
  <Step title="Open MCP Settings">
    Go to **Windsurf Settings** → **Cascade** → **Open MCP Marketplace**.
  </Step>

  <Step title="Add Configuration">
    Click on the gear icon and edit the `mcp.json` file:

    ```json theme={null}
    {
      "mcpServers": {
        "danube": {
          "url": "https://mcp.danubeai.com/mcp",
          "headers": {
            "danube-api-key": "YOUR_API_KEY"
          }
        }
      }
    }
    ```
  </Step>

  <Step title="Restart Windsurf">
    Restart the IDE to load the new configuration.
  </Step>
</Steps>

***

## Troubleshooting

<AccordionGroup>
  <Accordion title="MCP not found in command palette">
    * Ensure you have the latest version of Windsurf
    * Check if MCP support is enabled in your Windsurf version
  </Accordion>

  <Accordion title="Connection failed">
    * Verify your API key is correct
    * Check firewall/VPN settings
  </Accordion>
</AccordionGroup>
