Skip to content

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.

Capabilityexecution.build_project
AreaRun, test and tasks
Accesschanges processes
Reachesprocess
Rightsrun, trusted-project
Dry rundry_run, on unless the call turns it off

Arguments

ArgumentTypeDescription
dry_runbooleanOnly 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.

Terminal window
ferris-idea call ~/my-project build_project
Input 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"
]
}
}
}