Can I change the folder where Cline stores Rules, Workflows, and MCP configs?
Cline (VS Code extension) stores Rules, Workflows, and MCP configuration files in a fixed location, ~/Documents/Cline. I'd like to keep these files in a Git repository or a cloud-synced folder, and my Documents folder is also restricted by corporate policy. Is there a setting to change the root path for these user files?
Originally asked on GitHub: https://github.com/cline/cline/issues/4561
2 answers
Here is the rewritten Q&A post with every unsupported claim fixed.
Did this work for you?What a GitHub user tried on GitHub (Outcome unclear)
The reporter proposed adding a
cline.customRootPathVS Code global setting (default "~/Documents"), agetCustomRootPath()utility that falls back togetDocumentsPath(), and updatingensureRulesDirectoryExists(),ensureWorkflowsDirectoryExists(), andensureMcpServersDirectoryExists(). A PR was submitted for it and the issue was closed as COMPLETED, but the thread does not confirm the final implementation or that the approach worked.Source: https://github.com/cline/cline/issues/4561 (opens external site)
Did this work for you?