Appearance
Why It Matters
An MCP launcher that edits shell startup files can establish persistence outside the repository and affect future terminal sessions.
What Triggers
SEC639 matches MCP command definitions that write to .bashrc, .bash_profile, .zshrc, or .profile, either through redirection in a command string or through tee plus a matching target path in structured args.
False Positives
Dotfile-management systems are the main exception, but shared MCP launch config is generally the wrong place to mutate host startup files.
Remediation
Remove the startup-file write from the MCP config. Prefer repo-local state or an explicit, separately reviewed install step for host shell configuration.