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

# Windsurf

## Quick Install

```bash theme={null}
zenable install windsurf
```

<Note>See the [CLI command reference](/integrations/zenable/commands#install) for more options.</Note>

**That's it! You're all set.** Restart Windsurf and start using Zenable's conformance checking in your AI coding assistant.

This installs both the MCP server and Windsurf hooks for real-time code checking.

***

<Accordion title="Advanced: Manual MCP Configuration" icon="wrench">
  <Note>The below is a minimal example which may need to be merged with your existing configuration. Consider using the quick install command to handle this automatically.</Note>

  Place the following configuration:

  ```json theme={null}
  {
    "mcpServers": {
      "zenable": {
        "serverUrl": "https://mcp.zenable.app/"
      }
    }
  }
  ```

  In this file location:

  ```bash theme={null}
  ~/.codeium/windsurf/mcp_config.json
  ```

  <Warning>We only recommend this manual approach if you can't use `zenable install`. Otherwise, `zenable install` is much safer and can handle configuration upgrades over time, handles merges with existing configs, performs backups and logging in case of issues, and more.</Warning>
</Accordion>

<Accordion title="Advanced: Manual Hook Configuration" icon="bolt">
  <Note>Hooks run automatically after file writes to check for conformance issues. The quick install command sets this up for you.</Note>

  Place the following configuration in `.windsurf/hooks.json` (project) or `~/.codeium/windsurf/hooks.json` (global):

  ```json theme={null}
  {
    "hooks": {
      "post_write_code": [
        {
          "command": "zenable hook",
          "show_output": true
        }
      ]
    }
  }
  ```

  This uses [Windsurf's post\_write\_code hook](https://docs.windsurf.com/windsurf/cascade/hooks) to run conformance checks after each file write made by Cascade.
</Accordion>
