Skip to content

Claude Desktop

Claude Desktop reads claude_desktop_config.json. The key is mcpServers. command is the binary. args is flags plus at least one allowed path.

Recommended args: --profile=strict --compact-mode --roots-mode=union. Leave --readonly off if the agent must write. Do not pass --git-network unless the agent must git push or git fetch. strict does not register git.

Windows:

{
"mcpServers": {
"filesystem": {
"command": "C:\\path\\to\\filesystem-ultra-v4.exe",
"args": [
"--profile", "strict",
"--compact-mode",
"--cache-size", "200MB",
"--parallel-ops", "8",
"--log-level", "error",
"--log-dir", "C:\\logs\\mcp-filesystem",
"--roots-mode", "union",
"C:\\your\\project\\"
]
}
}
}

Linux:

{
"mcpServers": {
"filesystem-ultra": {
"command": "/path/to/filesystem-ultra",
"args": [
"--profile", "strict",
"--compact-mode",
"--cache-size", "200MB",
"--parallel-ops", "8",
"--log-level", "error",
"--log-dir", "/home/user/.local/share/mcp-filesystem/logs",
"--roots-mode", "union",
"/home/user/projects/"
]
}
}
}

A Windows .mcpb bundle is a separate install path. See .mcpb.

OpenCode does not read this file. See OpenCode.