Skip to content
Merged
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/mcp/cli/claude.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""Claude app integration utilities."""

import json
import os
import sys
from pathlib import Path

Expand All @@ -17,6 +18,8 @@ def get_claude_config_path() -> Path | None:
path = Path(Path.home(), "AppData", "Roaming", "Claude")
elif sys.platform == "darwin":
path = Path(Path.home(), "Library", "Application Support", "Claude")
elif sys.platform.startswith("linux"):
path = Path(os.environ.get("XDG_CONFIG_HOME", Path.home() / ".config"), "Claude")
else:
return None

Expand Down
Loading