@civic/hub-bridge
Version:
Stdio <-> HTTP/SSE MCP bridge with Civic auth handling
19 lines • 600 B
TypeScript
/**
* logout.ts
*
* Tool for logging out from Civic by clearing locally stored tokens.
* This tool is handled locally by the hub bridge and doesn't
* forward the request to the remote server.
*/
import type { LocalToolHandler } from "../types.js";
import type { Tool } from "@modelcontextprotocol/sdk/types.js";
/**
* Tool definition for logout tool
*/
export declare const logoutTool: Tool;
/**
* Handler for the logout tool
* Clears all locally stored tokens and returns a success/error message
*/
export declare const handleLogout: LocalToolHandler;
//# sourceMappingURL=logout.d.ts.map