UNPKG

@hauptsache.net/clickup-mcp

Version:

Search, create, and retrieve tasks, add comments, and track time through natural language commands.

23 lines 892 B
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js"; import { CallToolResult } from "@modelcontextprotocol/sdk/types"; /** * A simple utility to test MCP tools directly without using the StdioServerTransport */ export declare class ToolTester { private server; constructor(server: McpServer); /** * Test a tool by name with the provided parameters * @param toolName The name of the tool to test * @param params The parameters to pass to the tool * @returns A promise that resolves to the tool's result */ testTool(toolName: string, params: Record<string, any>): Promise<CallToolResult>; } /** * Create a tool tester for the provided server * @param server The MCP server instance * @returns A ToolTester instance */ export declare function createToolTester(server: McpServer): ToolTester; //# sourceMappingURL=test-utils.d.ts.map