Lex
io.github.Guffawaffle/lex
Episodic memory and architectural policy for AI agents. Frames, Atlas, and Policy.
- Repository
- github.com/Guffawaffle/lex
- Version
- 1.0.2
- Author
- Guffawaffle (namespace verified by the registry)
- Source
- Official MCP registry (updated Dec 31, 2025)
How to install it
Variables to fill in: LEX_WORKSPACE_ROOT, LEX_MEMORY_DB, LEX_DEBUG.
On your machine
Claude Code
The server runs on your machine (npm package). In a terminal:
claude mcp add lex -e LEX_WORKSPACE_ROOT=YOUR_LEX_WORKSPACE_ROOT -e LEX_MEMORY_DB=YOUR_LEX_MEMORY_DB -e LEX_DEBUG=YOUR_LEX_DEBUG -- npx -y @smartergpt/[email protected]Claude Desktop claude_desktop_config.json
Settings, Developer, Edit config, then add:
{
"mcpServers": {
"lex": {
"command": "npx",
"args": [
"-y",
"@smartergpt/[email protected]"
],
"env": {
"LEX_WORKSPACE_ROOT": "YOUR_LEX_WORKSPACE_ROOT",
"LEX_MEMORY_DB": "YOUR_LEX_MEMORY_DB",
"LEX_DEBUG": "YOUR_LEX_DEBUG"
}
}
}
}Cursor ~/.cursor/mcp.json
In ~/.cursor/mcp.json:
{
"mcpServers": {
"lex": {
"command": "npx",
"args": [
"-y",
"@smartergpt/[email protected]"
],
"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
In .vscode/mcp.json:
{
"servers": {
"lex": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@smartergpt/[email protected]"
],
"env": {
"LEX_WORKSPACE_ROOT": "YOUR_LEX_WORKSPACE_ROOT",
"LEX_MEMORY_DB": "YOUR_LEX_MEMORY_DB",
"LEX_DEBUG": "YOUR_LEX_DEBUG"
}
}
}
}ChatGPT
ChatGPT only connects to remote servers (an https address). This package runs locally: use one of the apps above.
These configurations are built from the information published by the author. Check the repository before installing a local server.
Our test
This server runs on your machine: we cannot test it remotely.
Reviews
No review yet.
Sign in to leave a review. Your email is all you need.
Comments
No comment yet. A question, a tip? Start the discussion.
Sign in to comment.
Badge for your README
Show that your project is listed (and tested, if it responds): paste this code in your README. The badge follows the latest test and links back to this entry.
Markdown (GitHub)
[](https://lagora.dev/en/entry/io.github.guffawaffle/lex)HTML
<a href="https://lagora.dev/en/entry/io.github.guffawaffle/lex"><img src="https://lagora.dev/badge/io.github.guffawaffle/lex.svg?lang=en" alt="io.github.Guffawaffle/lex on L’Agora" height="20"></a>For the entry’s author only: sign in to continue.