# JSON Configuration Merge Guide for Claude Desktop
## π― Quick Answer
Add `dollhousemcp` INSIDE the existing `mcpServers` object, as a sibling to other servers.
## π Visual Guide
### β WRONG - Don't do this:
```json
{
"globalShortcut": "Alt+Ctrl+Cmd+2",
"mcpServers": {
"whois": {
"command": "npx",
"args": ["-y", "@bharathvaj/whois-mcp@latest"]
}
},
"mcpServers": {
"dollhousemcp": {
"command": "npx",
"args": ["@mickdarling/dollhousemcp"]
}
}
}
```
β This creates duplicate `mcpServers` keys - JSON doesn't allow this!
### β WRONG - Don't do this either:
```json
{
"globalShortcut": "Alt+Ctrl+Cmd+2",
"mcpServers": {
"whois": {
"command": "npx",
"args": ["-y", "@bharathvaj/whois-mcp@latest"]
},
"mcpServers": {
"dollhousemcp": {
"command": "npx",
"args": ["@mickdarling/dollhousemcp"]
}
}
}
}
```
β This nests `mcpServers` inside `mcpServers` - wrong level!
### β
CORRECT - Do this:
```json
{
"globalShortcut": "Alt+Ctrl+Cmd+2",
"mcpServers": {
"whois": {
"command": "npx",
"args": ["-y", "@bharathvaj/whois-mcp@latest"]
},
"dollhousemcp": {
"command": "npx",
"args": ["@mickdarling/dollhousemcp"]
}
}
}
```
β
Both servers are siblings inside the same `mcpServers` object!
## π Understanding the Structure
```
{ β Root level
"globalShortcut": "...", β Root property
"mcpServers": { β Root property (container for ALL servers)
"whois": {...}, β First server (inside mcpServers)
"dollhousemcp": {...} β Second server (inside mcpServers)
} β End of mcpServers
} β End of root
```
## π Step-by-Step Instructions
1. **Find the closing brace `}` of your existing server** (whois in this case)
2. **Add a comma `,` after that closing brace**
3. **Add the new server configuration on the next line**
4. **Make sure you're still inside the `mcpServers` object**
## π¨ Visual Levels
```
Level 0: { β File root
Level 1: "mcpServers": { β All servers go here
Level 2: "whois": { β Individual server
Level 3: "command": "npx", β Server settings
Level 3: "args": [...]
Level 2: }, β End of whois
Level 2: "dollhousemcp": { β Another server (same level as whois!)
Level 3: "command": "npx", β Server settings
Level 3: "args": [...]
Level 2: } β End of dollhousemcp
Level 1: } β End of mcpServers
Level 0: } β End of file
```
## π‘ Pro Tips
1. **Use a JSON validator** to check your syntax: https://jsonlint.com/
2. **Count your braces** - every `{` needs a matching `}`
3. **Watch your commas** - every item except the last needs a comma
4. **Use a code editor** with JSON syntax highlighting
## π¨ Common Mistakes
- **Missing comma** after the previous server
- **Extra comma** after the last server
- **Wrong nesting level** - adding at root instead of inside mcpServers
- **Duplicate keys** - having two `mcpServers` objects
## π οΈ Your Specific Configuration
Here's exactly what your file should look like after adding DollhouseMCP:
```json
{
"globalShortcut": "Alt+Ctrl+Cmd+2",
"mcpServers": {
"whois": {
"command": "npx",
"args": [
"-y",
"@bharathvaj/whois-mcp@latest"
]
},
"dollhousemcp": {
"command": "npx",
"args": ["@mickdarling/dollhousemcp"]
}
}
}
```
Save this file and restart Claude Desktop!