Connecting Windsurf
Connect Windsurf to ZopNight's MCP server to query your cloud infrastructure directly from your editor using Cascade.
Before you start
Make sure you have completed the prerequisites — enable MCP for your organisation and create a Personal Access Token.
Setup
- Open Windsurf
- Go to Settings
- Scroll down to Cascade section
- Click Open MCP Registry
- In the Installed section, click the Settings icon (⚙️)
- Paste the JSON config below
- Press Ctrl+S (or Cmd+S) to save
Configuration
{
"mcpServers": {
"zopnight": {
"serverUrl": "<server-url>",
"headers": {
"Authorization": "Bearer <your-token>"
}
}
}
}Note
- Replace
<server-url>with the Server URL copied from your Organisation Settings page or from the Developer Settings page while creating your PAT token. - Replace
<your-token>with your Personal Access Token (starts withzn_pat...). - Windsurf uses
serverUrl(noturl) in the config.
Verify Connection
Once configured, open Cascade and ask:
List my organisationsIf configured correctly, it will call the list_organisations tool and show your organisations.