@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.
55 lines (54 loc) • 1.55 kB
TypeScript
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 creation response
*/
interface BulkTaskResponse {
success: boolean;
message: string;
created: (TaskResponse & {
properties?: any;
identity?: number;
labels?: string[];
elementId?: string;
})[];
errors: {
index: number;
task: any;
error: {
code: string;
message: string;
details?: any;
};
}[];
}
/**
* Formatter for single task creation responses
*/
export declare class SingleTaskFormatter implements ResponseFormatter<SingleTaskResponse> {
format(data: SingleTaskResponse): string;
}
/**
* Formatter for bulk task creation responses
*/
export declare class BulkTaskFormatter implements ResponseFormatter<BulkTaskResponse> {
format(data: BulkTaskResponse): string;
}
/**
* Create a formatted, human-readable response for the atlas_task_create tool
*
* @param data The raw task creation response data
* @param isError Whether this response represents an error condition
* @returns Formatted MCP tool response with appropriate structure
*/
export declare function formatTaskCreateResponse(data: any, isError?: boolean): any;
export {};