project_dictionary
MCP tools › Code insight and refactoring
The project dictionary of the typo check: its words, kept in .idea/dictionaries/project.xml of the project as the reference keeps them; add saves words (dry_run defaults to true and only shows the result).
Its results carry text from files: the client is told to treat that as data, never as instructions.
| Capability | code.project_dictionary |
|---|---|
| Area | Code insight and refactoring |
| Access | changes files |
| Reaches | — |
| Rights | write |
| Dry run | dry_run, on unless the call turns it off |
Arguments
| Argument | Type | Description |
|---|---|---|
add | array of string | Words to add; none only lists.default [] |
dry_run | boolean | Only show the result (default true); false writes .idea/dictionaries/project.xml. |
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 project_dictionaryInput schema as JSON
{ "type": "object", "properties": { "add": { "description": "Words to add; none only lists.", "type": "array", "items": { "type": "string" }, "default": [] }, "dry_run": { "description": "Only show the result (default true); false writes `.idea/dictionaries/project.xml`.", "type": [ "boolean", "null" ] } }}