@pimzino/agentic-tools-mcp
Version:
A comprehensive MCP server for task management and agent memories with JSON file storage
31 lines (30 loc) • 722 B
TypeScript
import { z } from 'zod';
import { Storage } from '../../storage/storage.js';
/**
* List tasks, optionally filtered by project
*
* @param storage - Storage instance
* @returns MCP tool handler for listing tasks
*/
export declare function createListTasksTool(storage: Storage): {
name: string;
description: string;
inputSchema: {
projectId: z.ZodOptional<z.ZodString>;
};
handler: ({ projectId }: {
projectId?: string;
}) => Promise<{
content: {
type: "text";
text: string;
}[];
isError: boolean;
} | {
content: {
type: "text";
text: string;
}[];
isError?: undefined;
}>;
};