mcp-think-tank
Version:
Structured thinking and knowledge management tool for Model Context Protocol
22 lines • 905 B
TypeScript
import { FastMCP, Tool } from 'fastmcp';
/**
* Creates a wrapped tool that uses the ToolManager for tracking and limits
* @param tool The FastMCP tool to wrap
* @param agentId The ID of the agent calling the tool
* @returns A wrapped tool with the same interface
*/
export declare function createManagedTool(tool: Tool<any, any>, agentId?: string): Tool<any, any>;
/**
* Wrap FastMCP's addTool method to use the ToolManager
* @param server The FastMCP server instance
* @param defaultAgentId The default agent ID to use if not provided
*/
export declare function wrapFastMCP(server: FastMCP, defaultAgentId?: string): void;
export declare namespace wrapFastMCP {
var toolCache: Map<string, Tool<any, any>>;
}
/**
* Install the required dependencies if they're not already installed
*/
export declare function ensureDependencies(): Promise<void>;
//# sourceMappingURL=FastMCPAdapter.d.ts.map