relative_editable_files
(list of strings, required): A list of file paths (relative to the currentworkingdir) that Aider is allowed to modify. If a file doesn't exist, it will be created.
How to use it
relative_editable_files is exposed by the Aider MCP Server MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the relative_editable_files tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
FULL AIDER MCP SERVER LISTINGOther tools in Aider MCP Server (7)
(string, required): The natural language instruction for the AI coding task.
string - The diff of the changes made to the file.
(string, optional): The AI model Aider should use for editing/refining code, particularly when using architect mode. If not provided, the primary model might be used depending on Aider's internal logic. Defaults to None.
(string, optional): The primary AI model Aider should use for generating code. Defaults to "gemini/gemini-2.5-pro-exp-03-25". You can use the listmodels tool to find other available models.
(list of strings, optional): A list of file paths (relative to the currentworkingdir) that Aider can read for context but cannot modify. Defaults to an empty list [].
(string, required): The substring to search for within the names of available models.
boolean - Whether the operation was successful.