project_import
Transform services defined in a docker-compose.yml into bring-your-own service.json files. Use this utility to import existing directory services into your Flisk App Builder project.
Instructions
Import the services in a directory's root docker-compose.yml as bring-your-own service.json files with flisk import --json, which runs the pinned flisk-import from npm (the first run needs network access). It writes without asking: set dryRun to get the plan only, and force to overwrite an existing service.json. Returns data.written and the importer's output. Set projectPath when the MCP server is not running from the project root.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dir | No | Directory with the docker-compose.yml, relative to projectPath or absolute (default: projectPath) | |
| force | No | Overwrite an existing service.json | |
| dryRun | No | Print the plan and write nothing | |
| projectPath | No | Absolute path to the Flisk project root; run this operation from that directory. |