TL;DR: by default, Claude Code writes Dockerfiles and Compose files by hand and guesses when something fails. With the Flisk MCP server it calls tools instead: doctor, up, status, logs. One command sets it up. What it builds still depends on the model.
If you search Claude Code MCP, most results are about adding a server to .mcp.json. This one is a worked example for a local dev stack.
Connect it
npm install -g @flisk-sh/flisk
mkdir my-shop && cd my-shop
flisk connect claude --dry-run # see the files first
flisk connect claude
claude
flisk connect claude writes the MCP entry to .mcp.json and the Flisk skills to .claude/skills/. It merges with what is there, so other MCP servers stay as they are, and running it twice changes nothing. A different existing flisk entry is reported as kept and left alone unless you pass --force.
In Claude Code, approve the project server flisk when it asks, and run /mcp to see it connected. For all projects, use claude mcp add --scope user flisk -- flisk mcp.
What the agent can call
The server has 24 tools, and each runs the matching Flisk command.
| Job | Tools |
|---|---|
| Check the machine |
doctor reports what would stop a stack from starting, with a fix |
| Build |
project_init, resource_create, tool_add, stack_assign, config_regenerate
|
| Run |
up, status, down, resource_restart, resource_run
|
| Inspect |
project_info, resource_list, stack_list, network_list
|
| Debug |
logs, config_verify, config_explain, agent_list, agent_sessions
|
project_eject hands the generated Tilt files over and needs confirm: true. tool_add rejects cloud providers.
A prompt to try
Build me a small online shop with a storefront and an orders API.
Run Flisk doctor first, then start the stack and give me the URLs.
With the skills, the plan is: doctor, scaffold the services, up, then poll status until the stack is ready. A first build pulls images and can take minutes. When a service fails, the agent has logs and config_verify to find out why, instead of guessing at Docker.
Limits
- It runs on your computer. Flisk does not deploy; production stays with your own tools.
- What the agent builds, and whether every fix lands, depends on the agent and the model.
- Cursor and Codex have the same command:
flisk connect cursorandflisk connect codex.
Docs: Flisk for AI agents.
Top comments (0)