Skip to content

new_project

MCP tools › Run, test and tasks

New Project: an empty project folder name next to the workspace (its parent folder, the default location) or inside it, with git init when git_init is true. An existing folder is refused. dry_run defaults to true and returns the folder; dry_run=false needs the write right. The folder is not opened: the user opens it.

Capabilityexecution.new_project
AreaRun, test and tasks
Accesschanges files, repository
Reachesprocess
Rightswrite
Dry rundry_run, on unless the call turns it off

Arguments

ArgumentTypeDescription
namerequiredstringThe new project folder's name.
locationstringThe folder it goes in (absolute): the workspace's parent folder (default) or a folder inside the workspace.
git_initbooleanRun git init in it (default false).
dry_runbooleanOnly check and show the folder (default true).

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 new_project '{"name":"<string>"}'
Input schema as JSON
{
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"description": "The new project folder's name.",
"type": "string"
},
"location": {
"description": "The folder it goes in (absolute): the workspace's parent folder (default) or a folder\ninside the workspace.",
"type": [
"string",
"null"
]
},
"git_init": {
"description": "Run `git init` in it (default false).",
"type": [
"boolean",
"null"
]
},
"dry_run": {
"description": "Only check and show the folder (default true).",
"type": [
"boolean",
"null"
]
}
}
}