mcp-think-tank
Version:
Structured thinking and knowledge management tool for Model Context Protocol
43 lines • 1.53 kB
TypeScript
import { FastMCP } from "fastmcp";
import { ServerOptions } from "http";
/**
* Enhanced scanning options for Smithery 2025 compatibility
*/
export interface ScanOptions {
scanRetryCount?: number;
scanConcurrency?: number;
asyncScanning?: boolean;
statelessMode?: boolean;
}
/**
* Creates HTTP/SSE server configuration for FastMCP
*
* @param port Server port
* @param host Host to bind to
* @param endpointPath API endpoint path
* @param serverOptions HTTP server options
* @param scanOptions Enhanced scan options
* @returns FastMCP server configuration object
*/
export declare function createHttpServerConfig(port: number, host: string, endpointPath: string, serverOptions: ServerOptions, scanOptions?: ScanOptions): any;
/**
* Configure and start server with STDIO transport
*
* @param server FastMCP server instance
*/
export declare function setupStdioTransport(server: FastMCP): void;
/**
* Configure and start server with HTTP/streamable-HTTP transport
*
* @param server FastMCP server instance
* @param isToolScanMode Whether the server is running in tool scan mode
* @param toolScanTimeout Timeout for tool scanning in milliseconds
* @param scanOptions Enhanced scan options
* @param options Configuration options
*/
export declare function setupHttpTransport(server: FastMCP, isToolScanMode: boolean, toolScanTimeout: number, scanOptions?: ScanOptions, options?: {
host?: string;
port?: number;
endpointPath?: string;
}): void;
//# sourceMappingURL=handlers.d.ts.map