Skip to content

trust_project

MCP tools › Window and UI driver

Trust a project so its code may run (build scripts, build-tool sync, run configurations, tests, tasks). Guarded: dry_run defaults to true and only reports what would be trusted and what would then run; dry_run=false needs the trust right the user grants for this workspace in their own settings folder, and is logged in .ferris-idea/agent-log.jsonl. scope project (default) trusts the folder, folder its parent folder with every project in it. Never trust a project you have not been told to trust.

Capabilityui.trust_project
AreaWindow and UI driver
Accesschanges settings
Reaches—
Rightstrust
Dry rundry_run, on unless the call turns it off

Arguments

ArgumentTypeDescription
pathstringFolder to trust: workspace-relative or absolute (default the workspace root).
scopestringproject (default) trusts the folder; folder trusts its parent folder and every project in it.
dry_runbooleanOnly report what would be trusted and what would then run (default true); false trusts and needs the user-granted trust right.

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 trust_project
Input schema as JSON
{
"type": "object",
"properties": {
"path": {
"description": "Folder to trust: workspace-relative or absolute (default the workspace root).",
"type": [
"string",
"null"
]
},
"scope": {
"description": "`project` (default) trusts the folder; `folder` trusts its parent folder and every project\nin it.",
"type": [
"string",
"null"
]
},
"dry_run": {
"description": "Only report what would be trusted and what would then run (default true); false trusts and\nneeds the user-granted `trust` right.",
"type": [
"boolean",
"null"
]
}
}
}