Initialize Ply in a project
init_projectCreates missing Ply setup files only when absent: ply-ui.json, ply-ui.css, icon sprites, @source, and design skills. Runs non-interactively and leaves existing project files untouched.
Instructions
Create missing Ply setup files (ply-ui-cli init --yes): ply-ui.json, ply-ui.css, icon sprites, @source, and the design skill in .cursor/skills and .agents/skills, and only when those files are absent. Existing project files stay. refreshEditorKit is the only replacement: it overwrites an editor kit that is already there. add_components installs named components once ply-ui.json exists; update_components refreshes tracked copies. Always non-interactive.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Project root to initialize (defaults to MCP process cwd / PLY_CWD). Always non-interactive (`init --yes`). | |
| refreshEditorKit | No | Replace an editor kit that is already there (Cursor rule, snippets, and the design skill in .cursor/skills and .agents/skills). Maps to `init --refresh-editor-kit`. |