@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
34 lines (33 loc) • 1.32 kB
TypeScript
import { ControllerResponse } from '../types/common.types.js';
import { ListPagesOptions } from './atlassian.pages.types.js';
/**
* List pages from Confluence with filtering options
* @param options - Options for filtering pages
* @param options.spaceId - Filter by space ID(s)
* @param options.containerId - Alternative form of spaceId for consistency across services
* @param options.query - Filter by text in title, content or labels
* @param options.status - Filter by page status
* @param options.sort - Sort order for results
* @param options.limit - Maximum number of pages to return
* @param options.cursor - Pagination cursor for subsequent requests
* @returns Promise with formatted pages list content
* @throws Error if page listing fails
*/
declare function list(options?: ListPagesOptions & {
containerId?: string[];
}): Promise<ControllerResponse>;
/**
* Get details of a specific Confluence page
* @param args - Object containing the ID of the page to retrieve
* @param args.pageId - The ID of the page
* @returns Promise with formatted page details content
* @throws Error if page retrieval fails
*/
declare function get(args: {
pageId: string;
}): Promise<ControllerResponse>;
declare const _default: {
list: typeof list;
get: typeof get;
};
export default _default;