Lex for Windsurf
io.github.guffawaffle/lex
Episodic memory and architectural policy for AI agents. Frames, Atlas, and Policy.
client:Windsurf
transport:stdio
runtime:npm
Install Lex in Windsurf
~/.codeium/windsurf/mcp_config.json · windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json
{
"mcpServers": {
"lex": {
"command": "npx",
"args": [
"-y",
"@smartergpt/lex-mcp"
],
"env": {
"LEX_WORKSPACE_ROOT": "<LEX_WORKSPACE_ROOT>",
"LEX_MEMORY_DB": "<LEX_MEMORY_DB>",
"LEX_DEBUG": "<LEX_DEBUG>"
}
}
}
}
Global only — Windsurf has no per-project MCP config. Refresh Cascade after saving. Windsurf docs