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.

29 lines (28 loc) 1.01 kB
import { ResponseFormatter } from "../../../utils/responseFormatter.js"; import { UnifiedSearchResponse } from "./types.js"; /** * Formatter for unified search responses */ export declare class UnifiedSearchFormatter implements ResponseFormatter<UnifiedSearchResponse> { format(responseData: UnifiedSearchResponse): string; /** * Capitalize the first letter of a string */ private capitalizeFirstLetter; /** * Get a visual indicator for the relevance score */ private getRelevanceIndicator; /** * Truncate text to a specified length with ellipsis */ private truncateText; } /** * Create a formatted, human-readable response for the atlas_unified_search tool * * @param data The search response data * @param isError Whether this response represents an error condition * @returns Formatted MCP tool response with appropriate structure */ export declare function formatUnifiedSearchResponse(data: UnifiedSearchResponse, isError?: boolean): any;