Skip to main content
Glama
lpmoo

lpmoo

by tuhuateng

@lpmoo/mcp

Public, MIT-licensed stdio MCP server for lpmoo's frozen Section JSON tools.

This repository is only the MCP interface: list_templates, get_recipe, and generate_lp_sections. The default path is an offline stub. It does not contain the lpmoo SaaS (canvas, accounts, billing), the Gene catalog, the Gola knowledge base, or campaign prompts. Those stay in the private monorepo.

npx @lpmoo/mcp is not published. Do not install that name. Use this public GitHub repository.

Trust

Does

Does not

Advertise the three frozen tools and return Section JSON

Return a full HTML page (<!DOCTYPE / <html is rejected)

Run offline with no API key

Read or send AGENT_API_KEY, LPMOO_API_TOKEN, or any model key

Stay on stdout as newline-delimited JSON-RPC

Call the lpmoo API. LPMOO_MCP_MODE=remote returns mcp_byo_bridge_pending and does not use the network

The SaaS bridge (mcp_byo) is not part of this package. Production lpmoo does not run this process.

Related MCP server: Offline Designer MCP

Install

Node 20+.

git clone https://github.com/tuhuateng/lpmoo-mcp.git
cd lpmoo-mcp
npm install
npm test

Anonymous clone of this repository is the supported install. npm test checks the tool list, schema-valid section output, HTML rejection, and a live stdio process.

Cursor and Claude Desktop

npx @lpmoo/mcp does not exist. This github: spec installs this repository:

~/.cursor/mcp.json, a project .cursor/mcp.json, or Claude Desktop's claude_desktop_config.json:

{
  "mcpServers": {
    "lpmoo": {
      "command": "npx",
      "args": ["-y", "github:tuhuateng/lpmoo-mcp"]
    }
  }
}

Claude Desktop paths: macOS ~/Library/Application Support/Claude/claude_desktop_config.json, Windows %APPDATA%\Claude\claude_desktop_config.json.

If a host prints npm's install log onto the MCP stdout channel, use a local checkout instead. Replace the path with your clone:

{
  "mcpServers": {
    "lpmoo": {
      "command": "node",
      "args": [
        "/ABS/PATH/TO/lpmoo-mcp/bin/lpmoo-mcp.mjs"
      ]
    }
  }
}

The server prints nothing until it receives JSON-RPC. A quiet terminal is it waiting.

Codex

~/.codex/config.toml (not mcp.json):

[mcp_servers.lpmoo]
command = "npx"
args = ["-y", "github:tuhuateng/lpmoo-mcp"]

Checkout fallback:

[mcp_servers.lpmoo]
command = "node"
args = ["/ABS/PATH/TO/lpmoo-mcp/bin/lpmoo-mcp.mjs"]

Optional environment

Variable

Default

Behavior

LPMOO_MCP_MODE

local

local or stub: offline section stub. remote: tools return mcp_byo_bridge_pending and make no request. Any other value is rejected.

LPMOO_API_TOKEN

unset

Reserved. This server never reads it.

Tools

  • list_templates — direction recipes. No model call.

  • get_recipe — ordered section structure (type, title, job). No copy, no HTML.

  • generate_lp_sections — ordered sections (type, spec, rationale) validated as Section JSON.

Verify

Source of truth is https://github.com/tuhuateng/lpmoo-mcp. There is no postinstall script. Tool names are checked at startup against MCP_SECTION_TOOLS in src/schema.ts. Behavior is src/stub.ts.

License

MIT. See LICENSE.

Available Tools

3 tools
generate_lp_sectionsB
Read-onlyIdempotent

Generate an ordered Section array (type, spec, rationale) from a brief and structure constraints. Never return a full-page HTML document.

Inputs: brief (required), constraints, coachContext, trendSummary.

get_recipeA
Read-onlyIdempotent

Return ordered section structure for a recipe id (type, title, job). No copy, no HTML.

Inputs: recipeId (required).

list_templatesA
Read-onlyIdempotent

List LP direction recipes the canvas can generate from. No model call.

Inputs: no named parameters.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.7/5.0

    Scored across 3 tools

    Disambiguation5/5

    Each tool has a distinct role: list_templates enumerates available recipes, get_recipe retrieves structural details for a specific recipe id, and generate_lp_sections performs generation from a brief. The required inputs and verbs make misselection unlikely.

    Naming Consistency4/5

    All three names follow a consistent verb_noun snake_case pattern. The only minor drift is terminology between 'templates' and 'recipe', but the naming style itself is predictable.

    Tool Count5/5

    Three tools are well-scoped for a narrow LP section-generation server: discovery, structure inspection, and generation. No tool appears redundant or extraneous.

    Completeness4/5

    The surface covers the core lifecycle of listing recipes, inspecting a recipe structure, and generating sections. It lacks explicit validation or refinement operations, but those are not clearly required for the stated generation-focused purpose.

    Maintenance

    ActivitySlowing
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables MCP clients to explore Sri Lankan transit data offline by finding nearby stops, searching and retrieving routes with ordered stop sequences, checking scheduled arrivals, and inspecting feed coverage status. All results come from bundled synthetic fixtures marked as non-production, with no live operator feeds connected.
      Apache 2.0
    • F
      license
      B
      quality
      B
      maintenance
      Enables AI clients to search a bundled offline library of UI, animation, and anti-slop design references, inspect guidance, licenses, and local assets, and generate implementation briefs for web and app visual work without network access.
      7
      -
    • A
      license
      A
      quality
      B
      maintenance
      Enables users to access six offline, read-only guidance tools that generate team configuration and early-exit drafts, validate supplied layout paths, explain methods, and draft workflows and owner batches from bounded inputs without reading arbitrary files or calling networks.
      6
      34 PyPI
      MIT