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

Method execute

src/mcp_cli/commands/core/exit.py:55–62  ·  view source on GitHub ↗

Execute the exit command.

(self, **kwargs)

Source from the content-addressed store, hash-verified

53 return False
54
55 async def execute(self, **kwargs) -> CommandResult:
56 """Execute the exit command."""
57 # Exit is simple - just set should_exit flag
58 return CommandResult(
59 success=True,
60 output="Goodbye!",
61 should_exit=True,
62 )

Callers

nothing calls this directly

Calls 1

CommandResultClass · 0.90

Tested by

no test coverage detected