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.69 kB
import { ProjectResponse } from "../../../types/mcp.js"; import { ResponseFormatter } from "../../../utils/responseFormatter.js"; /** * Extends the ProjectResponse to include Neo4j properties structure */ interface SingleProjectResponse extends ProjectResponse { properties?: any; identity?: number; labels?: string[]; elementId?: string; } /** * Interface for bulk project update response */ interface BulkProjectResponse { success: boolean; message: string; updated: (ProjectResponse & { properties?: any; identity?: number; labels?: string[]; elementId?: string; })[]; errors: { index: number; project: { id: string; updates: any; }; error: { code: string; message: string; details?: any; }; }[]; } /** * Formatter for individual project modification responses */ export declare class SingleProjectUpdateFormatter implements ResponseFormatter<SingleProjectResponse> { format(data: SingleProjectResponse): string; } /** * Formatter for bulk project update responses */ export declare class BulkProjectUpdateFormatter implements ResponseFormatter<BulkProjectResponse> { format(data: BulkProjectResponse): string; } /** * Create a formatted, human-readable response for the atlas_project_update tool * * @param data The raw project modification response * @param isError Whether this response represents an error condition * @returns Formatted MCP tool response with appropriate structure */ export declare function formatProjectUpdateResponse(data: any, isError?: boolean): any; export {};