-
-
Notifications
You must be signed in to change notification settings - Fork 78
Open
Labels
Description
It would be good to support Claude Desktop for Linux. This can be done as follows:
$ git diff mcp_client_for_ollama/utils/constants.py
...
"""Constants used throughout the MCP Client for Ollama application."""
import os
+import platform
# Default Claude config file location
-DEFAULT_CLAUDE_CONFIG = os.path.expanduser("~/Library/Application Support/Claude/claude_desktop_config.json")
+DEFAULT_CLAUDE_CONFIG = (
+ os.path.expanduser("~/Library/Application Support/Claude/claude_desktop_config.json")
+ if platform.system() != 'Linux'
+ else os.path.expanduser("~/.config/Claude/claude_desktop_config.json"))
# Default config directory and filename for MCP client for Ollama
DEFAULT_CONFIG_DIR = os.path.expanduser("~/.config/ollmcp")
Reactions are currently unavailable