atlas-mcp-server
Version:
ATLAS (Adaptive Task & Logic Automation System): An MCP server enabling LLM agents to manage projects, tasks, and knowledge via a Neo4j-backed, three-tier architecture. Facilitates complex workflow automation and project management through LLM Agents.
52 lines (51 loc) • 1.53 kB
TypeScript
/**
* Defines a generic interface for formatting data into a string.
*/
interface ResponseFormatter<T> {
format(data: T): string;
}
/**
* Interface for single task deletion response
*/
interface SingleTaskDeleteResponse {
id: string;
success: boolean;
message: string;
}
/**
* Interface for bulk task deletion response
*/
interface BulkTaskDeleteResponse {
success: boolean;
message: string;
deleted: string[];
errors: {
taskId: string;
error: {
code: string;
message: string;
details?: any;
};
}[];
}
/**
* Formatter for individual task removal responses
*/
export declare class SingleTaskDeleteFormatter implements ResponseFormatter<SingleTaskDeleteResponse> {
format(data: SingleTaskDeleteResponse): string;
}
/**
* Formatter for batch task removal responses
*/
export declare class BulkTaskDeleteFormatter implements ResponseFormatter<BulkTaskDeleteResponse> {
format(data: BulkTaskDeleteResponse): string;
}
/**
* Create a human-readable formatted response for the atlas_task_delete tool
*
* @param data The structured task removal operation results (SingleTaskDeleteResponse or BulkTaskDeleteResponse)
* @param isError This parameter is effectively ignored as success is determined from data.success. Kept for signature consistency if needed.
* @returns Formatted MCP tool response with appropriate structure
*/
export declare function formatTaskDeleteResponse(data: any, isError?: boolean): any;
export {};