# Connecting Windsurf
> Source: https://www.fuze-store.com/docs/store/ai-connections/connecting-windsurf

# Connecting Windsurf

This guide connects **Windsurf** to your Fuze Store account. Windsurf supports MCP on its **free** tier (subject to its own agent quota).

## Before You Start

- **Windsurf** is installed.
- You have **Owner** or **Admin** access to the store you want to connect.
- The **AI Connections** add-on is active on that store.

## Get Your MCP URL

In the Fuze Store app, open **Configurations → MCP → Connect an assistant** and copy the **MCP Server URL**:

```text
https://api.fuze-store.com/mcp/store/<your-store-id>
```

## Connect

**1. Open the raw config.** Go to **Settings → MCP → View raw config**. Windsurf stores servers in `mcp_config.json`.

**2. Add the server.** Paste the block below (substitute your MCP Server URL), save, then restart Windsurf:

```json
{
  "mcpServers": {
    "fuze-store": {
      "serverUrl": "https://api.fuze-store.com/mcp/store/<your-store-id>"
    }
  }
}
```

**3. Approve in the browser.** Windsurf opens a browser for the OAuth handshake. Sign into Fuze Store if prompted, review the permissions, and **Approve**.

## Ask Your First Question

- "What were my total sales last week?"
- "Show me my top products this month."
- "How many new customers did I add today?"

## If Something Goes Wrong

If the server does not connect, confirm the JSON is valid and that you restarted Windsurf. For Fuze-side issues, see the troubleshooting section of [Setting Up AI Access](/docs/store/ai-connections/setting-up-oauth).

  - [AI Connections Overview](/docs/store/ai-connections/overview)
  - [Connecting Cursor](/docs/store/ai-connections/connecting-cursor)
  - [Setting Up AI Access](/docs/store/ai-connections/setting-up-oauth)
  - [Understanding Permissions](/docs/store/ai-connections/understanding-scopes)
