Skip to content

Commit 646b647

Browse files
committed
feat: add support for Linux configuration path in get_claude_config_path
1 parent 3e0ab1e commit 646b647

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/mcp/cli/claude.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ def get_claude_config_path() -> Path | None:
1717
path = Path(Path.home(), "AppData", "Roaming", "Claude")
1818
elif sys.platform == "darwin":
1919
path = Path(Path.home(), "Library", "Application Support", "Claude")
20+
elif sys.platform.startswith("linux"):
21+
path = Path(Path.home(), ".config", "Claude")
2022
else:
2123
return None
2224

0 commit comments

Comments
 (0)