Skip to content

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.

Capabilitycode.project_dictionary
AreaCode insight and refactoring
Accesschanges files
Reaches—
Rightswrite
Dry rundry_run, on unless the call turns it off

Arguments

ArgumentTypeDescription
addarray of stringWords to add; none only lists.default []
dry_runbooleanOnly 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.

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