mcp

v0.1.6
@jst-stack/mcp Checked 3 days ago Published 27 days ago

MCP server and Pi extension for JST architecture workflows: start tasks, scaffold slices, surface recipes, and run quality gates.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

jst_start_task Start a JST task

Start every JST implementation here. Returns the project-local contract, relevant architecture sections, the project's declared dependency stack and relevant architecture sections. If a returned section is truncated, call jst_get_section for its full text.

ParameterTypeDescription
brief *stringOne-line description of the requested change.
projectRoot *stringPath to the JST project root.

jst_scaffold_slice Scaffold a JST slice

Validate kind/name/options and invoke the project-local create:slice generator, returning created relative paths and the single next action. Set dryRun to preview without writing files.

ParameterTypeDescription
kind *stringSlice kind: entity, feature, module, or widget.
name *stringlowerCamelCase slice name.
projectRoot *stringPath to the JST project root.
dryRunbooleanPreview the plan without writing files; returns created paths and install commands only.
optionsobjectGenerator flags. repository, service, persistence, and msw are entity-only; msw requires repository; stateful is Reatom-specific and unavailable for widgets.

jst_get_recipe Get a JST recipe

Return the matching project-local recipe section from skills/frontend-architecture/SKILL.md including the SSR-safe mock HTTP recipe.

ParameterTypeDescription
projectRoot *stringPath to the JST project root.
recipe *stringRecipe name.

jst_get_section Get an architecture section

Return the complete, untruncated text of one architecture section from the project's skill. Use it when a section returned by jst_start_task is marked truncated.

ParameterTypeDescription
projectRoot *stringPath to the JST project root.
section *stringExact section name, e.g. Ownership or DI boundary.

jst_check Run a JST quality gate

Run an existing project npm script (fix, fast, architecture, release) and return the exit status plus a bounded diagnostic summary and the prescribed next action.

ParameterTypeDescription
gate *stringGate: fix, fast, architecture, or release.
projectRoot *stringPath to the JST project root.