MCPcopy Create free account
hub / github.com/IBM/mcp-cli / get_logs_dir

Method get_logs_dir

src/mcp_cli/utils/preferences.py:518–522  ·  view source on GitHub ↗

Get path to logs directory.

(self)

Source from the content-addressed store, hash-verified

516 return self.config_dir / "chat_history"
517
518 def get_logs_dir(self) -> Path:
519 """Get path to logs directory."""
520 logs_dir = self.config_dir / "logs"
521 logs_dir.mkdir(parents=True, exist_ok=True)
522 return logs_dir
523
524 def is_server_disabled(self, server_name: str) -> bool:
525 """Check if a server is disabled in preferences.

Callers 1

test_history_and_logsMethod · 0.95

Calls

no outgoing calls

Tested by 1

test_history_and_logsMethod · 0.76