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.59 kB
TypeScript
/**
* Defines a generic interface for formatting data into a string.
*/
interface ResponseFormatter<T> {
format(data: T): string;
}
/**
* Interface for single project deletion response
*/
interface SingleProjectDeleteResponse {
id: string;
success: boolean;
message: string;
}
/**
* Interface for bulk project deletion response
*/
interface BulkProjectDeleteResponse {
success: boolean;
message: string;
deleted: string[];
errors: {
projectId: string;
error: {
code: string;
message: string;
details?: any;
};
}[];
}
/**
* Formatter for individual project removal responses
*/
export declare class SingleProjectDeleteFormatter implements ResponseFormatter<SingleProjectDeleteResponse> {
format(data: SingleProjectDeleteResponse): string;
}
/**
* Formatter for batch project removal responses
*/
export declare class BulkProjectDeleteFormatter implements ResponseFormatter<BulkProjectDeleteResponse> {
format(data: BulkProjectDeleteResponse): string;
}
/**
* Create a human-readable formatted response for the atlas_project_delete tool
*
* @param data The structured project removal operation results (SingleProjectDeleteResponse or BulkProjectDeleteResponse)
* @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 formatProjectDeleteResponse(data: any, isError?: boolean): any;
export {};