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

# Windsurf

> Connect Autype to Windsurf IDE with Cascade

Connect the Autype MCP server to Windsurf, the AI-powered IDE with Cascade.

## Configuration

1. Open **Windsurf Settings** (Cmd+, on macOS, Ctrl+, on Windows)
2. Navigate to **Cascade → MCP Servers**
3. Add the following configuration:

```json theme={null}
{
  "mcpServers": {
    "autype": {
      "type": "http",
      "url": "https://mcp.autype.com/mcp/",
      "headers": {
        "X-API-Key": "YOUR_API_KEY"
      }
    }
  }
}
```

Replace `YOUR_API_KEY` with your actual API key from the [Dashboard](https://app.autype.com).

## Restart Windsurf

After adding the configuration, restart Windsurf completely for the changes to take effect.

## Verify connection

Open Cascade (Cmd+L on macOS, Ctrl+L on Windows) and ask:

> *"What Autype tools do you have access to?"*

Cascade should list all available Autype tools like `render_document`, `render_markdown`, `builder_create_session`, etc.

## Using Autype with Cascade

Once connected, you can ask Cascade to generate documents naturally:

> *"Generate a PDF invoice for client Acme Corp, total \$5,000, due March 15th. Include a table with 3 line items."*

> *"Create a DOCX contract template with variables for client name, start date, and monthly fee."*

Cascade will use the Autype tools to construct the document and provide you with a download link.
