UNPKG

git-mob-mcp-server

Version:
24 lines (23 loc) 617 B
import { clearMobSession } from "../clients/gitMobClient.js"; const name = "clear_mob_session"; const description = "Clears the active mob or pairing session."; const inputSchema = {}; const annotations = { title: "Clear Mob Session", readOnlyHint: false, destructiveHint: false, idempotentHint: true, openWorldHint: false, }; const callback = async () => { const { ok, value } = await clearMobSession(); return { isError: !ok, content: [{ type: "text", text: value }] }; }; const tool = { name, description, inputSchema, annotations, callback, }; export default tool;