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

Method ping_server

examples/commands/command_system_demo.py:88–90  ·  view source on GitHub ↗

Mock ping a server.

(self, server_name: str)

Source from the content-addressed store, hash-verified

86 ]
87
88 async def ping_server(self, server_name: str) -> float:
89 """Mock ping a server."""
90 return 5.2 # ms
91
92 def enable_tool(self, tool_name: str):
93 """Enable a tool."""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected