Install socraticode for Claude Desktop
Claude Desktop reads mcpServers from claude_desktop_config.json. Restart the app after saving.
- Open ~/Library/Application Support/Claude/claude_desktop_config.json on macOS, %APPDATA%\Claude\claude_desktop_config.json on Windows, or ~/.config/Claude/claude_desktop_config.json on Linux.
- Paste the JSON config below.
- Replace placeholder secrets, then restart the client if it does not reload on its own.
~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"giancarloerra-socraticode": {
"command": "npx",
"args": [
"-y",
"socraticode@1.16.1"
],
"env": {
"EMBEDDING_PROVIDER": "",
"OPENAI_API_KEY": "YOUR_OPENAI_API_KEY",
"GOOGLE_API_KEY": "YOUR_GOOGLE_API_KEY",
"OLLAMA_URL": "",
"EMBEDDING_MODEL": "",
"EMBEDDING_DIMENSIONS": "",
"OLLAMA_MODE": "",
"OLLAMA_API_KEY": "YOUR_OLLAMA_API_KEY",
"LMSTUDIO_URL": "",
"LMSTUDIO_API_KEY": "YOUR_LMSTUDIO_API_KEY",
"LMSTUDIO_ALLOW_MISSING_MODEL_LISTING": "",
"LITELLM_URL": "",
"LITELLM_API_KEY": "YOUR_LITELLM_API_KEY",
"LITELLM_SEND_DIMENSIONS": "",
"QDRANT_MODE": "",
"QDRANT_URL": "",
"QDRANT_API_KEY": "YOUR_QDRANT_API_KEY"
}
}
}
}