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

Method display_description

src/mcp_cli/tools/models.py:227–233  ·  view source on GitHub ↗

Get description or a default based on name.

(self)

Source from the content-addressed store, hash-verified

225
226 @property
227 def display_description(self) -> str:
228 """Get description or a default based on name."""
229 # Use server-provided description if available
230 if self.description:
231 return self.description
232 # Otherwise just return a generic description
233 return f"{self.name} MCP server"
234
235 @property
236 def has_tools(self) -> bool:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected