# Connect Windsurf, Kimi, Cline or any other MCP editor to your Sitesfare website

> Any editor that speaks MCP over HTTP can edit your Sitesfare website: the server URL plus an Authorization header with a Studio key.

Web page: https://sitesfare.com/guides/connect-windsurf-kimi-cline
Part of: https://sitesfare.com/guides

## Steps at a glance

1. **Add AI editor access in Sitesfare.** Dashboard → AI editors → add access for the kind of website you have.
2. **Create a Studio key.** AI editors → Studio keys → Create key → copy it.
3. **Add the server to your editor.** Wherever the editor lists MCP servers, add a streamable-HTTP server with URL https://api.sitesfare.com/mcp and the header Authorization: Bearer <your key>. Windsurf: mcp_config.json with serverUrl + headers. Cline: MCP Servers → Remote Servers → name + URL, then the header in cline_mcp_settings.json.
4. **Ask.** Describe the change; say “publish” when ready.

Any editor that speaks **MCP over HTTP** can edit, publish and undo changes on your Sitesfare website: Windsurf, Cline, Kimi, DeepSeek-based editors, Zed, Continue, VS Code's agent mode and others. They all need the same two things.

## Before you start

- In your Sitesfare dashboard open **AI editors** and add **AI editor access** for the kind of website you have. See [how Sitesfare Connect works](/guides/connect-ai-editors).
- Create a **Studio key**: AI editors → **Studio keys** → **Create key** → copy it. It is shown once.

## The two things every editor needs

| | Value |
| --- | --- |
| Server URL | `https://api.sitesfare.com/mcp` (transport: streamable HTTP — some editors call it "remote" or "http") |
| Header | `Authorization: Bearer <your Studio key>` |

If the editor supports signing in to remote servers (OAuth), you can leave the header out and approve on the Sitesfare page instead.

## Windsurf

Open **Settings → MCP** (or **Windsurf Settings → Cascade → MCP servers**) and edit `~/.codeium/windsurf/mcp_config.json`:

```json
{
  "mcpServers": {
    "sitesfare": {
      "serverUrl": "https://api.sitesfare.com/mcp",
      "headers": {
        "Authorization": "Bearer <your Studio key>"
      }
    }
  }
}
```

Save and refresh the MCP list; **sitesfare** appears with its tools. Ask Cascade in plain words.

## Cline (VS Code)

Open the **MCP Servers** panel → **Remote Servers** → add **sitesfare** with the URL `https://api.sitesfare.com/mcp`. Then open `cline_mcp_settings.json` (gear icon) and add the header to the entry:

```json
"sitesfare": {
  "url": "https://api.sitesfare.com/mcp",
  "headers": { "Authorization": "Bearer <your Studio key>" }
}
```

## Kimi, DeepSeek-based and other editors

Wherever the editor lists MCP servers, add a remote/HTTP server with the URL and the header above. The field names differ (`url` or `serverUrl`, `headers` or `httpHeaders`); the values are the same.

**Editor only supports stdio servers?** Use a small bridge such as `mcp-remote`:

```json
"sitesfare": {
  "command": "npx",
  "args": ["-y", "mcp-remote", "https://api.sitesfare.com/mcp", "--header", "Authorization: Bearer <your Studio key>"]
}
```

## Ask

- "Show me my Sitesfare websites."
- "Update the About section of ira with this text: …"
- "Here's a screenshot of a section — change the heading to 'Selected work'."
- "Undo the last change."

Changes are saved as drafts; say **"publish"** to put them live. Every change is in the site's **History** in the dashboard with one-click undo.

## Troubleshooting

- **401 / unauthorized.** The key was pasted incompletely (it starts with `sfk_`) or was revoked. Create a new one.
- **"This account does not hold AI editor access…"** Add the add-on for that kind of website under AI editors.
- **The editor expects an SSE server.** Sitesfare uses streamable HTTP (the current MCP transport). Pick "http" or "streamable HTTP"; if only SSE is offered, use the `mcp-remote` bridge above.

## Questions

**My editor only supports stdio servers.**
Use a small bridge such as mcp-remote: command "npx", args ["-y", "mcp-remote", MCP_URL, "--header", "Authorization: Bearer <your key>"]. Sitesfare’s own bridge package is on the way.

**Which editors have been tested?**
ChatGPT, Claude, Claude Code, Cursor, Codex CLI and Windsurf have dedicated guides. Anything that implements MCP over streamable HTTP with custom headers works the same way.
