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

Method get_runtime_server

src/mcp_cli/utils/preferences.py:595–597  ·  view source on GitHub ↗

Get a specific runtime server configuration.

(self, name: str)

Source from the content-addressed store, hash-verified

593 return self.preferences.servers.runtime_servers.copy()
594
595 def get_runtime_server(self, name: str) -> dict[str, Any] | None:
596 """Get a specific runtime server configuration."""
597 return self.preferences.servers.runtime_servers.get(name)
598
599 def is_runtime_server(self, name: str) -> bool:
600 """Check if a server is a runtime server."""

Callers 4

mainFunction · 0.80

Calls 1

getMethod · 0.45

Tested by 3