@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
43 lines (42 loc) • 1.71 kB
TypeScript
import { z } from 'zod';
import type { PageSortOrder } from '../services/vendor.atlassian.pages.types.js';
/**
* Arguments for listing Confluence pages
* Matches the controller's ListPagesOptions interface
*/
declare const ListPagesToolArgs: z.ZodObject<{
sort: z.ZodOptional<z.ZodEnum<[PageSortOrder, ...PageSortOrder[]]>>;
limit: z.ZodOptional<z.ZodNumber>;
cursor: z.ZodOptional<z.ZodString>;
spaceId: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
query: z.ZodOptional<z.ZodString>;
status: z.ZodOptional<z.ZodArray<z.ZodEnum<["current", "trashed", "deleted", "draft", "archived", "historical"]>, "many">>;
}, "strip", z.ZodTypeAny, {
status?: ("current" | "archived" | "trashed" | "deleted" | "draft" | "historical")[] | undefined;
query?: string | undefined;
sort?: PageSortOrder | undefined;
cursor?: string | undefined;
limit?: number | undefined;
spaceId?: string[] | undefined;
}, {
status?: ("current" | "archived" | "trashed" | "deleted" | "draft" | "historical")[] | undefined;
query?: string | undefined;
sort?: PageSortOrder | undefined;
cursor?: string | undefined;
limit?: number | undefined;
spaceId?: string[] | undefined;
}>;
type ListPagesToolArgsType = z.infer<typeof ListPagesToolArgs>;
/**
* Arguments for getting a specific Confluence page
* Matches the controller's get function signature
*/
declare const GetPageToolArgs: z.ZodObject<{
pageId: z.ZodString;
}, "strip", z.ZodTypeAny, {
pageId: string;
}, {
pageId: string;
}>;
type GetPageToolArgsType = z.infer<typeof GetPageToolArgs>;
export { ListPagesToolArgs, type ListPagesToolArgsType, GetPageToolArgs, type GetPageToolArgsType, };