@smartergpt/lex-mcp
v1.0.2
Published
MCP server for Lex episodic memory - stdio transport wrapper
Maintainers
Readme
@smartergpt/lex-mcp
MCP server wrapper for Lex episodic memory.
Quick Start
npx @smartergpt/lex-mcpConfiguration
VS Code / Copilot
Add to .vscode/mcp.json:
{
"servers": {
"lex": {
"command": "npx",
"args": ["@smartergpt/lex-mcp"],
"env": {
"LEX_WORKSPACE_ROOT": "${workspaceFolder}"
}
}
}
}Claude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"lex": {
"command": "npx",
"args": ["@smartergpt/lex-mcp"]
}
}
}Environment Variables
| Variable | Description | Default |
|----------|-------------|---------|
| LEX_WORKSPACE_ROOT | Workspace root directory | Current directory |
| LEX_MEMORY_DB | SQLite database path | .smartergpt/lex/lex.db |
| LEX_DEBUG | Enable debug logging | Off |
Tools
This MCP server provides 11 tools for episodic memory management:
frame_create- Store episodic memory snapshotframe_search- Search frames by reference, branch, or ticketframe_get- Retrieve specific frame by IDframe_list- List recent frames with filteringframe_validate- Validate frame input (dry-run)policy_check- Validate code against policy rulestimeline_show- Visual timeline of frame evolutionatlas_analyze- Analyze code structure and dependenciessystem_introspect- Discover Lex capabilities and statehelp- Usage help and exampleshints_get- Retrieve error recovery hints
Learn More
See the Lex documentation for full details.
