@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
74 lines (73 loc) • 1.95 kB
TypeScript
/**
* Controller for Confluence comments
*/
import { ControllerResponse } from '../types/common.types.js';
/**
* Interface for list comments options
*/
interface ListPageCommentsOptions {
/**
* The ID of the page to get comments for
*/
pageId: string;
/**
* Maximum number of results to return
*/
limit?: number;
/**
* Starting point for pagination
*/
start?: number;
/**
* Body format (storage, view, atlas_doc_format)
*/
bodyFormat?: 'storage' | 'view' | 'atlas_doc_format';
}
/**
* Interface for list inline comments options
*/
interface ListInlineCommentsOptions {
/**
* The ID of the page to get inline comments for
*/
pageId: string;
/**
* Include resolved inline comments
*/
includeResolved?: boolean;
/**
* Sort order for inline comments
*/
sortBy?: 'created' | 'position';
/**
* Maximum number of results to return
*/
limit?: number;
/**
* Starting point for pagination
*/
start?: number;
/**
* Body format (storage, view, atlas_doc_format)
*/
bodyFormat?: 'storage' | 'view' | 'atlas_doc_format';
}
/**
* List comments for a specific Confluence page
*
* @param options - Options for listing comments
* @returns Controller response with formatted comments and pagination info
*/
declare function listPageComments(options: ListPageCommentsOptions): Promise<ControllerResponse>;
/**
* List inline comments only for a specific Confluence page
*
* @param options - Options for listing inline comments
* @returns Controller response with formatted inline comments and pagination info
*/
declare function listInlineComments(options: ListInlineCommentsOptions): Promise<ControllerResponse>;
export declare const atlassianCommentsController: {
listPageComments: typeof listPageComments;
listInlineComments: typeof listInlineComments;
};
export {};