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.

62 lines (61 loc) 1.72 kB
import { ResponseFormatter } from "../../../utils/responseFormatter.js"; /** * Interface for a single knowledge item response */ interface SingleKnowledgeResponse { id: string; projectId: string; text: string; tags?: string[]; domain: string; citations?: string[]; createdAt: string; updatedAt: string; properties?: any; identity?: number; labels?: string[]; elementId?: string; } /** * Interface for bulk knowledge addition response */ interface BulkKnowledgeResponse { success: boolean; message: string; created: (SingleKnowledgeResponse & { properties?: any; identity?: number; labels?: string[]; elementId?: string; })[]; errors: { index: number; knowledge: any; error: { code: string; message: string; details?: any; }; }[]; } /** * Formatter for single knowledge item addition responses */ export declare class SingleKnowledgeFormatter implements ResponseFormatter<SingleKnowledgeResponse> { format(data: SingleKnowledgeResponse): string; } /** * Formatter for bulk knowledge addition responses */ export declare class BulkKnowledgeFormatter implements ResponseFormatter<BulkKnowledgeResponse> { format(data: BulkKnowledgeResponse): string; } /** * Create a formatted, human-readable response for the atlas_knowledge_add tool * * @param data The raw knowledge addition response data * @param isError Whether this response represents an error condition * @returns Formatted MCP tool response with appropriate structure */ export declare function formatKnowledgeAddResponse(data: any, isError?: boolean): any; export {};