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

Function main

examples/tools/demo_tool_execution.py:224–238  ·  view source on GitHub ↗

Main entry point.

()

Source from the content-addressed store, hash-verified

222
223
224async def main():
225 """Main entry point."""
226 try:
227 # Set a nice theme
228 set_theme("default")
229
230 await demo_tool_execution()
231
232 except KeyboardInterrupt:
233 output.warning("\nDemo interrupted by user")
234 except Exception as e:
235 output.error(f"Demo error: {e}")
236 import traceback
237
238 traceback.print_exc()
239
240
241if __name__ == "__main__":

Callers 1

Calls 1

demo_tool_executionFunction · 0.85

Tested by

no test coverage detected