- Explore MCP Servers
- claude-desktop-multi-instance
Claude Desktop Multi Instance
What is Claude Desktop Multi Instance
claude-desktop-multi-instance is a tool that allows users to run multiple instances of the Claude Desktop application simultaneously on macOS, each with its own independent configurations, accounts, and MCP server settings.
Use cases
Use cases include running separate instances for work and personal use, testing different configurations without interference, and facilitating collaboration by allowing multiple users to access different instances on the same machine.
How to use
To use claude-desktop-multi-instance, clone the repository from GitHub, navigate to the project directory, and follow the setup instructions provided in the README. You can launch different instances using Spotlight search or directly from the Launchpad.
Key features
Key features include multi-instance management, custom display names for each instance in the Dock, independent configurations for each instance, app wrappers for easy access, Spotlight integration for quick launching, smart diagnostics for troubleshooting, and a user-friendly interface.
Where to use
claude-desktop-multi-instance is ideal for users who need to manage multiple accounts or configurations of the Claude Desktop application, such as professionals balancing work and personal accounts, or developers testing different setups.
Overview
What is Claude Desktop Multi Instance
claude-desktop-multi-instance is a tool that allows users to run multiple instances of the Claude Desktop application simultaneously on macOS, each with its own independent configurations, accounts, and MCP server settings.
Use cases
Use cases include running separate instances for work and personal use, testing different configurations without interference, and facilitating collaboration by allowing multiple users to access different instances on the same machine.
How to use
To use claude-desktop-multi-instance, clone the repository from GitHub, navigate to the project directory, and follow the setup instructions provided in the README. You can launch different instances using Spotlight search or directly from the Launchpad.
Key features
Key features include multi-instance management, custom display names for each instance in the Dock, independent configurations for each instance, app wrappers for easy access, Spotlight integration for quick launching, smart diagnostics for troubleshooting, and a user-friendly interface.
Where to use
claude-desktop-multi-instance is ideal for users who need to manage multiple accounts or configurations of the Claude Desktop application, such as professionals balancing work and personal accounts, or developers testing different setups.
Content
Claude Desktop Multi-Instance Launcher
๐ Run multiple Claude Desktop instances simultaneously on macOS with independent configurations, accounts, and MCP server settings
๐ Documentation Language / ๆๆกฃ่ฏญ่จ:
- English: You are reading the English version
- ไธญๆ: ไธญๆๆๆกฃ (Chinese Documentation)
๐ธ Screenshots
Multi-Window Running Effect
Spotlight Search Integration
Use Spotlight (โ+Space) to quickly find and launch different Claude instances. Each app wrapper shows up as a separate application that maintains its login state and configuration.
Custom Display Names in Dock
When hovering over icons in the Dock, each instance displays its own custom name instead of just โClaudeโ
โจ Features
- ๐ Multi-Instance Management - Run multiple independent Claude Desktop instances on the same machine
- ๐ท๏ธ Custom Display Names - Show different app names in Dock (e.g., โClaude Workโ, โClaude Personalโ)
- โ๏ธ Independent Configurations - Each instance has its own MCP server config and login credentials
- ๐ฑ App Wrappers - Create independent app icons for direct Launchpad access
- ๐ Spotlight Integration - Find and launch instances quickly using Spotlight search (โ+Space)
- ๐ ๏ธ Smart Diagnostics - Built-in problem diagnosis and repair tools
- ๐ก User-Friendly - Both interactive menu and command-line interfaces
๐ System Requirements
- macOS 11 (Big Sur) or later
- Claude Desktop app (download from claude.ai/download)
- Bash shell (built into macOS)
๐ Quick Start
1. Download and Setup
# Clone the repository
git clone https://github.com/weidwonder/claude-desktop-multi-instance.git
cd claude-desktop-multi-instance
# Make script executable
chmod +x claude_quick.sh
Or download the script directly:
# Download single script file
curl -O https://raw.githubusercontent.com/weidwonder/claude-desktop-multi-instance/main/claude_quick.sh
chmod +x claude_quick.sh
2. First Use
# Run script to show menu
./claude_quick.sh
# Or directly create and launch an instance
./claude_quick.sh work
๐ Usage Guide
Interactive Menu Mode
Run ./claude_quick.sh
to display the menu:
====================================== Claude Desktop Quick Launcher ====================================== Available options: 1. Launch default instance 2. Select existing instance 3. Create new instance 4. Delete specified instance 5. Create app wrapper (independent icon) 6. Restore original configuration 7. Diagnose problems 8. Fix wrappers
Command Line Mode
# Launch or create instance
./claude_quick.sh [instance_name]
# Management commands
./claude_quick.sh list # List all instances
./claude_quick.sh delete [instance] # Delete instance
./claude_quick.sh wrapper [instance] # Create app wrapper
./claude_quick.sh diagnose # Diagnose problems
./claude_quick.sh fix # Fix wrappers
./claude_quick.sh restore # Restore original config
๐ผ Use Cases
Scenario 1: Separate Work and Personal Accounts
# Create work instance
./claude_quick.sh work
# Login with work account, configure work-related MCP servers
# Create personal instance
./claude_quick.sh personal
# Login with personal account, configure personal MCP servers
Scenario 2: Different Project Configurations
# Project A - with filesystem and web search MCP
./claude_quick.sh project-a
# Project B - with database and API MCP
./claude_quick.sh project-b
# Development environment - with Git and testing tools MCP
./claude_quick.sh dev
Scenario 3: Create App Wrappers
# Create independent app icon for work instance
./claude_quick.sh wrapper work
# Enter display name: Claude Work
# Now you can launch "Claude Work" directly from Launchpad or Spotlight
# It will show as "Claude Work" instead of "Claude" in Dock
# Each wrapper maintains its own login state and configuration
๐ File Structure
~/.claude-instances/ # Instance data directory โโโ work/ # Work instance โ โโโ Application Support/Claude/ โ โโโ claude_desktop_config.json โโโ personal/ # Personal instance โ โโโ Application Support/Claude/ โ โโโ claude_desktop_config.json โโโ scripts/ # Helper scripts โโโ restore.sh # Quick restore config โโโ list.sh # List all instances /Applications/ # App wrappers โโโ Claude.app # Original app โโโ Claude-work.app # Work instance wrapper โโโ Claude-personal.app # Personal instance wrapper
๐ง Troubleshooting
Issue: App wrapper wonโt launch
Solution:
# 1. Run diagnostics
./claude_quick.sh diagnose
# 2. Fix wrappers
./claude_quick.sh fix
# 3. If still not working, recreate
rm -rf /Applications/Claude-work.app
./claude_quick.sh wrapper work
Issue: Claude Desktop not found
Solution:
- Ensure Claude Desktop is downloaded and properly installed from claude.ai/download
- Confirm the app is located at
/Applications/Claude.app
- Run
./claude_quick.sh diagnose
to check installation status
Issue: Instance configuration lost
Solution:
# Restore original configuration
./claude_quick.sh restore
# Check backup files
ls -la ~/Library/Application\ Support/Claude.backup.*
Issue: Icon display problems
Solution:
# Fix icons
./claude_quick.sh fix
# Or recreate app wrapper
./claude_quick.sh wrapper [instance_name]
๐ Command Reference
Command | Description | Example |
---|---|---|
./claude_quick.sh |
Show interactive menu | ./claude_quick.sh |
./claude_quick.sh [instance] |
Launch or create instance | ./claude_quick.sh work |
./claude_quick.sh list |
List all instances | ./claude_quick.sh list |
./claude_quick.sh delete [instance] |
Delete specified instance | ./claude_quick.sh delete old |
./claude_quick.sh wrapper [instance] |
Create app wrapper | ./claude_quick.sh wrapper work |
./claude_quick.sh diagnose |
Diagnose problems | ./claude_quick.sh diagnose |
./claude_quick.sh fix |
Fix wrappers | ./claude_quick.sh fix |
./claude_quick.sh restore |
Restore original config | ./claude_quick.sh restore |
๐ Security Considerations
- Configuration Backup: Script automatically backs up original configs, but manual backups are recommended
- Sensitive Information: Each instance stores login information independently
- Permission Control: App wrappers use the same permissions as original Claude app
- Data Isolation: Different instancesโ data is completely isolated
โ Frequently Asked Questions
Q: Can I run multiple instances simultaneously?
A: No. macOS limits to one Claude Desktop instance at a time, but you can quickly switch between them.
Q: Will chat history sync between instances?
A: No. Different instances use different accounts, so chat history wonโt sync.
Q: How do I backup instance configurations?
A: Copy the ~/.claude-instances/[instance_name]
directory to backup the entire instance configuration.
Q: Can I import/export MCP configurations?
A: Yes. Copy the claude_desktop_config.json
file to share MCP configurations between instances.
๐ค Technical Support
If you encounter issues:
- First run
./claude_quick.sh diagnose
for automatic diagnosis - Check the troubleshooting section in this document
- Ensure Claude Desktop app is the latest version
- Check macOS system version compatibility
๐ License
MIT License - Free to use and modify
๐ก Tip: This tool is especially useful for users who need to manage multiple Claude accounts or different MCP server configurations simultaneously. Each instance is completely independent and can be safely used in different work environments.