UNPKG

@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

25 lines (24 loc) 1.1 kB
/** * Specialized formatter for Confluence inline 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 inline comments for display with specialized inline formatting * * @param commentsData - Raw inline comments data with pre-converted markdown content * @param pageId - ID of the page the comments belong to * @param baseUrl - Base URL for constructing comment links * @param totalCount - Total number of inline comments found (before pagination) * @param start - Starting index for pagination * @param limit - Number of items per page * @returns Formatted string with inline comments information in markdown format */ export declare function formatInlineCommentsList(commentsData: CommentWithMarkdown[], pageId: string, baseUrl?: string, totalCount?: number, start?: number, limit?: number): string; export {};