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

Method reset_preferences

src/mcp_cli/utils/preferences.py:509–512  ·  view source on GitHub ↗

Reset all preferences to defaults.

(self)

Source from the content-addressed store, hash-verified

507 self.save_preferences()
508
509 def reset_preferences(self) -> None:
510 """Reset all preferences to defaults."""
511 self.preferences = MCPPreferences()
512 self.save_preferences()
513
514 def get_history_file(self) -> Path:
515 """Get path to chat history file."""

Callers 1

Calls 2

save_preferencesMethod · 0.95
MCPPreferencesClass · 0.85

Tested by 1