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

Method get_trusted_domains

src/mcp_cli/utils/preferences.py:398–400  ·  view source on GitHub ↗

Get the list of trusted domains.

(self)

Source from the content-addressed store, hash-verified

396 return False
397
398 def get_trusted_domains(self) -> list[str]:
399 """Get the list of trusted domains."""
400 return list(self.preferences.ui.tool_confirmation.trusted_domains)
401
402 def add_trusted_domain(self, domain: str) -> None:
403 """Add a trusted domain.

Callers 5

test_persistenceMethod · 0.95

Calls

no outgoing calls

Tested by 5

test_persistenceMethod · 0.76