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.

24 lines (23 loc) 1.43 kB
import { McpToolResponse } from "../../../types/mcp.js"; import { ResponseFormatter } from "../../../utils/responseFormatter.js"; import { AtlasDeepResearchInput, DeepResearchResult } from "./types.js"; /** * Base response formatter for the `atlas_deep_research` tool. * This formatter provides a basic structure for the output, primarily using * the data returned by the core `deepResearch` function. * It's designed to be used within `formatDeepResearchResponse` which adds * contextual information from the original tool input. */ export declare const DeepResearchBaseFormatter: ResponseFormatter<DeepResearchResult>; /** * Creates the final formatted `McpToolResponse` for the `atlas_deep_research` tool. * This function takes the raw result from the core logic (`deepResearch`) and the * original tool input, then uses a *contextual* formatter to generate the final * Markdown output. The contextual formatter enhances the base format by including * details from the input (like topic, goal, scope, tags, and search queries). * * @param rawData - The `DeepResearchResult` object returned by the `deepResearch` function. * @param input - The original `AtlasDeepResearchInput` provided to the tool. * @returns The final `McpToolResponse` object ready to be sent back to the client. */ export declare function formatDeepResearchResponse(rawData: DeepResearchResult, input: AtlasDeepResearchInput): McpToolResponse;