@aashari/mcp-server-atlassian-confluence
Version:
Node.js/TypeScript MCP server for Atlassian Confluence. Provides tools enabling AI systems (LLMs) to list/get spaces & pages (content formatted as Markdown) and search via CQL. Connects AI seamlessly to Confluence knowledge bases using the standard MCP in
22 lines (21 loc) • 807 B
TypeScript
/**
* Formatter for Confluence comments
*/
import { CommentData } from '../services/vendor.atlassian.comments.types.js';
/**
* Extended CommentData interface with the converted markdown body and highlighted text
*/
interface CommentWithMarkdown extends CommentData {
convertedMarkdownBody: string;
highlightedText?: string;
}
/**
* Format a list of comments for display
*
* @param commentsData - Raw comments data from the API with pre-converted markdown content
* @param pageId - ID of the page the comments belong to
* @param baseUrl - Base URL for constructing comment links
* @returns Formatted string with comments information in markdown format
*/
export declare function formatCommentsList(commentsData: CommentWithMarkdown[], pageId: string, baseUrl?: string): string;
export {};