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

30 lines (29 loc) 1.35 kB
import { ControllerResponse } from '../types/common.types.js'; import { ListPagesToolArgsType, GetPageToolArgsType } from '../tools/atlassian.pages.types.js'; /** * List pages from Confluence with filtering options * @param options - Options for filtering pages * @param options.spaceIds - Filter by space ID(s) * @param options.spaceKeys - Filter by space key(s) - user-friendly alternative to spaceId * @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 including pagination information * @throws Error if page listing fails */ declare function list(options?: ListPagesToolArgsType): 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: GetPageToolArgsType): Promise<ControllerResponse>; declare const _default: { list: typeof list; get: typeof get; }; export default _default;