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

Method has_tools

src/mcp_cli/tools/models.py:236–238  ·  view source on GitHub ↗

Check if server has any tools.

(self)

Source from the content-addressed store, hash-verified

234
235 @property
236 def has_tools(self) -> bool:
237 """Check if server has any tools."""
238 return self.tool_count > 0
239
240 def get_capabilities_typed(self) -> ServerCapabilities:
241 """Get capabilities as typed ServerCapabilities object."""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected