Originally created by: Avazbek22
Two sibling startup flags that make the exclusions section flexible for MCP without any config files. The ceiling principle stays intact: the human authors the server command line, and agent parameters can only do what that line allows.
devprojex mcp --exclude ... (baseline). Set the exclusion toggles for the server baseline directly on the mcpServers args line — the same tokens the CLI and TUI already speak (smart-ignore, empty-folders, empty-files, hidden-folders, hidden-files, dot-folders, dot-files, extensionless-files). Same design family as --git-mode shipped in v5.1: one line in the config the user already writes, no profile files.
devprojex mcp --agent-exclusions (delegation). Opt-in that adds an exclusions parameter to the selection tools so the agent can control the exclusions section itself — down to the regular toggles and smart-ignore. Without the flag the parameter does not exist in the schema at all (the tool catalog is built at startup), so a default server keeps today's narrowing-only contract unchanged.
hide-secrets and hide-private-data never appear in any schema, in any mode. Delegation covers file visibility, never content redaction.set targets — nothing new to invent or freeze.profile argument (the v5.1 precedent: startup baseline applies only when no profile is passed).{"smart-ignore": false, ...}) vs a toggle list; which selection tools carry it.none|gitignore|tracked) or stays exclusions-only.