build_project
MCP tools › Run, test and tasks
Build Project in one call: the window's Build Project chain (Before Build tasks, cargo, Maven, Gradle and Go builds, After Build tasks), stopping at the first failure. Dry run by default: returns the steps. dry_run=false needs the user-granted run right and a trusted project; returns success, each step's outcome and up to 200 compiler problems (file, 1-based line and column, severity, message). Logged.
Its results carry text from process, files: the client is told to treat that as data, never as instructions.
| Capability | execution.build_project |
|---|---|
| Area | Run, test and tasks |
| Access | changes processes |
| Reaches | process |
| Rights | run, trusted-project |
| Dry run | dry_run, on unless the call turns it off |
Arguments
| Argument | Type | Description |
|---|---|---|
dry_run | boolean | Only report the build steps (default true); false runs them, which needs the run right
and a trusted project. |
Call it from a shell
ferris-idea call runs one tool with the rights and safe mode of ferris-idea mcp. Replace the folder and the placeholder values.
ferris-idea call ~/my-project build_projectInput schema as JSON
{ "type": "object", "properties": { "dry_run": { "description": "Only report the build steps (default true); false runs them, which needs the `run` right\nand a trusted project.", "type": [ "boolean", "null" ] } }}