Skip to main content

Prerequisites

Configuration

Windsurf configures MCP servers via a JSON file. Add the following to ~/.codeium/windsurf/mcp_config.json:
${env:LIGHTON_API_KEY} is Windsurf’s syntax for reading an environment variable at runtime. The key is never stored in the config file. Make sure LIGHTON_API_KEY is set in your shell environment, you can grab your key from the LightOn Console.

Verification

  1. Open the MCP panel in Windsurf and confirm lighton appears and shows as connected.
  2. Test the connection with a prompt like:
You’re all set. From any Windsurf session you can now ask Cascade to search or ingest documents in your LightOn workspaces directly.

References