---
title: Windsurf
description: Install Docfork MCP in Windsurf
---
Add this to your Windsurf MCP config file. See [Windsurf MCP docs](https://docs.windsurf.com/windsurf/cascade/mcp) for more info.
#### Remote Server Connection
```json theme={null}
{
"mcpServers": {
"docfork": {
"serverUrl": "https://mcp.docfork.com/mcp",
"headers": {
"DOCFORK_API_KEY": "YOUR_API_KEY"
}
}
}
}
```
#### Local Server Connection
```json theme={null}
{
"mcpServers": {
"docfork": {
"command": "npx",
"args": ["-y", "docfork", "--api-key", "YOUR_API_KEY"]
}
}
}
```