Install Ollama / vLLM Bridge 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": {
"setheerwagen-mcp-ollama-vllm": {
"command": "uvx",
"args": [
"mcp-ollama-vllm"
],
"env": {
"LOCAL_BACKEND": "ollama",
"LOCAL_HOST": "",
"LOCAL_API_KEY": "YOUR_LOCAL_API_KEY",
"LOCAL_TIMEOUT": "600",
"LOCAL_EMBED_MODEL": "nomic-embed-text",
"LOCAL_EMBED_PATH": "/v1/embeddings",
"LOCAL_SCHEMA_MODE": "auto"
}
}
}
}