Skip to main content

Connecting with Windsurf

Complete guide for integrating ProdE with Windsurf through Model Context Protocol (MCP) using Server-Sent Events.

Supports SSE (Server-Sent Events) protocol for MCP integration.

Prerequisites

Before setting up Windsurf integration:

  1. CuriousBox AI Account: Active account with repositories in knowledge layer
  2. Windsurf Installation: Latest version of Windsurf editor
  3. SSE Support: Ensure network supports Server-Sent Events

Setup Process

Step 1 : Navigate to MCP Settings:

  • Go to your ProdE account and find the MCP configuration section

alt text

Step 2: Configuration Directory Setup

Directory Location: ~/.codeium/windsurf/

Create Directory (if needed):

Windows:

New-Item -Path "$env:USERPROFILE\.codeium\windsurf" -ItemType Directory -Force

macOS/Linux:

mkdir -p ~/.codeium/windsurf

Step 3: Configuration

File Location: ~/.codeium/windsurf/mcp_config.json

{
"mcpServers": {
"prode-codebase-understanding": {
"command": "npx",
"args": [
"mcp-remote",
"https://api.prode.ai/code-parsing/v1/mcp/",
"--header",
"Authorization: Bearer <YOUR_TOKEN>"
]
}
}
}
npx command

The configuration uses npx to run the mcp-remote command. If npx is not available, install Node.js which includes npx by default.

Configuration Steps

  1. Copy Configuration: The platform provides a complete configuration with your token automatically included
  2. Navigate to Configuration Directory: Open ~/.codeium/windsurf/
  3. Create Configuration File: Create mcp_config.json
  4. Insert Configuration: Copy and paste the JSON configuration
  5. Save File: Ensure the configuration is saved properly
  6. Run: Click Run to connect the MCP server
Token Management

The configuration copied from ProdE platform automatically includes your authentication token. If you need to update an existing token (e.g., if your current token stops working), you can copy the new token from the MCP Settings screen and replace it in your existing configuration.


Back to MCP Overview | Cursor Setup | VS Code Setup