@spuentesp/lain-mcp
v0.2.0
Published
Lain - Architectural code intelligence for AI coding agents
Maintainers
Readme
lain-mcp
Architectural code intelligence for AI coding agents.
Installation
npm install -g lain-mcpOr with npx (downloads binary on first run):
npx lain-mcp --workspace /path/to/projectWhat this installs
- Binary:
~/.lain/bin/lain— the Lain executable (downloaded from GitHub releases) - Config:
~/.lain/tuning.toml— default tuning parameters - Toolchains:
~/.lain/toolchains/— empty dir for user toolchain overrides - Models:
~/.lain/models/— empty dir for ONNX embedding models (optional)
Configuration
Edit ~/.lain/tuning.toml to customize Lain's behavior. All values are optional — omit a field to use the built-in default.
Usage
After installation, add Lain to your MCP configuration:
{
"mcpServers": {
"lain": {
"command": "lain",
"args": ["--workspace", "/path/to/your/project"]
}
}
}Or run directly:
~/.lain/bin/lain --workspace /path/to/project --transport stdioUninstall
npm uninstall -g lain-mcp
# Binary and config remain in ~/.lain/ — delete manually to fully remove
rm -rf ~/.lain