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.
| Capability | execution.new_project |
|---|---|
| Area | Run, test and tasks |
| Access | changes files, repository |
| Reaches | process |
| Rights | write |
| Dry run | dry_run, on unless the call turns it off |
Arguments
| Argument | Type | Description |
|---|---|---|
namerequired | string | The new project folder's name. |
location | string | The folder it goes in (absolute): the workspace's parent folder (default) or a folder inside the workspace. |
git_init | boolean | Run git init in it (default false). |
dry_run | boolean | Only 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.
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" ] } }}