🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@spuentesp/lain-mcp

Package Overview
Dependencies
Maintainers
1
Versions
3
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

latest
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

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts