@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.61 kB
TypeScript
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 creation response
*/
interface BulkProjectResponse {
success: boolean;
message: string;
created: (ProjectResponse & {
properties?: any;
identity?: number;
labels?: string[];
elementId?: string;
})[];
errors: {
index: number;
project: any;
error: {
code: string;
message: string;
details?: any;
};
}[];
}
/**
* Formatter for single project creation responses
*/
export declare class SingleProjectFormatter implements ResponseFormatter<SingleProjectResponse> {
format(data: SingleProjectResponse): string;
}
/**
* Formatter for bulk project creation responses
*/
export declare class BulkProjectFormatter implements ResponseFormatter<BulkProjectResponse> {
format(data: BulkProjectResponse): string;
}
/**
* Create a formatted, human-readable response for the atlas_project_create tool
*
* @param data The raw project creation response data
* @param isError Whether this response represents an error condition
* @returns Formatted MCP tool response with appropriate structure
*/
export declare function formatProjectCreateResponse(data: any, isError?: boolean): any;
export {};