What is the Lex MCP server?
Episodic memory and architectural policy for AI agents. Frames, Atlas, and Policy.
How to install Lex
Copy-paste configuration for popular MCP clients.
transport: stdio
Config generated by PluginBench — verify against the source before use.Environment / auth
LEX_WORKSPACE_ROOTRoot directory for the workspace. Defaults to current working directory.
LEX_MEMORY_DBPath to SQLite database file. Defaults to .smartergpt/lex/lex.db in workspace root.
LEX_DEBUGSet to any value to enable debug logging to stderr.
Claude Desktop
~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"lex": {
"command": "npx",
"args": [
"-y",
"@smartergpt/lex-mcp"
],
"env": {
"LEX_WORKSPACE_ROOT": "<YOUR_LEX_WORKSPACE_ROOT>",
"LEX_MEMORY_DB": "<YOUR_LEX_MEMORY_DB>",
"LEX_DEBUG": "<YOUR_LEX_DEBUG>"
}
}
}
}Cursor
~/.cursor/mcp.json
{
"mcpServers": {
"lex": {
"command": "npx",
"args": [
"-y",
"@smartergpt/lex-mcp"
],
"env": {
"LEX_WORKSPACE_ROOT": "<YOUR_LEX_WORKSPACE_ROOT>",
"LEX_MEMORY_DB": "<YOUR_LEX_MEMORY_DB>",
"LEX_DEBUG": "<YOUR_LEX_DEBUG>"
}
}
}
}Windsurf
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"lex": {
"command": "npx",
"args": [
"-y",
"@smartergpt/lex-mcp"
],
"env": {
"LEX_WORKSPACE_ROOT": "<YOUR_LEX_WORKSPACE_ROOT>",
"LEX_MEMORY_DB": "<YOUR_LEX_MEMORY_DB>",
"LEX_DEBUG": "<YOUR_LEX_DEBUG>"
}
}
}
}VS Code
.vscode/mcp.json
{
"servers": {
"lex": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@smartergpt/lex-mcp"
],
"env": {
"LEX_WORKSPACE_ROOT": "<YOUR_LEX_WORKSPACE_ROOT>",
"LEX_MEMORY_DB": "<YOUR_LEX_MEMORY_DB>",
"LEX_DEBUG": "<YOUR_LEX_DEBUG>"
}
}
}
}Claude Code
claude mcp add lex --env LEX_WORKSPACE_ROOT=<YOUR_LEX_WORKSPACE_ROOT> --env LEX_MEMORY_DB=<YOUR_LEX_MEMORY_DB> --env LEX_DEBUG=<YOUR_LEX_DEBUG> -- npx -y @smartergpt/lex-mcpRelated MCP servers
AXF
Active
Agent eXoskeleton Framework control plane for workspace-native agent capabilities over MCP.
0
View repository →JavaScript