Windsurf

Connect Windsurf to Stockyard via MCP.

MCP Configuration

Open Windsurf settings and add the Stockyard MCP server. Create or edit ~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "stockyard": {
      "serverUrl": "https://your-stockyard-instance.com/mcp/sse"
    }
  }
}

OpenAI-Compatible Endpoint

You can also configure Windsurf to use the OpenAI-compatible endpoint directly in settings:

Base URL: https://your-stockyard-instance.com/v1
API Key:  your-stockyard-api-key

Verify

Trigger a Cascade action in Windsurf. Check the Stockyard Observe dashboard to confirm traces are flowing through the middleware chain.

Tip: Use Stockyard’s modelswitch module to override which model Windsurf sends requests to — useful for cost control.