UNPKG

@mseep/atlas-mcp-server

Version:

A Model Context Protocol (MCP) server for ATLAS, a Neo4j-powered task management system for LLM Agents - implementing a three-tier architecture (Projects, Tasks, Knowledge) to manage complex workflows.

58 lines (57 loc) 1.62 kB
import { TaskResponse } from "../../../types/mcp.js"; import { ResponseFormatter } from "../../../utils/responseFormatter.js"; /** * Extends the TaskResponse to include Neo4j properties structure */ interface SingleTaskResponse extends TaskResponse { properties?: any; identity?: number; labels?: string[]; elementId?: string; } /** * Interface for bulk task update response */ interface BulkTaskResponse { success: boolean; message: string; updated: (TaskResponse & { properties?: any; identity?: number; labels?: string[]; elementId?: string; })[]; errors: { index: number; task: { id: string; updates: any; }; error: { code: string; message: string; details?: any; }; }[]; } /** * Formatter for individual task update responses */ export declare class SingleTaskUpdateFormatter implements ResponseFormatter<SingleTaskResponse> { format(data: SingleTaskResponse): string; } /** * Formatter for bulk task update responses */ export declare class BulkTaskUpdateFormatter implements ResponseFormatter<BulkTaskResponse> { format(data: BulkTaskResponse): string; } /** * Create a formatted, human-readable response for the atlas_task_update tool * * @param data The raw task update response * @param isError Whether this response represents an error condition * @returns Formatted MCP tool response with appropriate structure */ export declare function formatTaskUpdateResponse(data: any, isError?: boolean): any; export {};