Labsco
MCP SERVER

Layered Code

by layered-flow

Build and ship a web app by conversation — scaffold with Vite or Next.js, edit files, run pnpm, lint, and commit with git.

Code Generation, Scaffolding & Migration
Summary
A whole development loop behind one binary, still pre-1.0.

Scaffolding, package management, linting, process supervision and git in a single server is what makes describe-it-then-ship-it plausible without giving the agent a free shell. Two things bound the risk: everything is confined to the apps directory, and paths outside your home directory are rejected. The project's own banner says it is not ready for production, so treat it as a workshop rather than a deployment pipeline.

What it is

A Go binary that gives an assistant a working area under `~/LayeredApps` and the tools to build in it: file operations with ripgrep-backed search, project scaffolding for Vite and Next.js, package management through pnpm, PM2 process control, ESLint, and a full set of git commands.

What you get
  • Apps and files listed, read, written, edited, moved, copied and deleted inside an application directory — `lc_apps_list`, `lc_file_list`, `lc_file_read`, `lc_file_write`, `lc_file_edit`, `lc_file_move`, `lc_file_copy`, `lc_file_delete`, `lc_folder_delete`
  • Text search across an application's files, run through ripgrep — `lc_text_search`
  • New projects scaffolded: React, Vue or Svelte templates, or Next.js with TypeScript, JavaScript, Tailwind or App Router — `vite_app_create`, `nextjs_app_create`
  • Dependencies installed and added, and dev servers supervised — `pnpm_install`, `pnpm_add`, `pnpm_pm2`
  • ESLint run over named files with optional auto-fix, restricted to relative paths — `lc_js_lint`
  • Git worked normally: status, diff, add, commit, log, branch, restore, stash, push, pull and init — `git_status`, `git_diff`, `git_add`, `git_commit`, `git_log`, `git_branch`, `git_restore`, `git_stash`, `git_push`, `git_pull`, `git_init`
  • A page fetched through Chrome after its JavaScript has loaded — `lc_chrome_visit`
  • A prompt library the agent can list and read — `lc_prompt_list`, `lc_prompt_read`
Requirements

No account and no key. Install with Homebrew on macOS or Linux, the install script, or a prebuilt binary; Go 1.24+ is only needed to build from source. The client launches the binary with the `mcp_server` argument. Work happens under `~/LayeredApps` unless `LAYERED_APPS_DIRECTORY` says otherwise, and that path is validated to stay inside your home directory. The project carries a work-in-progress notice and has not reached version 1.0.

Setup effort

One command — curl -fsSL https://raw.githubusercontent.com/layered-flow/layered-code/main/scripts/install.sh | sudo bash