tool_add
Add a development tool or service by everyday name (React, Next.js, FastAPI, PostgreSQL) to a Flisk project, report the outcome, and start it with the up command.
Instructions
Add a tool by its everyday name (react, nextjs, fastapi, nodejs, postgresql, mysql, mongodb, rag, embeddings, llm-api) with flisk tool add <tool> --json, which runs the matching flisk resource command. data.status says what happened: resource (created; data.resource is the resource_create result), built-in (docker: nothing to do), manual (angular, tailwind, spring-boot, github-actions, jutro, policycenter: data.steps are steps to show the user; nothing was changed), or an error for a rejected tool (aws, google-cloud, azure, kubernetes): Flisk runs everything locally and never creates cloud resources, so do not work around it. Call up afterwards to start a new resource. Set projectPath when the MCP server is not running from the project root.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"tool": "<tool>"
},
"name": "tool_add"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Resource name (default per tool, for example web, server, db); a name already in use is refused | |
| tool | Yes | The tool to add, by id or everyday name ("Next.js", "google cloud"): react, nextjs, angular, tailwind, nodejs, fastapi, spring-boot, postgresql, mysql, mongodb, rag, embeddings, llm-api, docker, github-actions, weather, chart, services, jutro, policycenter, aws, google-cloud, azure, kubernetes | |
| stack | No | Stack to assign the resource to | |
| dryRun | No | Preview the resource without writing files or reserving a port | |
| projectPath | No | Absolute path to the Flisk project root; run this operation from that directory. |