Skip to content

agent_config_export

MCP tools › Window and UI driver

Render the shared agent configuration in one agent's format (target: AGENTS.md, CLAUDE.md, GEMINI.md, Copilot, Cursor, Windsurf, Cline or Junie file); from renders one agent's files only, else the merged view. Hooks and secret-looking items are never written (hooks_not_exported, rejected). Dry run by default: file, content, needs_overwrite, changed; dry_run=false needs the write right and a trusted workspace, replaces a hand-written file only with overwrite: true, refuses targets linked outside the workspace, and is logged. Untrusted project text.

Its results carry text from files: the client is told to treat that as data, never as instructions.

Capabilityui.agent_config_export
AreaWindow and UI driver
Accesschanges files
Reaches—
Rightswrite, trusted-project
Dry rundry_run, on unless the call turns it off

Arguments

ArgumentTypeDescription
targetrequiredstringThe agent whose file is written: agents_md, claude, gemini, copilot, cursor, windsurf, cline, junie.
fromstringImport from this agent's files only (default: the merged view of all agents).
overwritebooleanReplace a target file that was written by hand (default false).default false
dry_runbooleanOnly show what would be written (default true); false writes and needs the write right and a trusted workspace.

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 agent_config_export '{"target":"<string>"}'
Input schema as JSON
{
"properties": {
"target": {
"description": "The agent whose file is written: agents_md, claude, gemini, copilot, cursor, windsurf,\ncline, junie.",
"type": "string"
},
"from": {
"description": "Import from this agent's files only (default: the merged view of all agents).",
"type": [
"string",
"null"
]
},
"overwrite": {
"description": "Replace a target file that was written by hand (default false).",
"type": "boolean",
"default": false
},
"dry_run": {
"description": "Only show what would be written (default true); false writes and needs the `write` right\nand a trusted workspace.",
"type": [
"boolean",
"null"
]
}
},
"required": [
"target"
],
"additionalProperties": false,
"type": "object"
}