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

18 lines (17 loc) 980 B
import { z } from 'zod'; import { SpacesResponseSchema, SpaceDetailedSchemaType } from '../services/vendor.atlassian.spaces.types.js'; import { PagesResponseSchema } from '../services/vendor.atlassian.pages.types.js'; /** * Format a list of spaces for display * @param spacesData - Raw spaces data from the API * @returns Formatted string with spaces information in markdown format */ export declare function formatSpacesList(spacesData: z.infer<typeof SpacesResponseSchema>): string; /** * Format detailed space information for display * @param spaceData - Raw space details from the API * @param homepageContent - Optional homepage content to include * @param topLevelPagesData - Optional top-level pages data to include * @returns Formatted string with space details in markdown format */ export declare function formatSpaceDetails(spaceData: SpaceDetailedSchemaType, homepageContent?: string, topLevelPagesData?: z.infer<typeof PagesResponseSchema> | null): string;