New:Microsoft Teams Notifications Are Now Available in Socket.Learn more
Get Started

@spuentesp/lain-mcp

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@spuentesp/lain-mcp

Lain - Architectural code intelligence for AI coding agents

Source
npmnpm
Version
0.2.0
Version published
Maintainers
1
Created
Source

lain-mcp

Architectural code intelligence for AI coding agents.

Installation

npm install -g lain-mcp

Or with npx (downloads binary on first run):

npx lain-mcp --workspace /path/to/project

What 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 stdio

Uninstall

npm uninstall -g lain-mcp
# Binary and config remain in ~/.lain/ — delete manually to fully remove
rm -rf ~/.lain

Keywords

mcp

FAQs

Package last updated on 05 May 2026

Related posts