Connect Claude Desktop to any project instantly — one command, full filesystem and terminal access via MCP.
- One-command setup — Run
claude-desktop-codein any project directory - Filesystem access — Claude can read and write files in your project
- Terminal access — Execute commands, run scripts, search code
- Session snapshots — Automatic git-based snapshots of your work
- Web dashboard — View project info and snapshots at
http://localhost:11337
- Claude Desktop installed
- Node.js 18+ and npm
- Git
npm install -g claude-desktop-codeOr use npx (no install):
npx claude-desktop-codecd your-project
claude-desktop-codeThis will:
- Configure Claude Desktop with MCP servers for your project
- Start a file watcher for automatic snapshots
- Launch the web dashboard at
http://localhost:11337 - Prompt to restart Claude Desktop
| Command | Description |
|---|---|
claude-desktop-code |
Start claude-desktop-code for current project |
claude-desktop-code status |
Show current project status and recent snapshots |
claude-desktop-code clean |
Remove MCP config and session data |
After running claude-desktop-code:
- Restart Claude Desktop when prompted
- Claude will have access to your project files
- Use the terminal tool to run commands like:
ls -lanpm testgit statusgrep -r "pattern" src/
claude-desktop-code sets up two MCP servers in Claude Desktop:
- filesystem — Provides read/write access to your project directory
- terminal — Secure shell command execution within your project
Your project path is symlinked to ~/.claude-desktop-code/active-project, so Claude always accesses the correct directory.
Changes are automatically committed to a shadow git repository at ~/.claude-desktop-code/<project>/shadow.git. This lets you:
- Track history without polluting your project's git
- Revert to previous states via the web dashboard — click "↩ Revert" on any snapshot to restore your project to that point
Session data is stored in ~/.claude-desktop-code/:
~/.claude-desktop-code/
├── active-project → symlink to current project
├── terminal-mcp/ # MCP server with dependencies
│ ├── terminal-mcp.js
│ ├── package.json
│ └── node_modules/
└── <project-slug>/ # Per-project data
├── shadow.git/ # Snapshot repository
└── ...
- macOS, Linux, or Windows (WSL)
- Node.js >= 18
- Git
MIT