mcp-think-tank
Version:
Structured thinking and knowledge management tool for Model Context Protocol
29 lines • 826 B
TypeScript
import { FastMCP } from "fastmcp";
import { ProcessInfo } from "../utils/process.js";
export declare const serverState: {
connectionCount: number;
inactivityTimer: NodeJS.Timeout | null;
connectionCheckTimer: NodeJS.Timeout | null;
processInfo: ProcessInfo | null;
httpServer: any;
};
/**
* Initialize the server
* @returns Initialized FastMCP server
*/
export declare function initializeServer(): Promise<FastMCP>;
/**
* Reset the inactivity timer
*/
export declare function resetInactivityTimer(): void;
/**
* Graceful shutdown function
*/
export declare function gracefulShutdown(): void;
/**
* Log a message
* @param message Message to log
*/
export declare function log(message: string): void;
export declare const safeErrorLog: (message: string) => void;
//# sourceMappingURL=index.d.ts.map